|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.wbem.cim.CIMElement
Base class for managed system elements. Creates and instantiates a CIM element.
Constructor Summary | |
CIMElement()
Instantiates a new CIM element instance and initializes its properties (identifier, name, and null status). |
|
CIMElement(CIMElement element)
Takes an existing CIM element and uses its name and identifier to instantiate a new CIM element instance. |
|
CIMElement(java.lang.String elementName)
Takes a string representing the name of an existing CIM element and uses its name and identifier to create this CIM element. |
Method Summary | |
CIMElement |
assign(CIMElement rhs)
Takes a CIM element and returns a CIM element instance with the name, identifier, and status assigned. |
boolean |
equals(java.lang.Object rhs)
Takes a CIM element and returns true if it is equal to this CIM element. |
java.lang.String |
getName()
Returns a string representing the name of a CIM element instance. |
boolean |
lessThan(CIMElement rhs)
Compares the element identifier of this CIM element with the element of the input identifier. |
void |
setName(java.lang.String name)
Sets the name of a CIM element instance and uses it to set the name and identifier of a CIM element instance. |
java.lang.String |
toString()
Returns a String representation of the CIMElement This method is intended to be used only for debugging purposes, and the format of the returned string may vary between implementations. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public CIMElement()
public CIMElement(CIMElement element)
element
- Existing CIM element.public CIMElement(java.lang.String elementName)
elementName
- The string for the name of an existing CIM
element.Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The string name of a CIM element is also used
to create the CIM element identifier.public java.lang.String toString()
public boolean equals(java.lang.Object rhs)
rhs
- The object to be determined a CIM element.public CIMElement assign(CIMElement rhs)
rhs
- The CIM element used to assign properties
(name and identifier) this CIM element.public boolean lessThan(CIMElement rhs)
rhs
- The CIM element whose identifier is to be checked.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |