CadXdata

The Cad xdata.

Constructors

ConstructorDescription
CadXdata()Initializes a new instance of the CadXdata class. Initializes a new instance of the class.

Methods

MethodDescription
getDataList()Gets or sets the data list.
setDataList(List value)Gets or sets the data list.
getName()Gets or sets the name.
setName(String value)Gets or sets the name.
getFirstValue(CadXdata xdata, int attribute)Get first occurrence of an attribute from XData

CadXdata()

public CadXdata()

Initializes a new instance of the CadXdata class. Initializes a new instance of the class.

getDataList()

public List<CadCodeValue> getDataList()

Gets or sets the data list.

Returns: List - The data list.

setDataList(List value)

public void setDataList(List<CadCodeValue> value)

Gets or sets the data list.

Parameters:

ParameterTypeDescription
valueListThe data list.

getName()

public String getName()

Gets or sets the name.

Returns: String - The name.

setName(String value)

public void setName(String value)

Gets or sets the name.

Parameters:

ParameterTypeDescription
valueStringThe name.

getFirstValue(CadXdata xdata, int attribute)

public static CadCodeValue getFirstValue(CadXdata xdata, int attribute)

Get first occurrence of an attribute from XData

Parameters:

ParameterTypeDescription
xdataCadXdataXdata array
attributeintAttribute code

Returns: CadCodeValue - CadCodeValue representation of a value