Packages

 

com.aspose.cad.fileformats.cad

Class CadCodeValue

    • Constructor Detail

      • 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

      • getAttribute

        public int getAttribute()

        Gets the attribute.

      • getCode

        public int getCode()

        Gets or sets the code.

        Returns:
        The code.
      • setCode

        public void setCode(int value)

        Gets or sets the code.

        Parameters:
        value - The code.
      • getValue

        public String getValue()

        Gets or sets the value.

        Returns:
        The value.
      • setValue

        public void setValue(String value)

        Gets or sets the value.

        Parameters:
        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.