javax.cim
public class CIMArgument<E> extends CIMValuedElement<E>
CIMArgument
represents an instance of a
CIMParameter
used for method invocation. A
CIMArgument
has a name, data type and value. A
CIMArgument
corresponds to a CIMParameter
defined
for a CIMMethod
.
Parameters:
Constructor Summary | |
---|---|
CIMArgument(String pName, CIMDataType pType, E pValue)
Constructs a CIMArgument to be used for method invocations.
|
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