Packages

 

com.aspose.cad.fileformats.cad.cadparameters

Class CadParameter

    • Constructor Detail

      • CadParameter

        public CadParameter(int type)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
      • CadParameter

        public CadParameter(int type,
                            int optional)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
      • CadParameter

        public CadParameter(int type,
                            int optional,
                            Object defaultValue)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
        defaultValue - The default value.
      • CadParameter

        public CadParameter(int type,
                            int optional,
                            Object defaultValue,
                            Object[] bondedObject)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        optional - The optional flag.
        defaultValue - The default value.
        bondedObject - The bonded object.
      • CadParameter

        public CadParameter(int type,
                            Object bondingObject)

        Initializes a new instance of the CadParameter class.

        Parameters:
        type - The type of the parameter.
        bondingObject - The bonding object.
      • CadParameter

        public CadParameter()

        Initializes a new instance of the CadParameter class.

    • Method Detail

      • getDefaultValue

        public Object getDefaultValue()

        Gets or sets the default value.

        Returns:
        The default value.
      • setDefaultValue

        public void setDefaultValue(Object value)

        Gets or sets the default value.

        Parameters:
        value - The default value.
      • getIntegralParameterType

        public int getIntegralParameterType()

        Gets or sets the type of the integral parameter.

        Returns:
        The type of the integral parameter.
      • setIntegralParameterType

        public void setIntegralParameterType(int value)

        Gets or sets the type of the integral parameter.

        Parameters:
        value - The type of the integral parameter.
      • getOptional

        public int getOptional()

        Gets or sets a value indicating whether this instance is optional.

        Returns:
        true if this instance is optional; otherwise, false.
      • setOptional

        public void setOptional(int value)

        Gets or sets a value indicating whether this instance is optional.

        Parameters:
        value - true if this instance is optional; otherwise, false.
      • isSet

        public boolean isSet()

        Gets or sets a value indicating whether this instance is set.

        Returns:
        true if this instance is set; otherwise, false.
      • setSet

        public void setSet(boolean value)

        Gets or sets a value indicating whether this instance is set.

        Parameters:
        value - true if this instance is set; otherwise, false.
      • getSubClassName

        public String getSubClassName()

        Gets or sets the name of the sub class.

        Returns:
        The name of the sub class.
      • setSubClassName

        public void setSubClassName(String value)

        Gets or sets the name of the sub class.

        Parameters:
        value - The name of the sub class.
      • getType

        public int getType()

        Gets the type.

        Returns:
        The type.
      • init

        public void init(int type,
                         CadCodeValue value)

        Initialize the specified type.

        Parameters:
        type - The type of the parameter.
        value - The value of the parameter.
      • init

        public void init(int type,
                         Object value)

        Initialize the specified type.

        Parameters:
        type - The type of the parameter.
        value - The value of the parameter.
      • init

        public abstract void init(CadCodeValue value)

        Initialize the specified value.

        Parameters:
        value - The value of the parameter.
      • init

        public abstract void init(Object value)

        Initialize the specified value.

        Parameters:
        value - The value of the parameter.
      • prepare

        public void prepare(int type)

        The prepare function.

        Parameters:
        type - The type of the parameter.