public class CadBinaryParameter extends CadParameter
The Cad binary parameter.
Constructor and Description |
---|
CadBinaryParameter(int type)
Initializes a new instance of the
CadBinaryParameter class. |
CadBinaryParameter(int type,
int optional)
Initializes a new instance of the
CadBinaryParameter class. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets or sets the value.
|
void |
init(CadCodeValue value)
Initialize the specified value.
|
void |
init(Object value)
Initialize the specified value.
|
void |
setData(byte[] value)
Gets or sets the value.
|
getDefaultValue, getIntegralParameterType, getOptional, getSubClassName, getType, init, init, isSet, prepare, setDefaultValue, setIntegralParameterType, setOptional, setSet, setSubClassName
public CadBinaryParameter(int type)
Initializes a new instance of the CadBinaryParameter
class.
type
- The type of the parameter.public CadBinaryParameter(int type, int optional)
Initializes a new instance of the CadBinaryParameter
class.
type
- The type of the parameter to create.optional
- The optional flag.public byte[] getData()
Gets or sets the value.
public void setData(byte[] value)
Gets or sets the value.
value
- The value of the parameter.public void init(CadCodeValue value)
Initialize the specified value.
init
in class CadParameter
value
- The value to assign.public void init(Object value)
Initialize the specified value.
init
in class CadParameter
value
- The value of the parameter.