|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.cim.CIMElement
public abstract class CIMElement
CIMElement represents the CIM element meta construct as defined in the CIM Infrastructure Specification. It is an abstract base class used for any CIM Element.
| Constructor Summary | |
|---|---|
CIMElement(String pName)
Creates a new CIM element with the given name. |
|
| Method Summary | |
|---|---|
int |
compareTo(Object p)
Compares this element name to the CIMElement passed in. |
boolean |
equals(Object obj)
Takes a CIM element and returns true if it is equal to this CIM element. |
String |
getName()
Returns a string representing the name of a CIM element instance. |
int |
hashCode()
Returns a hash codevalue for the CIM element. |
String |
toString()
Returns a String representation of the CIMElement. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CIMElement(String pName)
pName - The string for the name of the element.| Method Detail |
|---|
public int compareTo(Object p)
compareTo in interface Comparablep - the CIMElement to be compared.
ClassCastException - if the specified object's type prevents it from being
compared to this Object.public boolean equals(Object obj)
equals in class Objectobj - The object to be compared a CIM element.
public String getName()
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||