E - Type parameter.public class CIMQualifier<E> extends CIMValuedElement<E>
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 Form| Constructor and Description |
|---|
CIMQualifier(java.lang.String pName,
CIMDataType pType,
E pValue,
int pFlavor)
Constructs a CIM qualifier with the specified name, type, value, and
flavors.
|
CIMQualifier(java.lang.String pName,
CIMDataType pType,
E pValue,
int pFlavor,
boolean pIsPropagated)
Constructs a CIM qualifier with the specified name, type, value, and
flavors.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.lang.String |
toString()
Returns a
String representation of the
CIMQualifier. |
getValue, hashCodegetDataTypecompareTo, getNamepublic CIMQualifier(java.lang.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.CIMFlavorpublic CIMQualifier(java.lang.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.CIMFlavorpublic boolean equals(java.lang.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 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 CIMValuedElement<E>Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.