---
title: "CadDataTable"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.cad.cadobjects.datatable/caddatatable/"
product: "Aspose.CAD for Java"
description: "Class describing DATATABLE object."
---


**Inheritance:** java.lang.Object, CadBaseObject

Class describing DATATABLE object.

## Constructors

| Constructor | Description |
| --- | --- |
| [CadDataTable()](#CadDataTable) | Initializes a new instance of the CadDataTable class. |

## Methods

| Method | Description |
| --- | --- |
| [getDataTableColumns()](#getDataTableColumns) | Gets or sets the data table columns. |
| [setDataTableColumns(List<CadDataTableColumn> value)](#setDataTableColumns-java.util.List) | Gets or sets the data table columns. |
| [getVersion()](#getVersion) | Gets or sets the version. |
| [setVersion(short value)](#setVersion-short) | Gets or sets the version. |
| [getColumnsNumber()](#getColumnsNumber) | Gets or sets the columns number. |
| [setColumnsNumber(int value)](#setColumnsNumber-int) | Gets or sets the columns number. |
| [getValidRowsNumber()](#getValidRowsNumber) | Gets or sets the valid rows number. |
| [setValidRowsNumber(int value)](#setValidRowsNumber-int) | Gets or sets the valid rows number. |
| [getTableName()](#getTableName) | Gets or sets the name of the table. |
| [setTableName(String value)](#setTableName-java.lang.String) | Gets or sets the name of the table. |
| [getSoftPointerIdsHandleToObjectValues()](#getSoftPointerIdsHandleToObjectValues) | Gets or sets the soft pointer ids handle to object values. |
| [setSoftPointerIdsHandleToObjectValues(List<String> value)](#setSoftPointerIdsHandleToObjectValues-java.util.List) | Gets or sets the soft pointer ids handle to object values. |
| [getHardPointerOwnerships()](#getHardPointerOwnerships) | Gets or sets the hard pointer ownerships. |
| [setHardPointerOwnerships(List<String> value)](#setHardPointerOwnerships-java.util.List) | Gets or sets the hard pointer ownerships. |
| [getSoftPointerOwnserships()](#getSoftPointerOwnserships) | Gets or sets the soft pointer ownserships. |
| [setSoftPointerOwnserships(List<String> value)](#setSoftPointerOwnserships-java.util.List) | Gets or sets the soft pointer ownserships. |
| [getHardPointerIds()](#getHardPointerIds) | Gets or sets the hard pointer ids. |
| [setHardPointerIds(List<String> value)](#setHardPointerIds-java.util.List) | Gets or sets the hard pointer ids. |
| [getSoftPointerIdsHandle()](#getSoftPointerIdsHandle) | Gets or sets the soft pointer ids handle. |
| [setSoftPointerIdsHandle(List<String> value)](#setSoftPointerIdsHandle-java.util.List) | Gets or sets the soft pointer ids handle. |

### CadDataTable() {#CadDataTable}
```java
public CadDataTable()
```

Initializes a new instance of the CadDataTable class.

### getDataTableColumns() {#getDataTableColumns}
```java
public final List<CadDataTableColumn> getDataTableColumns()
```

Gets or sets the data table columns.

**Returns:** List<CadDataTableColumn> - The data table columns.

### setDataTableColumns(List<CadDataTableColumn> value) {#setDataTableColumns-java.util.List}
```java
public final void setDataTableColumns(List<CadDataTableColumn> value)
```

Gets or sets the data table columns.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | List<CadDataTableColumn> | The data table columns. |

### getVersion() {#getVersion}
```java
public final short getVersion()
```

Gets or sets the version.

**Returns:** short - The version.

### setVersion(short value) {#setVersion-short}
```java
public final void setVersion(short value)
```

Gets or sets the version.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | short | The version. |

### getColumnsNumber() {#getColumnsNumber}
```java
public final int getColumnsNumber()
```

Gets or sets the columns number.

**Returns:** int - The columns number.

### setColumnsNumber(int value) {#setColumnsNumber-int}
```java
public final void setColumnsNumber(int value)
```

Gets or sets the columns number.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The columns number. |

### getValidRowsNumber() {#getValidRowsNumber}
```java
public final int getValidRowsNumber()
```

Gets or sets the valid rows number.

**Returns:** int - The valid rows number.

### setValidRowsNumber(int value) {#setValidRowsNumber-int}
```java
public final void setValidRowsNumber(int value)
```

Gets or sets the valid rows number.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | int | The valid rows number. |

### getTableName() {#getTableName}
```java
public final String getTableName()
```

Gets or sets the name of the table.

**Returns:** String - The name of the table.

### setTableName(String value) {#setTableName-java.lang.String}
```java
public final void setTableName(String value)
```

Gets or sets the name of the table.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | String | The name of the table. |

### getSoftPointerIdsHandleToObjectValues() {#getSoftPointerIdsHandleToObjectValues}
```java
public final List<String> getSoftPointerIdsHandleToObjectValues()
```

Gets or sets the soft pointer ids handle to object values.

**Returns:** List<String> - The soft pointer ids handle to object values.

### setSoftPointerIdsHandleToObjectValues(List<String> value) {#setSoftPointerIdsHandleToObjectValues-java.util.List}
```java
public final void setSoftPointerIdsHandleToObjectValues(List<String> value)
```

Gets or sets the soft pointer ids handle to object values.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | List<String> | The soft pointer ids handle to object values. |

### getHardPointerOwnerships() {#getHardPointerOwnerships}
```java
public final List<String> getHardPointerOwnerships()
```

Gets or sets the hard pointer ownerships.

**Returns:** List<String> - The hard pointer ownerships.

### setHardPointerOwnerships(List<String> value) {#setHardPointerOwnerships-java.util.List}
```java
public final void setHardPointerOwnerships(List<String> value)
```

Gets or sets the hard pointer ownerships.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | List<String> | The hard pointer ownerships. |

### getSoftPointerOwnserships() {#getSoftPointerOwnserships}
```java
public final List<String> getSoftPointerOwnserships()
```

Gets or sets the soft pointer ownserships.

**Returns:** List<String> - The soft pointer ownserships.

### setSoftPointerOwnserships(List<String> value) {#setSoftPointerOwnserships-java.util.List}
```java
public final void setSoftPointerOwnserships(List<String> value)
```

Gets or sets the soft pointer ownserships.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | List<String> | The soft pointer ownserships. |

### getHardPointerIds() {#getHardPointerIds}
```java
public final List<String> getHardPointerIds()
```

Gets or sets the hard pointer ids.

**Returns:** List<String> - The hard pointer ids.

### setHardPointerIds(List<String> value) {#setHardPointerIds-java.util.List}
```java
public final void setHardPointerIds(List<String> value)
```

Gets or sets the hard pointer ids.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | List<String> | The hard pointer ids. |

### getSoftPointerIdsHandle() {#getSoftPointerIdsHandle}
```java
public final List<String> getSoftPointerIdsHandle()
```

Gets or sets the soft pointer ids handle.

**Returns:** List<String> - The soft pointer ids handle.

### setSoftPointerIdsHandle(List<String> value) {#setSoftPointerIdsHandle-java.util.List}
```java
public final void setSoftPointerIdsHandle(List<String> value)
```

Gets or sets the soft pointer ids handle.

**Parameters:**

| Parameter | Type | Description |
| --- | --- | --- |
| value | List<String> | The soft pointer ids handle. |

