Packages

 

com.aspose.cad.fileformats.cad

Class CadCodeValue

    • Constructor Detail

      • CadCodeValue

        public CadCodeValue(int cadIntegralParameterType,
                            int code,
                            String value)

        Initializes a new instance of the CadCodeValue class.

        Parameters:
        cadIntegralParameterType - Type of the cad integral parameter.
        code - The code of the parameter.
        value - The value of the parameter.
      • CadCodeValue

        public CadCodeValue(int code,
                            String value)

        Initializes a new instance of the CadCodeValue class.

        Parameters:
        code - The code of the parameter.
        value - The value of the parameter.
    • Method Detail

      • getCadIntegralParameterType

        public int getCadIntegralParameterType()

        Gets the type of the cad integral parameter.

        Value: The type of the cad integral parameter.
      • getAttribute

        public int getAttribute()

        Gets the attribute.

      • getCode

        public int getCode()

        Gets or sets the code.

        Value: The code.
      • setCode

        public void setCode(int value)

        Gets or sets the code.

        Value: The code.
      • getValue

        public String getValue()

        Gets or sets the value.

        Value: The value.
      • setValue

        public void setValue(String value)

        Gets or sets the value.

        Value: The value.
      • getStringValue

        public String getStringValue()

        Gets the string value.

        Returns:
        Value as string
      • getBinaryData

        public byte[] getBinaryData()

        Gets the binary data.

        Returns:
        Byte array from hexadecimal data.
      • getBoolValue

        public boolean getBoolValue()

        Gets the boolean value.

        Returns:
        The bool.
      • getShortValue

        public short getShortValue()

        The get short value.

        Returns:
        The short.
      • getIntValue

        public int getIntValue()

        The get integer value.

        Returns:
        The int.
      • getLongValue

        public long getLongValue()

        The get long value.

        Returns:
        The long.
      • getDoubleValue

        public double getDoubleValue()

        The get double value.

        Returns:
        The double.
      • equals

        public boolean equals(CadCodeValue obj)

        Determines whether the specified CadCodeValue, is equal to this instance.

        Parameters:
        obj - The CadCodeValue to compare with this instance.
        Returns:
        true if the specified CadCodeValue is equal to this instance; otherwise, false.