|
||||||||||
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<E>
javax.cim.CIMQualifier<E>
E
- Type parameter.public class CIMQualifier<E>
This class represents a CIM qualifier as defined by the Distributed
Management Task Force (DMTF) CIM
Infrastructure Specification (DSP004). A qualifier provides additional information about classes,
associations, 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 data type. CIM Qualifiers can only
be applied to elements that are allowed by the scope defined by the CIM
Qualifier Type.
CIMQualifierType
,
Serialized FormConstructor Summary | |
---|---|
CIMQualifier(String pName,
CIMDataType pType,
E pValue,
int pFlavor)
Constructs a CIM qualifier with the specified name, type, value, and flavors. |
|
CIMQualifier(String pName,
CIMDataType pType,
E pValue,
int pFlavor,
boolean pIsPropagated)
Constructs a CIM qualifier with the specified name, type, value, and flavors. |
Method Summary | |
---|---|
boolean |
equals(Object pObj)
Compares this CIMQualifier against the specified
CIMQualifier . |
int |
getFlavor()
Returns the CIM flavors for this CIM qualifier. |
boolean |
isPropagated()
Determines if this qualifier is propagated. |
String |
toString()
Returns a String representation of the
CIMQualifier . |
Methods inherited from class javax.cim.CIMValuedElement |
---|
getValue, hashCode |
Methods inherited from class javax.cim.CIMTypedElement |
---|
getDataType |
Methods inherited from class javax.cim.CIMElement |
---|
compareTo, getName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CIMQualifier(String pName, CIMDataType pType, E 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 overridden 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.CIMFlavor
public CIMQualifier(String pName, CIMDataType pType, E 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 overridden 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
- true
if the qualifier was propagated;
false
otherwise.CIMFlavor
Method Detail |
---|
public boolean equals(Object pObj)
CIMQualifier
against the specified
CIMQualifier
. The result is true
if and only if
the argument is not null
and is a CIMQualifier
that represents the same name, type and value as this
CIMQualifier
.
equals
in class CIMValuedElement<E>
pObj
- The object to compare.
true
if the input qualifier is equal, otherwise
false
.public int getFlavor()
BitSet
of CIM flavors in this CIM qualifier.public boolean isPropagated()
true
. If the qualifier was
applied to the element directly, this value will be false
.
true
if this property is propagated;
false
otherwise.public 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 CIMValuedElement<E>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |