|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sblim.wbem.cim.CIMElement
org.sblim.wbem.cim.CIMQualifier
Field Summary |
Fields inherited from class org.sblim.wbem.cim.CIMElement |
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET |
Constructor Summary | |
CIMQualifier()
Default Ctor. |
|
CIMQualifier(java.lang.String pName)
Ctor. |
|
CIMQualifier(java.lang.String pName,
CIMQualifierType pType)
Ctor. |
Method Summary | |
void |
addFlavor(CIMFlavor pFlavor)
Adds a flavor to this qualifier |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
java.util.Vector |
getFlavor()
|
CIMValue |
getValue()
|
boolean |
hasFlavor(CIMFlavor pFlavor)
Checks if this qualifier has a given flavor set |
int |
hashCode()
|
boolean |
hasValue()
Checks if this qualifier has a value |
boolean |
isPropagated()
Checks if this qualifier is propagated |
void |
setDefaults(CIMQualifierType pQualifierType)
Sets the default value and the flavor from the given qualifier type |
void |
setPropagated(boolean pValue)
Sets the propagated value |
void |
setValue(CIMValue pValue)
Sets this qualifiers value |
java.lang.String |
toMOF()
Gets the MOF representation of this qualifier |
java.lang.String |
toString()
|
Methods inherited from class org.sblim.wbem.cim.CIMElement |
appendTab, assign, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CIMQualifier()
public CIMQualifier(java.lang.String pName)
pName
- The qualifier's namepublic CIMQualifier(java.lang.String pName, CIMQualifierType pType)
pName
- The qualifier's namepType
- The qualifier's typeMethod Detail |
public void addFlavor(CIMFlavor pFlavor)
pFlavor
- The flavorpublic java.lang.Object clone()
public boolean equals(java.lang.Object o)
equals
in class CIMElement
public int hashCode()
public java.util.Vector getFlavor()
public CIMValue getValue()
public boolean hasFlavor(CIMFlavor pFlavor)
pFlavor
- The flavor
true
if the flavor is set, false
otherwisepublic boolean hasValue()
public void setDefaults(CIMQualifierType pQualifierType)
pQualifierType
- The qualifier typepublic void setValue(CIMValue pValue)
pValue
- The valuepublic void setPropagated(boolean pValue)
pValue
- true
if this qualifier is propagated,
false
otherwisepublic boolean isPropagated()
true
if this qualifier is propagated,
false
otherwisepublic java.lang.String toMOF()
public java.lang.String toString()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
compareTo
in class CIMElement
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |