public class CadXdata extends Object
The Cad xdata.
Constructor and Description |
---|
CadXdata()
Initializes a new instance of the
CadXdata class. |
Modifier and Type | Method and Description |
---|---|
List<CadCodeValue> |
getDataList()
Gets or sets the data list.
|
static CadCodeValue |
getFirstValue(CadXdata xdata,
int attribute)
Get first occurrence of an attribute from XData
|
String |
getName()
Gets or sets the name.
|
void |
setDataList(List<CadCodeValue> value)
Gets or sets the data list.
|
void |
setName(String value)
Gets or sets the name.
|
public CadXdata()
Initializes a new instance of the CadXdata
class.
Initializes a new instance of the class.
public List<CadCodeValue> getDataList()
Gets or sets the data list.
public void setDataList(List<CadCodeValue> value)
Gets or sets the data list.
value
- The data list.public String getName()
Gets or sets the name.
public void setName(String value)
Gets or sets the name.
value
- The name.public static CadCodeValue getFirstValue(CadXdata xdata, int attribute)
Get first occurrence of an attribute from XData
xdata
- Xdata arrayattribute
- Attribute codeCadCodeValue
representation of a value