interface Entity {
    $CreationOptions?: EntityCreationOptions;
    $ID: string;
    $Type: "DomainModels$Entity";
    accessRules: AccessRule[];
    attributes: Attribute[];
    dataStorageGuid: string;
    documentation: string;
    eventHandlers: EventHandler[];
    generalization: GeneralizationBase;
    image: null | string;
    imageData: any;
    indexes: Index[];
    location: Location;
    name: string;
    source: null | EntitySource;
    validationRules: ValidationRule[];
    addAccessRule(): Promise<AccessRule>;
    addAttribute(options: AttributeCreationOptions): Promise<Attribute>;
    addEventHandler(): Promise<EventHandler>;
    addIndex(): Promise<Index>;
    addValidationRule(): Promise<ValidationRule>;
    delete(): void;
    getAttribute(name: string): Attribute;
    getContainer(): DomainModel;
}

Hierarchy (view full)

Properties

$CreationOptions?: EntityCreationOptions

Options to pass during the element creation

$ID: string

The unique id of the element.

$Type

The type of the element.

accessRules: AccessRule[]
attributes: Attribute[]
dataStorageGuid: string
documentation: string
eventHandlers: EventHandler[]
generalization: GeneralizationBase
image: null | string
imageData: any
indexes: Index[]
location: Location
name: string
source: null | EntitySource
validationRules: ValidationRule[]

Methods

  • Returns void