javax.cim

Class CIMQualifier<E>

public class CIMQualifier<E> extends CIMValuedElement<E>

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/.

Parameters: : Type Parameter

Constructor 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
intgetFlavor()
Returns the CIM flavors for this CIM qualifier.
booleanisPropagated()
Determines if this qualifier is propagated.

Constructor Detail

CIMQualifier

public CIMQualifier(String pName, CIMDataType pType, E pValue, int pFlavor)
Constructs a CIM qualifier with the specified name, type, value, and flavors.

Parameters: 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.

CIMQualifier

public CIMQualifier(String pName, CIMDataType pType, E pValue, int pFlavor, boolean pIsPropagated)
Constructs a CIM qualifier with the specified name, type, value, and flavors.

Parameters: 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 -

Method Detail

getFlavor

public int getFlavor()
Returns the CIM flavors for this CIM qualifier.

Returns: A BitSet of CIM flavors in this CIM qualifier.

isPropagated

public boolean isPropagated()
Determines if this qualifier is propagated. If the qualifier was inherited, this value will be true. If the qualifier was applied to the element directly, this value will be false.

Returns: true if this property is propagated; false otherwise.

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.