|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.wbem.cim.CIMScope
A class to encapsulate the different CIM Scopes.
Field Summary | |
static int |
ANY
Integer value representing any CIM element |
static int |
ASSOCIATION
Integer value representing a CIM association |
static int |
CLASS
Integer value representing a CIM class |
static int |
INDICATION
Integer value representing a CIM indication |
static int |
METHOD
Integer value representing a CIM method |
static int |
PARAMETER
Integer value representing a CIM parameter |
static int |
PROPERTY
Integer value representing a CIM property |
static int |
REFERENCE
Integer value representing a CIM reference |
static int |
SCHEMA
Integer value representing a CIM schema |
Constructor Summary | |
CIMScope(int scope)
Creates a new CIM scope object with the specified scope. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if the specified object is a valid CIM scope. |
int |
getScope()
Returns an integer representing the CIM scope |
static CIMScope |
getScope(int scope)
Returns a CIM scope object with the specified CIM scope |
java.lang.String |
toMOF()
Returns a MOF representation of the CIMScope. |
java.lang.String |
toString()
Returns a String representation of the CIMScope. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int SCHEMA
public static final int CLASS
public static final int ASSOCIATION
public static final int INDICATION
public static final int PROPERTY
public static final int REFERENCE
public static final int METHOD
public static final int PARAMETER
public static final int ANY
Constructor Detail |
public CIMScope(int scope)
scope
- the CIM scope. Valid CIM scope values range from
0 to 8, inclusive. A value outside this range
returns an error message.Method Detail |
public static CIMScope getScope(int scope)
scope
- the CIM scope. Valid CIM scope values range from
0 to 8, inclusive. A value outside this range
returns an error message.public int getScope()
public boolean equals(java.lang.Object o)
o
- The object to comparepublic java.lang.String toString()
public java.lang.String toMOF()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |