Package system.management
Class RelatedObjectQuery
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.management.ManagementQuery
-
- system.management.ObjectQuery
-
- system.management.WqlObjectQuery
-
- system.management.RelatedObjectQuery
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class RelatedObjectQuery extends WqlObjectQuery
The base .NET class managing System.Management.RelatedObjectQuery, System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Management.RelatedObjectQuery
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.RelatedObjectQuerystatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description RelatedObjectQuery()RelatedObjectQuery(boolean isSchemaQuery, java.lang.String sourceObject, java.lang.String relatedClass, java.lang.String relationshipClass, java.lang.String relatedQualifier, java.lang.String relationshipQualifier, java.lang.String relatedRole, java.lang.String thisRole)RelatedObjectQuery(java.lang.Object instance)Internal constructor.RelatedObjectQuery(java.lang.String queryOrSourceObject)RelatedObjectQuery(java.lang.String sourceObject, java.lang.String relatedClass)RelatedObjectQuery(java.lang.String sourceObject, java.lang.String relatedClass, java.lang.String relationshipClass, java.lang.String relatedQualifier, java.lang.String relationshipQualifier, java.lang.String relatedRole, java.lang.String thisRole, boolean classDefinitionsOnly)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelatedObjectQuerycast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoRelatedObjectQuery, 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.StringgetRelatedClass()java.lang.StringgetRelatedQualifier()java.lang.StringgetRelatedRole()java.lang.StringgetRelationshipClass()java.lang.StringgetRelationshipQualifier()java.lang.StringgetSourceObject()java.lang.StringgetThisRole()voidsetClassDefinitionsOnly(boolean ClassDefinitionsOnly)voidsetIsSchemaQuery(boolean IsSchemaQuery)voidsetJCOInstance(JCObject instance)voidsetRelatedClass(java.lang.String RelatedClass)voidsetRelatedQualifier(java.lang.String RelatedQualifier)voidsetRelatedRole(java.lang.String RelatedRole)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.RelatedObjectQuery- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RelatedObjectQuery
public RelatedObjectQuery(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
RelatedObjectQuery
public RelatedObjectQuery() 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
-
RelatedObjectQuery
public RelatedObjectQuery(boolean isSchemaQuery, java.lang.String sourceObject, java.lang.String relatedClass, java.lang.String relationshipClass, java.lang.String relatedQualifier, java.lang.String relationshipQualifier, java.lang.String relatedRole, 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
-
RelatedObjectQuery
public RelatedObjectQuery(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
-
RelatedObjectQuery
public RelatedObjectQuery(java.lang.String sourceObject, java.lang.String relatedClass) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
RelatedObjectQuery
public RelatedObjectQuery(java.lang.String sourceObject, java.lang.String relatedClass, java.lang.String relationshipClass, java.lang.String relatedQualifier, java.lang.String relationshipQualifier, java.lang.String relatedRole, 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 RelatedObjectQuery cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoRelatedObjectQuery, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
RelatedObjectQueryinstance- 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
-
getRelatedClass
public java.lang.String getRelatedClass() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRelatedClass
public void setRelatedClass(java.lang.String RelatedClass) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getRelatedQualifier
public java.lang.String getRelatedQualifier() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRelatedQualifier
public void setRelatedQualifier(java.lang.String RelatedQualifier) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException- Throws:
java.lang.ThrowableArgumentNullExceptionInvalidOperationExceptionOutOfMemoryExceptionIndexOutOfRangeException
-
getRelatedRole
public java.lang.String getRelatedRole() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setRelatedRole
public void setRelatedRole(java.lang.String RelatedRole) 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
-
-