Package system.management
Class RelationshipQuery
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.management.ManagementQuery
-
- system.management.ObjectQuery
-
- system.management.WqlObjectQuery
-
- system.management.RelationshipQuery
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class RelationshipQuery extends WqlObjectQuery
The base .NET class managing System.Management.RelationshipQuery, System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Management.RelationshipQuery
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Managementstatic java.lang.StringclassNameQualified class name: System.Management.RelationshipQuerystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RelationshipQuery()RelationshipQuery(boolean isSchemaQuery, java.lang.String sourceObject, java.lang.String relationshipClass, java.lang.String relationshipQualifier, java.lang.String thisRole)RelationshipQuery(java.lang.Object instance)Internal constructor.RelationshipQuery(java.lang.String queryOrSourceObject)RelationshipQuery(java.lang.String sourceObject, java.lang.String relationshipClass)RelationshipQuery(java.lang.String sourceObject, java.lang.String relationshipClass, java.lang.String relationshipQualifier, java.lang.String thisRole, boolean classDefinitionsOnly)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelationshipQuerycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRelationshipQuery, a cast assert is made to check if types are compatible.NetObjectClone()booleangetClassDefinitionsOnly()booleangetIsSchemaQuery()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typejava.lang.StringgetRelationshipClass()java.lang.StringgetRelationshipQualifier()java.lang.StringgetSourceObject()java.lang.StringgetThisRole()voidsetClassDefinitionsOnly(boolean ClassDefinitionsOnly)voidsetIsSchemaQuery(boolean IsSchemaQuery)voidsetJCOInstance(JCObject instance)voidsetRelationshipClass(java.lang.String RelationshipClass)voidsetRelationshipQualifier(java.lang.String RelationshipQualifier)voidsetSourceObject(java.lang.String SourceObject)voidsetThisRole(java.lang.String ThisRole)-
Methods inherited from class system.management.ManagementQuery
getQueryLanguage, getQueryString, setQueryLanguage, setQueryString
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Management- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Management.RelationshipQuery- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelationshipQuery
public RelationshipQuery(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
RelationshipQuery
public RelationshipQuery() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, ManagementException, NotSupportedException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionManagementExceptionNotSupportedExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
RelationshipQuery
public RelationshipQuery(boolean isSchemaQuery, java.lang.String sourceObject, java.lang.String relationshipClass, java.lang.String relationshipQualifier, java.lang.String thisRole) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, MissingManifestResourceException, NotImplementedException, EventSourceException, ArgumentOutOfRangeException, ObjectDisposedException- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotImplementedExceptionEventSourceExceptionArgumentOutOfRangeExceptionObjectDisposedException
-
RelationshipQuery
public RelationshipQuery(java.lang.String queryOrSourceObject) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, ArgumentOutOfRangeException, ObjectDisposedException, MissingManifestResourceException, NotImplementedException, ManagementException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionMissingManifestResourceExceptionNotImplementedExceptionManagementExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
RelationshipQuery
public RelationshipQuery(java.lang.String sourceObject, java.lang.String relationshipClass) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
RelationshipQuery
public RelationshipQuery(java.lang.String sourceObject, java.lang.String relationshipClass, java.lang.String relationshipQualifier, java.lang.String thisRole, boolean classDefinitionsOnly) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classWqlObjectQuery- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classWqlObjectQuery- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classWqlObjectQuery- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classWqlObjectQuery- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classWqlObjectQuery
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classWqlObjectQuery- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static RelationshipQuery cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRelationshipQuery, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
RelationshipQueryinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Clone
public NetObject Clone() throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException, ArgumentException, MissingMethodException, TargetInvocationException, CultureNotFoundException, MissingManifestResourceException, NotImplementedException, ArgumentOutOfRangeException, ObjectDisposedException, AbandonedMutexException
- Overrides:
Clonein classWqlObjectQuery- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionArgumentExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexException
-
getClassDefinitionsOnly
public boolean getClassDefinitionsOnly() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setClassDefinitionsOnly
public void setClassDefinitionsOnly(boolean ClassDefinitionsOnly) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getIsSchemaQuery
public boolean getIsSchemaQuery() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsSchemaQuery
public void setIsSchemaQuery(boolean IsSchemaQuery) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getRelationshipClass
public java.lang.String getRelationshipClass() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRelationshipClass
public void setRelationshipClass(java.lang.String RelationshipClass) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getRelationshipQualifier
public java.lang.String getRelationshipQualifier() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRelationshipQualifier
public void setRelationshipQualifier(java.lang.String RelationshipQualifier) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getSourceObject
public java.lang.String getSourceObject() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setSourceObject
public void setSourceObject(java.lang.String SourceObject) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getThisRole
public java.lang.String getThisRole() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setThisRole
public void setThisRole(java.lang.String ThisRole) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
-