javax.cim
public class CIMParameter extends CIMTypedElement implements CIMQualifiedElementInterface, Serializable
CIMParameter
class wraps a CIM paramter that is used to
define an input, output or input/output parameter to a CIM method. A
CIMParameter
object consists of a name, data type and a list
of qualifiers. NOTE: Parameters do not have values - so you can not set a
default value. CIM Parameters are defined in the CIM Infrastructure
Specification. The specification is available from the DMTF (Distributed
Management Task Force) at http://dmtf.org/.
See Also: CIMMethod
Constructor Summary | |
---|---|
CIMParameter(String pName, CIMDataType pType, CIMQualifier[] pQualifiers)
Constructs a CIMParameter object using the specified name,
data type and qualifiers. |
Method Summary | |
---|---|
boolean | equals(Object pObj) |
CIMParameter | filter(boolean pIncludeQualifiers, boolean pLocalOnly)
Returns a CIMParameter filtered as specified.
|
CIMQualifier | getQualifier(int pIndex) |
CIMQualifier | getQualifier(String pName) |
int | getQualifierCount() |
CIMQualifier[] | getQualifiers() |
Object | getQualifierValue(String pName) |
boolean | hasQualifier(String pName) |
boolean | hasQualifierValue(String pName, Object pValue) |
String | toString()
Returns a String representation of the
CIMParameter . |
CIMParameter
object using the specified name,
data type and qualifiers. Takes a string for the name of an existing CIM
parameter and creates a new instance of a CIM parameter, using the name
and identifier of the existing CIM parameter.
Parameters: pName - name of this parameter pType - data type of this parameter pQualifiers - qualifiers for this parameter
See Also: CIMTypedElement
Parameters: pIncludeQualifiers If true all qualifiers are returned; otherwise no qualifiers. pLocalOnly If true only the qualifiers that were not propagated will be included.
Returns: A filtered CIMParameter.
See Also: CIMQualifiedElementInterface
See Also: CIMQualifiedElementInterface
See Also: getQualifierCount
See Also: getQualifiers
See Also: CIMQualifiedElementInterface
See Also: CIMQualifiedElementInterface
See Also: CIMQualifiedElementInterface
String
representation of the
CIMParameter
. 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
.
Returns: string representation of this parameter