org.sblim.wbem.cim
Class CIMQualifiableElement
java.lang.Object
org.sblim.wbem.cim.CIMElement
org.sblim.wbem.cim.CIMQualifiableElement
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
- Direct Known Subclasses:
- CIMArgument, CIMMethod, CIMObject, CIMParameter, CIMProperty
public abstract class CIMQualifiableElement
- extends CIMElement
- implements java.io.Serializable
- See Also:
- Serialized Form
Method Summary |
void |
addQualifier(CIMQualifier pQualifier)
Adds the specified qualifier to this CIM Element. |
CIMQualifier |
getQualifier(java.lang.String pName)
Gets the specified qualfier, it exits on the CIM Element. |
java.util.Vector |
getQualifiers()
Gets the list of the CIMQualifiers specified for this CIMElement. |
boolean |
removeQualifier(java.lang.String pName)
Removes the specified qualifier. |
void |
setQualifiers(java.util.Vector pQualifiers)
Replaces the CIMQualifiers for this CIMElement, with the specifed
CIMQualifiers. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iQualifiers
protected java.util.Vector iQualifiers
CIMQualifiableElement
protected CIMQualifiableElement()
CIMQualifiableElement
protected CIMQualifiableElement(java.lang.String pName)
addQualifier
public void addQualifier(CIMQualifier pQualifier)
- Adds the specified qualifier to this CIM Element. If the qualifer already
exits, nothing is changed.
- Parameters:
pQualifier
- The qualifier
getQualifier
public CIMQualifier getQualifier(java.lang.String pName)
- 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
public void setQualifiers(java.util.Vector pQualifiers)
- Replaces the CIMQualifiers for this CIMElement, with the specifed
CIMQualifiers.
- Parameters:
pQualifiers
- a Vector of CIMQualifier objects.
getQualifiers
public java.util.Vector getQualifiers()
- Gets the list of the CIMQualifiers specified for this CIMElement.
- Returns:
- a Vector of CIMQualifier objects.
removeQualifier
public boolean removeQualifier(java.lang.String pName)
- Removes the specified qualifier.
- Parameters:
pName
- a String representing the CIMQualifier name.
- Returns:
- true if the qualifier was successfully removed, otherwise returns
false.
Copyright © 2005, 2006 IBM Corporation. All Rights Reserved.