|
|||||||||||
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.CIMQualifierType
Field Summary |
Fields inherited from class org.sblim.wbem.cim.CIMElement |
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET |
Constructor Summary | |
CIMQualifierType()
Default ctor. |
|
CIMQualifierType(java.lang.String pName)
Constructs a names qualifier. |
Method Summary | |
void |
addFlavor(CIMFlavor pFlavor)
Adds the specified CIMFlavor to this CIMQualifierType object |
void |
addScope(CIMScope pScope)
Adds the specified CIMScope to this CIMQualifierType object |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object o)
|
CIMValue |
getDefaultValue()
Gets the default for this CIMQualifierType. |
java.util.Vector |
getFlavor()
Returns a Vector containing all the CIMFlavors assigned to this CIMQualifierType. |
java.util.Vector |
getScope()
Returns a Vector containing all the CIMScope assigned to this CIMQualifierType. |
CIMDataType |
getType()
Returns a CIMDataType associated to this CIMQualifierType. |
boolean |
hasDefaultValue()
Determines if this CIMQualifierType has a default value associated with it. |
boolean |
hasFlavor(CIMFlavor pFlavor)
Determines if this CIMQualifierType has a CIMFlavor value associated with it. |
int |
hashCode()
|
boolean |
hasScope(CIMScope pScope)
Determines if this CIMQualifierType has a CIMScope value associated with it. |
boolean |
isArrayValue()
Determines if this CIMQualifierType's type is an array. |
void |
setDefaultValue(CIMValue pValue)
Assigns the default value for this CIMDataType. |
void |
setType(CIMDataType pType)
Set the value type of this qualifier |
java.lang.String |
toMOF()
Returns the MOF representation of this object. |
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 CIMQualifierType()
public CIMQualifierType(java.lang.String pName)
pName
- The nameMethod Detail |
public void addFlavor(CIMFlavor pFlavor)
pFlavor
- The flavor
java.lang.IllegalArgumentException
- if a null flavor is specified.public void addScope(CIMScope pScope)
pScope
- The scope
java.lang.IllegalArgumentException
- if a null scope is specified.public java.lang.Object clone()
public boolean equals(java.lang.Object o)
equals
in class CIMElement
public int hashCode()
public CIMValue getDefaultValue()
public java.util.Vector getFlavor()
public java.util.Vector getScope()
public CIMDataType getType()
public boolean hasDefaultValue()
public boolean hasFlavor(CIMFlavor pFlavor)
pFlavor
- The flavor
true
if the given flavor is part of this qualifier
typepublic boolean hasScope(CIMScope pScope)
pScope
- The scope
true
if the given scope is part of this qualifier
typepublic boolean isArrayValue()
true
if this qualifier's value is an arraypublic void setDefaultValue(CIMValue pValue)
pValue
- The default valuepublic void setType(CIMDataType pType)
pType
- The type
java.lang.IllegalArgumentException
- if current CIMDataType has an associated default value hows
data type does not match the new specified data type.public 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 |