javax.cim
E
- : Type Parameterpublic 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
.Constructor and Description |
---|
CIMArgument(String pName,
CIMDataType pType,
E pValue)
Constructs a
CIMArgument to be used for method invocations. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object pObj)
Compares this object against the specified object.
|
String |
toString()
Returns a
String representation of the
CIMElement . |
getValue
getDataType
compareTo, getName, hashCode
public CIMArgument(String pName, CIMDataType pType, E pValue) throws 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.IllegalArgumentException
- - If the value does not match the type.CIMParameter
public boolean equals(Object pObj)
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.equals
in class CIMValuedElement<E>
pObj
- - The object to compare with.true
if the objects are the same; false
otherwise.Object.equals(java.lang.Object)
public String toString()
String
representation of the
CIMElement
. This method is intended to be used only for
debugging purposes, and the format of the returned string may vary
between implementations. The returned string may be empty but may not
be null
.toString
in class CIMValuedElement<E>
String
representation of this CIM element.Object.toString()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.