javax.cim

Class CIMArgument<E>

public class CIMArgument<E> extends CIMValuedElement<E>

This class represents an instance of a CIMParameter used for a method invocation. A CIMArgument has a name, data type and value. A CIMArgument corresponds to a CIMParameter defined for a CIMMethod.

Parameters: Type parameter.

See Also: CIMParameter

Constructor Summary
CIMArgument(String pName, CIMDataType pType, E pValue)
Constructs a CIMArgument to be used for method invocations.

Constructor Detail

CIMArgument

public CIMArgument(String pName, CIMDataType pType, E pValue)
Constructs a CIMArgument to be used for method invocations. A CIMArgument corresponds to a CIMParameter. For each CIMParameter being populated during a method invocation a CIMArgument object must be created.

Parameters: pName Name of the CIM argument. pType CIMDataType of the argument. pValue Value of the argument.

Throws: IllegalArgumentException If the value does not match the type.

See Also: CIMParameter

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