|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.wbem.cim.CIMElement | +--com.sun.wbem.cim.CIMQualifier
Creates and instantiates a CIM qualifier, a value that provides additional information about classes, associations, indications, methods, method , parameters, triggers, instances, properties, or references. Each CIM qualifier must have a CIMQualifierType. A CIM qualifier and its CIM qualifier type must have the same name. The CIM qualifier type is a template for creating a CIM qualifier. The default value of this CIM qualifier can override the default value of its CIM qualifier type.
Constructor Summary | |
CIMQualifier()
Constructor instantiates a CIM qualifier with empty name value fields. |
|
CIMQualifier(java.lang.String CIMQualifierName)
Constructor instantiates a CIM qualifier with the specified name. |
|
CIMQualifier(java.lang.String CIMQualifierName,
CIMQualifierType cgt)
Constructor instantiates a CIM qualifier with the specified name and type. |
Method Summary | |
void |
addFlavor(CIMFlavor newFlavor)
Adds the input flavor and verify that there is not any conflict. |
java.lang.Object |
clone()
Returns a copy of this CIM qualifier. |
boolean |
equals(java.lang.Object o)
Returns true if this qualifier is equal to the input. |
java.util.Vector |
getFlavor()
Returns the CIM flavors for this CIM qualifier. |
CIMValue |
getValue()
Returns the CIM value of this qualifier |
boolean |
hasFlavor(CIMFlavor flavor)
Checks if the qualifier's flavor includes the input flavor. |
boolean |
hasValue()
Checks if the qualifier has a value set. |
void |
setDefaults(CIMQualifierType cqt)
Sets the CIM qualifier type for this qualifier to the specified type. |
void |
setValue(CIMValue value)
Sets the CIM value of this qualifier to the specified value |
java.lang.String |
toMOF()
Returns a MOF representation of the CIMQualifier. |
java.lang.String |
toString()
Returns a String representation of the CIMQualifier. |
java.lang.String |
toXml()
Returns an XML representation of this CIM qualifier. |
Methods inherited from class com.sun.wbem.cim.CIMElement |
assign,
getName,
lessThan,
setName |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public CIMQualifier()
public CIMQualifier(java.lang.String CIMQualifierName)
CIMQualifierName
- the name to assign this qualifierpublic CIMQualifier(java.lang.String CIMQualifierName, CIMQualifierType cgt)
CIMQualifierName
- The name for this qualifiercgt
- The CIM qualifier type for this
qualifierMethod Detail |
public CIMValue getValue()
public void setValue(CIMValue value)
value
- the CIM value to assign this qualifier.public void setDefaults(CIMQualifierType cqt)
cqt
- the CIM qualifier type of this qualifierpublic boolean hasFlavor(CIMFlavor flavor)
flavor
- the flavor element which is checked for flavor
inclusion.public void addFlavor(CIMFlavor newFlavor)
newFlavor
- The flavor to be addedpublic java.lang.String toString()
public java.lang.String toMOF()
public boolean hasValue()
public boolean equals(java.lang.Object o)
o
- The object to compare.public java.lang.Object clone()
public java.util.Vector getFlavor()
public java.lang.String toXml()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |