|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.cim.CIMEnumeration
Field Summary |
---|
Fields inherited from interface com.tivoli.twg.cim.iCIMEnumeration |
---|
ENUM_TYPE_CLASS, ENUM_TYPE_INSTANCE, ENUM_TYPE_METHOD, ENUM_TYPE_NAMESPACE, ENUM_TYPE_PROPERTY, ENUM_TYPE_QUALIFIER |
Constructor Summary | |
---|---|
CIMEnumeration()
|
Method Summary | |
---|---|
protected void |
CallBack(iCIMEnumerationResponse Owner,
com.tivoli.twg.cim.CIMCommand cmd,
java.lang.Object[] DataStore)
|
void |
close()
Force cleanup of object instead of waiting for Java Garbage collection |
static CIMEnumeration |
createClassEnum(long MOID,
java.lang.String NameSpace,
aCIMClass Class,
boolean Deep,
iCIMEnumerationResponse Owner)
Static method implementation of the createClassEnum call. |
boolean |
createClassEnum(java.lang.String NameSpace,
aCIMClass Class,
boolean Deep,
iCIMEnumerationResponse Owner)
Create an enumeration of CIM Classes that begin within the specified name space. |
static CIMEnumeration |
createInstanceAssocEnum(long MOID,
aCIMInstance Instance,
java.lang.String AssocClass,
java.lang.String ResultClass,
java.lang.String Role,
java.lang.String ResultRole,
iCIMEnumerationResponse Owner)
Static method implementation of the createInstanceEnum call. |
boolean |
createInstanceAssocEnum(java.lang.String NameSpace,
java.lang.String Instance,
java.lang.String AssocClass,
java.lang.String ResultClass,
java.lang.String Role,
java.lang.String ResultRole,
iCIMEnumerationResponse Owner)
Create an enumeration of instances of a result of this association operation. |
boolean |
createInstanceEnum(aCIMClass Class,
boolean Deep,
iCIMEnumerationResponse Owner)
Create an enumeration of instances of a given CIM Class. |
static CIMEnumeration |
createInstanceEnum(long MOID,
aCIMClass Class,
boolean Deep,
iCIMEnumerationResponse Owner)
Static method implementation of the createInstanceEnum call. |
boolean |
createMethodEnum(aCIMClass Class,
aCIMInstance Instance,
iCIMEnumerationResponse Owner)
Create an enumeration of methods within either a Class or an Instance. |
static CIMEnumeration |
createMethodEnum(long MOID,
aCIMClass Class,
aCIMInstance Instance,
iCIMEnumerationResponse Owner)
Static method implementation of the createMethodEnum call. |
boolean |
createNameSpaceEnum(aCIMNameSpace NameSpace,
boolean Deep,
iCIMEnumerationResponse Owner)
Create an enumeration of the Namespaces within the CIMOM. |
static CIMEnumeration |
createNameSpaceEnum(long MOID,
aCIMNameSpace NameSpace,
boolean Deep,
iCIMEnumerationResponse Owner)
Static method implementation of the createNameSpaceEnum call. |
boolean |
createPropertyEnum(aCIMClass Class,
aCIMInstance Instance,
iCIMEnumerationResponse Owner)
Create an enumeration of the properties within either a Class or an Instance. |
static CIMEnumeration |
createPropertyEnum(long MOID,
aCIMClass Class,
aCIMInstance Instance,
iCIMEnumerationResponse Owner)
Static method implementation of the createInstanceEnum call. |
boolean |
createQualifierEnum(aCIMClass Class,
aCIMProperty Property,
iCIMEnumerationResponse Owner)
Create an enumeration of the Qualifiers for either a Class or a property. |
boolean |
createQualifierEnum(aCIMClass Class,
iCIMEnumerationResponse Owner)
Create an enumeration of the Qualifiers for either a Class or a property. |
static CIMEnumeration |
createQualifierEnum(long MOID,
aCIMClass Class,
aCIMProperty Property,
iCIMEnumerationResponse Owner)
Static method implementation of the createQualifierEnum call. |
static CIMEnumeration |
createQualifierEnum(long MOID,
aCIMClass Class,
iCIMEnumerationResponse Owner)
Static method implementation of the createQualifierEnum call. |
boolean |
currentElement(iCIMEnumerationResponse Owner)
This method is used to acquire a reference to the object in the enumeration that the cursor currently points to. |
protected void |
currentElement(iCIMEnumerationResponse Owner,
int Skip,
boolean PreInc)
|
int |
currentPosition()
This method will return the current zero based position of the cursor. |
boolean |
endEnum()
This method is used to terminate the current enumeration. |
int |
enumSize()
This method returns the total number of elements contained in this enumeration. |
protected void |
finalize()
|
long |
GetMoid()
|
boolean |
hasMoreElements()
This method is used to determine if there are more elements remaining. |
boolean |
nextElement(iCIMEnumerationResponse Owner)
This method is used to move the cursor ahead by the specified 'Count' elements. |
boolean |
reset(iCIMEnumerationResponse Owner)
This method is used to reset a given enumeration cursor to the beginning. |
void |
SetMoid(long MOID)
|
boolean |
skip(int Skip,
iCIMEnumerationResponse Owner)
This method is used to move the cursor ahead by the specified 'Count' elements. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CIMEnumeration()
Method Detail |
public void close()
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
public static CIMEnumeration createClassEnum(long MOID, java.lang.String NameSpace, aCIMClass Class, boolean Deep, iCIMEnumerationResponse Owner)
See createClassEnum() for details on parameters
public static CIMEnumeration createInstanceEnum(long MOID, aCIMClass Class, boolean Deep, iCIMEnumerationResponse Owner)
See createInstanceEnum() for details on parameters
public static CIMEnumeration createInstanceAssocEnum(long MOID, aCIMInstance Instance, java.lang.String AssocClass, java.lang.String ResultClass, java.lang.String Role, java.lang.String ResultRole, iCIMEnumerationResponse Owner)
See createInstanceAssocEnum() for details on parameters
public static CIMEnumeration createMethodEnum(long MOID, aCIMClass Class, aCIMInstance Instance, iCIMEnumerationResponse Owner)
See createMethodEnum() for details on parameters
public static CIMEnumeration createPropertyEnum(long MOID, aCIMClass Class, aCIMInstance Instance, iCIMEnumerationResponse Owner)
See createInstanceEnum() for details on parameters
public static CIMEnumeration createNameSpaceEnum(long MOID, aCIMNameSpace NameSpace, boolean Deep, iCIMEnumerationResponse Owner)
See createNameSpaceEnum() for details on parameters
public static CIMEnumeration createQualifierEnum(long MOID, aCIMClass Class, iCIMEnumerationResponse Owner)
See createQualifierEnum() for details on parameters
public static CIMEnumeration createQualifierEnum(long MOID, aCIMClass Class, aCIMProperty Property, iCIMEnumerationResponse Owner)
See createQualifierEnum() for details on parameters
public void SetMoid(long MOID)
public long GetMoid()
public int enumSize()
enumSize
in interface iCIMEnumeration
NOTE: this method does NOT have an asyncronous response.
public int currentPosition()
currentPosition
in interface iCIMEnumeration
NOTE: this method does NOT have an asyncronous response.
public boolean currentElement(iCIMEnumerationResponse Owner)
currentElement
in interface iCIMEnumeration
aCIMClass
,
aCIMInstance
,
aCIMMethod
,
aCIMProperty
,
aCIMError
protected void currentElement(iCIMEnumerationResponse Owner, int Skip, boolean PreInc)
public boolean hasMoreElements()
hasMoreElements
in interface iCIMEnumeration
NOTE: this method does NOT have an asyncronous response.
NOTE: It is important to keep in mind that any of the methods used to iterate through this enumeration such as nextElement() and skip() complete asynchronously. The cursor used to determine if there are more elements to iterate through, is NOT updated until one of those operations completes, that is the callback has been executed.
public boolean endEnum()
endEnum
in interface iCIMEnumeration
NOTE: this method does NOT have an asyncronous response.
public boolean reset(iCIMEnumerationResponse Owner)
reset
in interface iCIMEnumeration
aCIMClass
,
aCIMInstance
,
aCIMMethod
,
aCIMProperty
,
aCIMError
public boolean nextElement(iCIMEnumerationResponse Owner)
nextElement
in interface iCIMEnumeration
aCIMClass
,
aCIMInstance
,
aCIMMethod
,
aCIMProperty
,
aCIMError
public boolean skip(int Skip, iCIMEnumerationResponse Owner)
skip
in interface iCIMEnumeration
aCIMClass
,
aCIMInstance
,
aCIMMethod
,
aCIMProperty
,
aCIMError
protected void CallBack(iCIMEnumerationResponse Owner, com.tivoli.twg.cim.CIMCommand cmd, java.lang.Object[] DataStore)
public boolean createClassEnum(java.lang.String NameSpace, aCIMClass Class, boolean Deep, iCIMEnumerationResponse Owner)
createClassEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createNameSpaceEnum(aCIMNameSpace NameSpace, boolean Deep, iCIMEnumerationResponse Owner)
createNameSpaceEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createInstanceEnum(aCIMClass Class, boolean Deep, iCIMEnumerationResponse Owner)
createInstanceEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createInstanceAssocEnum(java.lang.String NameSpace, java.lang.String Instance, java.lang.String AssocClass, java.lang.String ResultClass, java.lang.String Role, java.lang.String ResultRole, iCIMEnumerationResponse Owner)
createInstanceAssocEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createPropertyEnum(aCIMClass Class, aCIMInstance Instance, iCIMEnumerationResponse Owner)
createPropertyEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createMethodEnum(aCIMClass Class, aCIMInstance Instance, iCIMEnumerationResponse Owner)
createMethodEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createQualifierEnum(aCIMClass Class, iCIMEnumerationResponse Owner)
createQualifierEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
public boolean createQualifierEnum(aCIMClass Class, aCIMProperty Property, iCIMEnumerationResponse Owner)
createQualifierEnum
in interface iCIMEnumeration
NOTE: The user can expect to be able to use this enumeration once a response is received at the Owner.enumReady() interface method.
aCIMError
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |