# AttrClsRevision

## Content

# Class: AttrClsRevision

Contains a structure attribute's class name and its revision.

## Extends

- [`ObjectBase`](ObjectBase)

## Accessors

### attrClsName

#### Get Signature

```ts
get attrClsName(): string;
```

Gets the attribute class name.

##### Returns

`string`

#### Set Signature

```ts
set attrClsName(value): void;
```

Sets the attribute class name.

##### Parameters

###### value

`string`

##### Returns

`void`

***

### id

#### Get Signature

```ts
get id(): number;
```

Gets the reference to the object.

##### Returns

`number`

#### Inherited from

[`ObjectBase`](ObjectBase).[`id`](ObjectBase#id)

***

### om

#### Get Signature

```ts
get om(): ObjectManager;
```

Gets the owner [ObjectManager](ObjectManager) instance.

##### Returns

[`ObjectManager`](ObjectManager)

#### Inherited from

[`ObjectBase`](ObjectBase).[`om`](ObjectBase#om)

***

### revision

#### Get Signature

```ts
get revision(): number;
```

Gets the attribute's revision number.

##### Returns

`number`

#### Set Signature

```ts
set revision(value): void;
```

Sets the attribute's revision number.

##### Parameters

###### value

`number`

##### Returns

`void`

## Methods

### free()

```ts
free(): void;
```

Detaches the object from the [ObjectManager](ObjectManager) and deallocates its memory, if possible.

#### Returns

`void`

#### Inherited from

[`ObjectBase`](ObjectBase).[`free`](ObjectBase#free)

***

### rebind()

```ts
rebind(omTo): void;
```

Rebinds the object from the current [ObjectManager](ObjectManager) to the specified one.

#### Parameters

##### omTo

[`ObjectManager`](ObjectManager)

The new [ObjectManager](ObjectManager) for the object.

#### Returns

`void`

#### Inherited from

[`ObjectBase`](ObjectBase).[`rebind`](ObjectBase#rebind)
