# Class: Attribute

## Attribute(attributeId, noteId, type, name, value, position, isInheritable, isDeleted, utcDateCreated, utcDateModified)

Attribute is key value pair owned by a note.

## Constructor

#### new Attribute(attributeId, noteId, type, name, value, position, isInheritable, isDeleted, utcDateCreated, utcDateModified)

##### Parameters:

Name | Type | Description
--- | --- | ---
`attributeId` | string |
`noteId` | string |
`type` | string |
`name` | string |
`value` | string |
`position` | int |
`isInheritable` | boolean |
`isDeleted` | boolean |
`utcDateCreated` | string |
`utcDateModified` | string |

Source:
  - entities/attribute.js, line 24

### Extends

- Entity

### Methods

#### (async) getNote() → {Promise.<(Note|null)>}

Source:
  - entities/attribute.js, line 46

##### Returns:

Type
  Promise.<(Note|null)>

#### (async) getTargetNote() → {Promise.<(Note|null)>}

Source:
  - entities/attribute.js, line 57

##### Returns:

Type
  Promise.<(Note|null)>

#### isDefinition() → {boolean}

Source:
  - entities/attribute.js, line 76

##### Returns:

Type
  boolean