Class CIMParameter

All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class CIMParameter extends CIMQualifiableElement implements Cloneable, Serializable
See Also:
  • Constructor Details

    • CIMParameter

      public CIMParameter()
      Creates an object of CIMParameter.
    • CIMParameter

      public CIMParameter(String pName)
      Creates an object of CIMParameter with the specified name.
      Parameters:
      pName - The parameter's name
  • Method Details

    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getSize

      public int getSize()
      Returns the size of this object. A value of CIMDataType.SIZE_SINGLE is returned for single elements, CIMDataType.SIZE_UNLIMITED is returned for variable length arrays, and zero or a positive number is returned for a fixed length array.
      Returns:
      The size
    • getType

      public CIMDataType getType()
      Returns the CIM data type of this object
      Returns:
      The type
    • setSize

      public void setSize(int size)
      Deprecated.
      Using this method can produce inconsitency and break invariants
      Sets the size of this object
      Parameters:
      size - The size
    • setType

      public void setType(CIMDataType pType)
      Specifies the CIMDataType for this object.
      Parameters:
      pType - The type
      Throws:
      IllegalArgumentException - if the specified argument is null.
    • toMOF

      public String toMOF()
      Returns the MOF representation of this object.
      Returns:
      The MOF representation
    • toString

      public String toString()
      Overrides:
      toString in class Object