javax.cim

Class CIMValuedElement<E>

public abstract class CIMValuedElement<E> extends CIMTypedElement

CIMValuedElement is a base class used by any element that contains a name, type and value.

Parameters: Type parameter.

Constructor Summary
protected CIMValuedElement(String pName, CIMDataType pType, E pValue)
Creates a new CIM element with the given name, type and value.
Method Summary
EgetValue()
Returns the value for this CIM Element.

Constructor Detail

CIMValuedElement

protected CIMValuedElement(String pName, CIMDataType pType, E pValue)
Creates a new CIM element with the given name, type and value.

Parameters: pName The string for the name for this element. pType The data type for this element. pValue The value for this element. null is a valid value.

Method Detail

getValue

public E getValue()
Returns the value for this CIM Element.

Returns: The value of the CIM Element. null is a valid value.

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