org.sblim.wbem.cim
Class CIMScope
java.lang.Object
org.sblim.wbem.cim.CIMScope
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class CIMScope
- extends java.lang.Object
- implements java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
- Author:
- Roberto Pineiro, Chung-hao (Danny)
- See Also:
- Serialized Form
Constructor Summary |
CIMScope(int pScope)
Deprecated. use getScope(int) instead |
Method Summary |
java.lang.Object |
clone()
|
int |
compareTo(java.lang.Object o)
|
boolean |
equals(java.lang.Object obj)
|
int |
getScope()
Gets this scope's integer code |
static CIMScope |
getScope(int pScopeCode)
Returns an instance of the CIMScope given the specified argument. |
int |
hashCode()
|
java.lang.String |
toMOF()
Returns the MOF representation of this object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SCHEMA
public static final int SCHEMA
- See Also:
- Constant Field Values
CLASS
public static final int CLASS
- See Also:
- Constant Field Values
ASSOCIATION
public static final int ASSOCIATION
- See Also:
- Constant Field Values
INDICATION
public static final int INDICATION
- See Also:
- Constant Field Values
PROPERTY
public static final int PROPERTY
- See Also:
- Constant Field Values
REFERENCE
public static final int REFERENCE
- See Also:
- Constant Field Values
METHOD
public static final int METHOD
- See Also:
- Constant Field Values
PARAMETER
public static final int PARAMETER
- See Also:
- Constant Field Values
ANY
public static final int ANY
- See Also:
- Constant Field Values
SCOPES
protected static final CIMScope[] SCOPES
CIMScope
public CIMScope(int pScope)
- Deprecated. use getScope(int) instead
- Creates an object with the specified scope. Applications are encourage to
use the getScope method instead of this constructor to obtain an instance
of a CIMScope.
- Parameters:
pScope
- One of the scope constants in this class
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getScope
public int getScope()
- Gets this scope's integer code
- Returns:
- The integer code
getScope
public static CIMScope getScope(int pScopeCode)
- Returns an instance of the CIMScope given the specified argument.
- Parameters:
pScopeCode
-
- Returns:
- The corresponding static scope instance
toMOF
public java.lang.String toMOF()
- Returns the MOF representation of this object.
- Returns:
- The MOF representation
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
Copyright © 2005, 2008 IBM Corporation. All Rights Reserved.