Class CIMElement
java.lang.Object
org.sblim.wbem.cim.CIMElement
- All Implemented Interfaces:
Serializable, Comparable
- Direct Known Subclasses:
CIMQualifiableElement, CIMQualifier, CIMQualifierType
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault ctor.CIMElement
(String pName) Constructs a CIMElement with a given nameCIMElement
(CIMElement pCimElement) Constructs a CIMElement with the name from a given CIMElement -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
appendTab
(StringBuffer pBuffer, int pSpacesPerTab) assign
(CIMElement pNewElement) int
boolean
getName()
Gets the name for this CIMElement.boolean
lessThan
(CIMElement pElement) Compares this object with the specified CIMElement.void
Specifies the name for this CIMElement.protected static String
vectorToMOFString
(Vector pVector) protected static String
vectorToMOFString
(Vector pVector, boolean pLineFeed, int pSpacesPerTab) protected static String
vectorToMOFString
(Vector pVector, boolean pLineFeed, int pSpacesPerTab, int pBraketType, boolean pUseCommas)
-
Field Details
-
OPENING_BRAKET
-
CLOSING_BRAKET
-
EMPTY
- See Also:
-
iName
-
-
Constructor Details
-
CIMElement
public CIMElement()Default ctor. -
CIMElement
Constructs a CIMElement with a given name- Parameters:
pName
- The name
-
CIMElement
Constructs a CIMElement with the name from a given CIMElement- Parameters:
pCimElement
- The CIMElement
-
-
Method Details
-
getName
-
setName
Specifies the name for this CIMElement.- Parameters:
pName
- The name- Throws:
IllegalArgumentException
- if the specified name is null.
-
equals
-
lessThan
Compares this object with the specified CIMElement.- Parameters:
pElement
- The element to compare with- Returns:
- true if string comparison of this object's name is less the specified CIMElement's name .
-
assign
-
vectorToMOFString
-
vectorToMOFString
-
appendTab
-
vectorToMOFString
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-