|
||||||||||
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.CIMQualifierType<E>
E
- : Type Parameterpublic class CIMQualifierType<E>
The CIMQualifierType
class represents a CIM Qualifier Type as an
object. A Qualifier Type supplies a type for a qualifier. A qualifier must
have a qualifier type. An Object of type CIMQualifierType
contains the following:
Name
- The name of the qualifier type.Data Type
- The data type of the qualifier type.Value
- The default value of the qualifier type (can be
null
/uninitialized)Scopes
- The scopes applicable to this qualifier type. In
other words what CIM Elements can this qualifiers based on this type be
applied to.Flavors
- The flavors applicable to this qualifier type.
Flavors describe the propagation and override rules for a qualifier. CIM
Qualifier Types are defined in the CIM Infrastructure Specification. The
specification is available from the DMTF (Distributed Management Task Force)
at http://dmtf.org/
.
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 | |
---|---|
boolean |
equals(java.lang.Object pObj)
Compares this object against the specified object. |
int |
getFlavor()
Returns the flavors of this qualifier type as a BitSet . |
CIMObjectPath |
getObjectPath()
Retrieve the ObjectPath that represents the name for this element. |
int |
getScope()
Returns the scopes of this qualifier type as a bit set. |
java.lang.String |
toString()
Returns a String representation of the
CIMQualifierType This method is intended to be used only for
debugging purposes, and the format of the returned string may vary
between implementations. |
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 CIMQualifierType(CIMObjectPath pPath, CIMDataType pType, E pValue, int pScope, int pFlavor) throws java.lang.IllegalArgumentException
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.
java.lang.IllegalArgumentException
- - If the value/data type does not matchMethod Detail |
---|
public boolean equals(java.lang.Object pObj)
true
if and only if the argument is not null
and is a CIMQualifierType
object that represents the same
value as this object.
equals
in class CIMValuedElement<E>
pObj
- - The object to compare.
true
if the specified object it is the same as this
CIMQualifierType
. Otherwise, false
.Object.equals(java.lang.Object)
public int getFlavor()
BitSet
.
BitSet
of flavors for this qualifier type.public CIMObjectPath getObjectPath()
CIMNamedElementInterface
getObjectPath
in interface CIMNamedElementInterface
CIMNamedElementInterface.getObjectPath()
public int getScope()
public java.lang.String toString()
String
representation of the
CIMQualifierType
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>
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |