Class CIMQualifiableElement
java.lang.Object
org.sblim.wbem.cim.CIMElement
org.sblim.wbem.cim.CIMQualifiableElement
- All Implemented Interfaces:
Serializable, Comparable
- Direct Known Subclasses:
CIMArgument, CIMMethod, CIMObject, CIMParameter, CIMProperty
- See Also:
-
Field Summary
FieldsFields inherited from class CIMElement
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addQualifier
(CIMQualifier pQualifier) Adds the specified qualifier to this CIM Element.getQualifier
(String pName) Gets the specified qualfier, it exits on the CIM Element.Gets the list of the CIMQualifiers specified for this CIMElement.boolean
removeQualifier
(String pName) Removes the specified qualifier.void
setQualifiers
(Vector pQualifiers) Replaces the CIMQualifiers for this CIMElement, with the specifed CIMQualifiers.Methods inherited from class CIMElement
appendTab, assign, compareTo, equals, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString
-
Field Details
-
iQualifiers
-
-
Constructor Details
-
CIMQualifiableElement
protected CIMQualifiableElement() -
CIMQualifiableElement
-
-
Method Details
-
addQualifier
Adds the specified qualifier to this CIM Element. If the qualifer already exits, nothing is changed.- Parameters:
pQualifier
- The qualifier
-
getQualifier
Gets the specified qualfier, it exits on the CIM Element.- Parameters:
pName
- The name of the qualifier.- Returns:
- null if the qualifier does not exits, otherwise returns the CIMQualifier.
-
setQualifiers
Replaces the CIMQualifiers for this CIMElement, with the specifed CIMQualifiers.- Parameters:
pQualifiers
- a Vector of CIMQualifier objects.
-
getQualifiers
Gets the list of the CIMQualifiers specified for this CIMElement.- Returns:
- a Vector of CIMQualifier objects.
-
removeQualifier
Removes the specified qualifier.- Parameters:
pName
- a String representing the CIMQualifier name.- Returns:
- true if the qualifier was successfully removed, otherwise returns false.
-