UNPKG

@yellicode/elements

Version:

The meta model API for Yellicode - an extensible code generator.

41 lines (40 loc) 1.55 kB
import * as e from './interfaces'; import { Deletable } from './editable-interfaces'; /** * Implements a simple data type that has no behavior. */ export declare class SimpleDataType implements e.DataType, Deletable { id: string; name: string; elementType: e.ElementType.dataType | e.ElementType.primitiveType; constructor(id: string, name: string, elementType: e.ElementType.dataType | e.ElementType.primitiveType); isDeleted?: boolean; isOrphaned(): boolean; get package(): e.Package; visibility: e.VisibilityKind | null; ownedAttributes: e.Property[]; ownedOperations: e.Operation[]; generalizations: e.Generalization[]; isAbstract: boolean; isFinalSpecialization: boolean; appliedStereotypes: e.Stereotype[]; ownedComments: e.Comment[]; owner: e.Element | null; taggedValues: e.TaggedValueSpecification[]; isLeaf: boolean; isInferred: boolean; isDeprecated: boolean; getFirstCommentBody(): string; getAllParents(): e.Classifier[]; getAllSpecializations(): e.Classifier[]; getFirstGeneralization(): e.Generalization | null; getFirstParent(): e.Classifier | null; getParents(): e.Classifier[]; getSpecializations(): e.Classifier[]; getNamespaceName(separator?: string | undefined): string; getNestingPackages(): e.Package[]; getQualifiedName(separator?: string | undefined): string; getAllAttributes(): e.Property[]; getAllOperations(): e.Operation[]; getSuperTypes(): this[]; }