public class CadCodeValue extends Object
Code Value class
Constructor and Description |
---|
CadCodeValue(int code,
String value)
Initializes a new instance of the
CadCodeValue class. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(CadCodeValue obj)
Determines whether the specified
CadCodeValue , is equal to this instance. |
int |
getAttribute()
Gets the attribute.
|
byte[] |
getBinaryData()
Gets the binary data.
|
boolean |
getBoolValue()
Gets the boolean value.
|
int |
getCode()
Gets or sets the code.
|
double |
getDoubleValue()
The get double value.
|
int |
getIntValue()
The get integer value.
|
long |
getLongValue()
The get long value.
|
short |
getShortValue()
The get short value.
|
String |
getStringValue()
Gets the string value.
|
String |
getValue()
Gets or sets the value.
|
void |
setCode(int value)
Gets or sets the code.
|
void |
setValue(String value)
Gets or sets the value.
|
public CadCodeValue(int code, String value)
Initializes a new instance of the CadCodeValue
class.
code
- The code of the parameter.value
- The value of the parameter.public int getAttribute()
Gets the attribute.
public int getCode()
Gets or sets the code.
public void setCode(int value)
Gets or sets the code.
value
- The code.public String getValue()
Gets or sets the value.
public void setValue(String value)
Gets or sets the value.
value
- The value.public String getStringValue()
Gets the string value.
public byte[] getBinaryData()
Gets the binary data.
public boolean getBoolValue()
Gets the boolean value.
bool
.public short getShortValue()
The get short value.
short
.public int getIntValue()
The get integer value.
int
.public long getLongValue()
The get long value.
long
.public double getDoubleValue()
The get double value.
double
.public boolean equals(CadCodeValue obj)
Determines whether the specified CadCodeValue
, is equal to this instance.
obj
- The CadCodeValue
to compare with this instance.true
if the specified CadCodeValue
is equal to this instance; otherwise, false
.