javax.cim

Class CIMQualifierType<E>

public class CIMQualifierType<E> extends CIMValuedElement<E> implements CIMNamedElementInterface

The CIMQualifierType class represents a CIM Qualifier Type as defined by the Distributed Management Task Force (DMTF) CIM Infrastructure Specification (DSP004). A Qualifier Type supplies the definition/rules for a qualifier. A qualifier must have a qualifier type. CIMQualifierType has the following components:

Parameters: Type parameter.

See Also: CIMScope CIMFlavor CIMQualifier

Constructor Summary
CIMQualifierType(CIMObjectPath pPath, CIMDataType pType, E pValue, int pScope, int pFlavor)
Constructs a new CIM qualifier type, using the name, type of the specified CIM qualifier type.
Method Summary
intgetFlavor()
Returns the flavors of this qualifier type as a BitSet.
CIMObjectPathgetObjectPath()
Get the object path for this CIMQualifierType.
intgetScope()
Returns the scopes of this qualifier type as a bit set.

Constructor Detail

CIMQualifierType

public CIMQualifierType(CIMObjectPath pPath, CIMDataType pType, E pValue, int pScope, int pFlavor)
Constructs a new CIM qualifier type, using the name, type of the specified CIM qualifier type.

Parameters: pPath The CIMObjectPath of a CIM qualifier type. pType The CIMDataType of the qualifier type. pValue The default value or null if no default value. pScope The applicable scopes for the qualifier type. pFlavor The applicable flavors for the qualifier type.

Throws: IllegalArgumentException If the value/data type does not match.

Method Detail

getFlavor

public int getFlavor()
Returns the flavors of this qualifier type as a BitSet.

Returns: BitSet of flavors for this qualifier type.

getObjectPath

public CIMObjectPath getObjectPath()
Get the object path for this CIMQualifierType.

Returns: The CIMObjectPath that represents this qualifier type.

getScope

public int getScope()
Returns the scopes of this qualifier type as a bit set.

Returns: Bit set of CIM element scopes for which this qualifier type is applicable.

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