|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.cim.CIMElement
javax.cim.CIMTypedElement
javax.cim.CIMValuedElement
javax.cim.CIMQualifier
public class CIMQualifier
The CIMQualifier class wraps a CIM qualifier. A qualifier
provides additional information about classes, associations, indications,
methods, parameters, properties, and/or references. A
CIMQualifier must have a CIM Qualifier Type. A qualifier and
its qualifier type must have the same name and dataType. CIM Qualifiers can
only be applied to elements that are allowed by the scope defined by the CIM
Qualifier Type. CIM Qualifiers are defined in the CIM Infrastructure
Specification. The specification is available from the DMTF (Distributed
Management Task Force) at http://dmtf.org/.
| Constructor Summary | |
|---|---|
CIMQualifier(java.lang.String pName,
CIMDataType pType,
java.lang.Object pValue,
int pFlavor)
Constructs a CIM qualifier with the specified name, type, value, and flavors. |
|
CIMQualifier(java.lang.String pName,
CIMDataType pType,
java.lang.Object pValue,
int pFlavor,
boolean pIsPropagated)
Constructs a CIM qualifier with the specified name, type, value, and flavors. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object pObj)
Compares this object against the specified object. |
int |
getFlavor()
Returns the CIM flavors for this CIM qualifier. |
boolean |
isPropagated()
Determines if this qualifier is propagated. |
java.lang.String |
toString()
Returns a String representation of the
CIMQualifier. |
| Methods inherited from class javax.cim.CIMValuedElement |
|---|
getValue |
| Methods inherited from class javax.cim.CIMTypedElement |
|---|
getDataType |
| Methods inherited from class javax.cim.CIMElement |
|---|
compareTo, getName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CIMQualifier(java.lang.String pName,
CIMDataType pType,
java.lang.Object pValue,
int pFlavor)
pName - -
The name of the qualifier.pType - -
The data type of the qualifier.pValue - -
The value of the qualifier.pFlavor - -
a list of override permissions. Flavors can be overriden from
the Qualifier Type definition to either restrict the
subclassing of a qualifier or to allow it. For the list of CIM
Flavors see the CIMFlavor class.
public CIMQualifier(java.lang.String pName,
CIMDataType pType,
java.lang.Object pValue,
int pFlavor,
boolean pIsPropagated)
pName - -
The name of the qualifier.pType - -
The data type of the qualifier.pValue - -
The value of the qualifier.pFlavor - -
a list of override permissions. Flavors can be overriden from
the Qualifier Type definition to either restrict the
subclassing of a qualifier or to allow it. For the list of CIM
Flavors see the CIMFlavor class.pIsPropagated - -| Method Detail |
|---|
public boolean equals(java.lang.Object pObj)
true if and only if the argument is not null
and is a CIMScope object that represents the same value as
this object.
equals in class CIMValuedElementpObj - -
the object to compare.
true if the input qualifier is equal, otherwise
false.Object.equals(java.lang.Object)public boolean isPropagated()
public int getFlavor()
BitSet of CIM flavors in this CIM qualifier.public java.lang.String toString()
String representation of the
CIMQualifier. This method is intended to be used only for
debugging purposes, and the format of the returned string may vary
between implementations. The returned string may be empty but may not be
null.
toString in class CIMValuedElementObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||