public class CIMFlavor
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
static int |
DISABLEOVERRIDE |
static int |
ENABLEOVERRIDE |
static int |
RESTRICTED |
static int |
TOSUBCLASS |
static int |
TRANSLATE |
Constructor and Description |
---|
CIMFlavor(int pFlavor)
Construct an object CIMFlavor given the flavor type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object obj) |
int |
getFlavor()
Gets this object flavor type.
|
static CIMFlavor |
getFlavor(int flavor)
Gets an object of the specified CIMFlavor.
|
int |
hashCode() |
java.lang.String |
toMOF()
Returns the MOF representation of this object.
|
java.lang.String |
toString() |
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
public CIMFlavor(int pFlavor)
pFlavor
- public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getFlavor()
public static CIMFlavor getFlavor(int flavor)
flavor
- A flavor constant from this classpublic java.lang.String toMOF()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Copyright © 2005, 2011 IBM Corporation. All Rights Reserved.