Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace GenericEntity

This is an extensible entity type for users, and the base entity type for some annotation formats.

Properties

Optional documentEntityMetadata

documentEntityMetadata: model.DocumentEntityMetadata

Const entityType

entityType: string = "GENERIC"

Optional extendedMetadata

extendedMetadata: undefined | object

A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: {@code {"bar-key": "value"}}

labels

labels: Array<Label>

A collection of label entities.

Methods

getDeserializedJsonObj

  • getDeserializedJsonObj(obj: Entity): object

getJsonObj

  • getJsonObj(obj: Entity): object