public class CIMScope
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Comparable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
ANY |
static int |
ASSOCIATION |
static int |
CLASS |
static int |
INDICATION |
static int |
METHOD |
static int |
PARAMETER |
static int |
PROPERTY |
static int |
REFERENCE |
static int |
SCHEMA |
protected static CIMScope[] |
SCOPES |
Constructor and Description |
---|
CIMScope(int pScope)
Deprecated.
use getScope(int) instead
|
Modifier and Type | Method and Description |
---|---|
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() |
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
protected static final CIMScope[] SCOPES
public CIMScope(int pScope)
pScope
- One of the scope constants in this classpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getScope()
public static CIMScope getScope(int pScopeCode)
pScopeCode
- public 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.