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.String
assemblyFullName
Fully assembly qualified name: System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Managementstatic java.lang.String
className
Qualified class name: System.Management.RelationshipQuerystatic JCType
classType
The 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 RelationshipQuery
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoRelationshipQuery
, a cast assert is made to check if types are compatible.NetObject
Clone()
boolean
getClassDefinitionsOnly()
boolean
getIsSchemaQuery()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getRelationshipClass()
java.lang.String
getRelationshipQualifier()
java.lang.String
getSourceObject()
java.lang.String
getThisRole()
void
setClassDefinitionsOnly(boolean ClassDefinitionsOnly)
void
setIsSchemaQuery(boolean IsSchemaQuery)
void
setJCOInstance(JCObject instance)
void
setRelationshipClass(java.lang.String RelationshipClass)
void
setRelationshipQualifier(java.lang.String RelationshipQualifier)
void
setSourceObject(java.lang.String SourceObject)
void
setThisRole(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.Throwable
Internal 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.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
CultureNotFoundException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
ManagementException
NotSupportedException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
TypeLoadException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
MissingManifestResourceException
NotImplementedException
EventSourceException
ArgumentOutOfRangeException
ObjectDisposedException
-
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.Throwable
ArgumentNullException
ArgumentException
TypeLoadException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotSupportedException
CultureNotFoundException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
ArgumentOutOfRangeException
ObjectDisposedException
MissingManifestResourceException
NotImplementedException
ManagementException
OutOfMemoryException
IndexOutOfRangeException
-
RelationshipQuery
public RelationshipQuery(java.lang.String sourceObject, java.lang.String relationshipClass) throws java.lang.Throwable, ArgumentNullException, InvalidOperationException, OutOfMemoryException, IndexOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classWqlObjectQuery
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classWqlObjectQuery
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classWqlObjectQuery
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classWqlObjectQuery
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classWqlObjectQuery
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classWqlObjectQuery
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static RelationshipQuery cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoRelationshipQuery
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
RelationshipQuery
instance- 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:
Clone
in classWqlObjectQuery
- Throws:
java.lang.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
ArgumentException
MissingMethodException
TargetInvocationException
CultureNotFoundException
MissingManifestResourceException
NotImplementedException
ArgumentOutOfRangeException
ObjectDisposedException
AbandonedMutexException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
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.Throwable
ArgumentNullException
InvalidOperationException
OutOfMemoryException
IndexOutOfRangeException
-
-