|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.wbem.cim.CIMFlavor
A class to encapsulate the different CIM qualifier flavors, which specify overriding and inheritance rules. These rules specify how qualifiers are transmitted from classes to derived classes, or from classes to instances.
Field Summary | |
static int |
DISABLEOVERRIDE
this qualifier cannot be overriden |
static int |
ENABLEOVERRIDE
this qualifier is overridable |
static int |
RESTRICTED
this qualifier applies only to the class in which it is declared |
static int |
TOSUBCLASS
this qualifier is inherited by any subclass |
static int |
TRANSLATE
this qualifier can be specified in multiple locales (language and country combination). |
Constructor Summary | |
CIMFlavor(int flavor)
Creates a new CIMFlavor object with the specified flavor |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this CIMFlavor to the specified object. |
int |
getFlavor()
Returns the qualifier flavor |
static CIMFlavor |
getFlavor(int flavor)
Returns a CIMFlavor object with the specified predefined flavor. |
java.lang.String |
toMOF()
Returns a MOF representation of the CIMFlavor. |
java.lang.String |
toString()
Returns a String representation of the CIMFlavor. |
java.lang.String |
toXml()
Returns an XML representation of this CIM flavor. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int ENABLEOVERRIDE
public static final int DISABLEOVERRIDE
public static final int RESTRICTED
public static final int TOSUBCLASS
public static final int TRANSLATE
Constructor Detail |
public CIMFlavor(int flavor)
flavor
- the flavor. Must be one of the predefined
flavor values (0 through 4). A value outside
this range returns an error message.Method Detail |
public static CIMFlavor getFlavor(int flavor)
flavor
- the flavor. Must be one of the predefined
flavor values (0 through 4). A value outside
this range returns an error message.public int getFlavor()
public boolean equals(java.lang.Object obj)
obj
- the object to compare with.public java.lang.String toString()
public java.lang.String toMOF()
public java.lang.String toXml()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |