E
- Type parameter.public class CIMArgument<E> extends CIMValuedElement<E>
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
.CIMParameter
,
Serialized FormConstructor | Description |
---|---|
CIMArgument(java.lang.String pName,
CIMDataType pType,
E pValue) |
Constructs a
CIMArgument to be used for method invocations. |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object pObj) |
Compares this object against the specified object.
|
compareTo, getName
getDataType
getValue, hashCode, toString
public CIMArgument(java.lang.String pName, CIMDataType pType, E pValue) throws java.lang.IllegalArgumentException
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.pName
- Name of the CIM argument.pType
- CIMDataType
of the argument.pValue
- Value of the argument.java.lang.IllegalArgumentException
- If the value does not match the type.CIMParameter
public boolean equals(java.lang.Object pObj)
true
if and only if the argument is not null
and is a CIMArgument
that represents the same name, type and
value as this CIMArgument
.equals
in class CIMValuedElement<E>
pObj
- The object to compare with.true
if the objects are the same; false
otherwise.Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.