javax.cim

Class CIMTypedElement

public abstract class CIMTypedElement extends CIMElement

Class CIMTypedElement is the base class of all typed CIM element.
Constructor Summary
CIMTypedElement(String pName, CIMDataType pType)
Constructor.
Method Summary
booleanequals(Object pObj)
Compares this object against the specified object.
CIMDataTypegetDataType()
Returns the CIMDataType for this CIM Element.
StringtoString()
Returns the String representation of this CIMTypedElement FIXME: format?

Constructor Detail

CIMTypedElement

public CIMTypedElement(String pName, CIMDataType pType)
Constructor.

Parameters: pName - name of the element pType - type of the element

Method Detail

equals

public boolean equals(Object pObj)
Compares this object against the specified object. The result is true if and only if the argument is not null and is a CIMValuedObject that represents the same name, type and value as this object.

Parameters: pObj - The object to compare with.

Returns: true if the objects are the same; false otherwise.

See Also: java.lang.Object#equals(java.lang.Object)

getDataType

public CIMDataType getDataType()
Returns the CIMDataType for this CIM Element.

Returns: CIMDataType of this CIM element.

toString

public String toString()
Returns the String representation of this CIMTypedElement FIXME: format?

See Also: toString

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.