org.sblim.wbem.cim
Class CIMQualifiableElement
- Comparable, Serializable
public abstract class CIMQualifiableElement
implements Serializable
CIMQualifiableElement.java
(C) Copyright IBM Corp. 2005, 2009
THIS FILE IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC LICENSE
("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE
CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT.
You can obtain a current copy of the Eclipse Public License from
http://www.opensource.org/licenses/eclipse-1.0.php
void | addQualifier(CIMQualifier pQualifier) - Adds the specified qualifier to this CIM Element.
|
CIMQualifier | getQualifier(String pName) - Gets the specified qualfier, it exits on the CIM Element.
|
Vector | getQualifiers() - 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.
|
iQualifiers
protected Vector iQualifiers
CIMQualifiableElement
protected CIMQualifiableElement()
Default ctor.
CIMQualifiableElement
protected CIMQualifiableElement(String pName)
Constructs a CIMElement with a given name
addQualifier
public void addQualifier(CIMQualifier pQualifier)
Adds the specified qualifier to this CIM Element. If the qualifer already
exits, nothing is changed.
pQualifier
- The qualifier
getQualifier
public CIMQualifier getQualifier(String pName)
Gets the specified qualfier, it exits on the CIM Element.
pName
- The name of the qualifier.
- null if the qualifier does not exits, otherwise returns the
CIMQualifier.
getQualifiers
public Vector getQualifiers()
Gets the list of the CIMQualifiers specified for this CIMElement.
- a Vector of CIMQualifier objects.
removeQualifier
public boolean removeQualifier(String pName)
Removes the specified qualifier.
pName
- a String representing the CIMQualifier name.
- true if the qualifier was successfully removed, otherwise returns
false.
setQualifiers
public void setQualifiers(Vector pQualifiers)
Replaces the CIMQualifiers for this CIMElement, with the specifed
CIMQualifiers.
pQualifiers
- a Vector of CIMQualifier objects.
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.