/** * This code was generated by a tool. * * Changes to this file may cause incorrect behavior and will be lost if the code is regenerated. */ import * as Interfaces from "./interfaces"; import { ModelDelegate } from "./model-delegate"; export declare class DocumentReference implements Interfaces.DocumentReference { path: string; name: string; location: Interfaces.DocumentLocationKind; } export declare class StereotypeExtension implements Interfaces.StereotypeExtension { isRequired: boolean; metaClass: Interfaces.ElementType; } export declare class TaggedValueSpecification implements Interfaces.TaggedValueSpecification { definition: Interfaces.Property; specification: Interfaces.ValueSpecification; } export declare abstract class Element implements Interfaces.Element { protected modelDelegate: ModelDelegate; constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly abstract elementType: Interfaces.ElementType; id: string; ownedComments: Interfaces.Comment[]; readonly owner: Interfaces.Element | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets the text contents of the first comment in the element's owned comments, or an empty string if * the element has no comments. * @returns {string} The body string of the first comment. If the element has no comments, an empty * string is returned. */ getFirstCommentBody(): string; } export declare class Class extends Element implements Interfaces.Class { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; isActive: boolean; interfaceRealizations: Interfaces.InterfaceRealization[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isLeaf: boolean; ownedAttributes: Interfaces.Property[]; ownedOperations: Interfaces.Operation[]; /** * Gets the superclasses of a Class, derived from its Generalizations. * @returns {Interfaces.Class[]} */ getSuperClasses(): Interfaces.Class[]; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; /** * Returns both inherited and owned attributes. * @returns {Interfaces.Property[]} */ getAllAttributes(): Interfaces.Property[]; /** * Returns both inherited and owned operations. Any inherited operation that has the same signature * (having the same name and parameter type order) in an inheriting type is not included. * @returns {Interfaces.Operation[]} */ getAllOperations(): Interfaces.Operation[]; } export declare class Stereotype extends Element implements Interfaces.Stereotype { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; safeName: string; extends: Interfaces.StereotypeExtension[]; isActive: boolean; interfaceRealizations: Interfaces.InterfaceRealization[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isLeaf: boolean; ownedAttributes: Interfaces.Property[]; ownedOperations: Interfaces.Operation[]; /** * Gets the superclasses of a Class, derived from its Generalizations. * @returns {Interfaces.Class[]} */ getSuperClasses(): Interfaces.Class[]; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; /** * Returns both inherited and owned attributes. * @returns {Interfaces.Property[]} */ getAllAttributes(): Interfaces.Property[]; /** * Returns both inherited and owned operations. Any inherited operation that has the same signature * (having the same name and parameter type order) in an inheriting type is not included. * @returns {Interfaces.Operation[]} */ getAllOperations(): Interfaces.Operation[]; } export declare class Package extends Element implements Interfaces.Package { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; isNamespaceRoot: boolean; packagedElements: Interfaces.PackageableElement[]; appliedProfiles: Interfaces.Profile[]; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets all packages that are owned by this Package. * @returns {Interfaces.Package[]} A subset of PackagedElements. */ getNestedPackages(): Interfaces.Package[]; /** * Gets all classes that are owned by this Package. * @returns {Interfaces.Class[]} A subset of PackagedElements. */ getClasses(): Interfaces.Class[]; /** * Gets all classes that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Class[]} */ getAllClasses(): Interfaces.Class[]; /** * Gets all interfaces that are owned by this Package. * @returns {Interfaces.Interface[]} A subset of PackagedElements. */ getInterfaces(): Interfaces.Interface[]; /** * Gets all interfaces that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Interface[]} */ getAllInterfaces(): Interfaces.Interface[]; /** * Gets all data types that are owned by this Package. * @returns {Interfaces.DataType[]} A subset of PackagedElements. */ getDataTypes(): Interfaces.DataType[]; /** * Gets all data types that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.DataType[]} */ getAllDataTypes(): Interfaces.DataType[]; /** * Gets all enumerations that are owned by this Package. * @returns {Interfaces.Enumeration[]} A subset of PackagedElements. */ getEnumerations(): Interfaces.Enumeration[]; /** * Gets all enumerations that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Enumeration[]} */ getAllEnumerations(): Interfaces.Enumeration[]; /** * Gets all types that are owned by this Package. This includes the following types of elements: Class, * Interface, DataType, PrimitiveType and Enumeration. * @returns {Interfaces.Classifier[]} A subset of PackagedElements. */ getTypes(): Interfaces.Classifier[]; /** * Gets all enumerations that are owned by this Package, including the ones owned by nested packages. * This includes the following types of elements: Class, Interface, DataType, PrimitiveType and * Enumeration. * @returns {Interfaces.Classifier[]} A subset of PackagedElements. */ getAllTypes(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class Profile extends Element implements Interfaces.Profile { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; safeName: string; isNamespaceRoot: boolean; packagedElements: Interfaces.PackageableElement[]; appliedProfiles: Interfaces.Profile[]; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets all packages that are owned by this Package. * @returns {Interfaces.Package[]} A subset of PackagedElements. */ getNestedPackages(): Interfaces.Package[]; /** * Gets all classes that are owned by this Package. * @returns {Interfaces.Class[]} A subset of PackagedElements. */ getClasses(): Interfaces.Class[]; /** * Gets all classes that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Class[]} */ getAllClasses(): Interfaces.Class[]; /** * Gets all interfaces that are owned by this Package. * @returns {Interfaces.Interface[]} A subset of PackagedElements. */ getInterfaces(): Interfaces.Interface[]; /** * Gets all interfaces that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Interface[]} */ getAllInterfaces(): Interfaces.Interface[]; /** * Gets all data types that are owned by this Package. * @returns {Interfaces.DataType[]} A subset of PackagedElements. */ getDataTypes(): Interfaces.DataType[]; /** * Gets all data types that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.DataType[]} */ getAllDataTypes(): Interfaces.DataType[]; /** * Gets all enumerations that are owned by this Package. * @returns {Interfaces.Enumeration[]} A subset of PackagedElements. */ getEnumerations(): Interfaces.Enumeration[]; /** * Gets all enumerations that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Enumeration[]} */ getAllEnumerations(): Interfaces.Enumeration[]; /** * Gets all types that are owned by this Package. This includes the following types of elements: Class, * Interface, DataType, PrimitiveType and Enumeration. * @returns {Interfaces.Classifier[]} A subset of PackagedElements. */ getTypes(): Interfaces.Classifier[]; /** * Gets all enumerations that are owned by this Package, including the ones owned by nested packages. * This includes the following types of elements: Class, Interface, DataType, PrimitiveType and * Enumeration. * @returns {Interfaces.Classifier[]} A subset of PackagedElements. */ getAllTypes(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class Property extends Element implements Interfaces.Property { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; aggregation: Interfaces.AggregationKind; isDerived: boolean; isDerivedUnion: boolean; isID: boolean; isNavigable: boolean; readonly association: Interfaces.Association | null; defaultValue: Interfaces.ValueSpecification | null; isReadOnly: boolean; isStatic: boolean; isLeaf: boolean; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; order: number; isOrdered: boolean; isUnique: boolean; readonly upper: Interfaces.UnlimitedNatural | null; readonly lower: number | null; upperValue: Interfaces.ValueSpecification | null; lowerValue: Interfaces.ValueSpecification | null; type: Interfaces.Type | null; /** * Gets the value of the DefaultValue property. * @returns {any} The default value (the type depending on the type of value), or null if no default * value can be determined. */ getDefault(): any | null; /** * The query isMultivalued() checks whether this multiplicity has an upper bound greater than one. * @returns {boolean} */ isMultivalued(): boolean; /** * The query isOptional checks whether this multiplicity has a lower bound of 0 (0..n). * @returns {boolean} */ isOptional(): boolean; /** * The query isOptionalAndSingleValued checks whether this multiplicity has a lower bound of 0 and an * upper bound of 1 (0..1). * @returns {boolean} */ isOptionalAndSinglevalued(): boolean; /** * The query isRequiredAndSinglevalued checks whether this multiplicity has a lower bound of 1 and an * upper bound of 1 (1..1). * @returns {boolean} */ isRequiredAndSinglevalued(): boolean; /** * The query lowerBound() returns the lower bound of the multiplicity as an integer, which is the * integerValue of lowerValue, if this is given, and 1 otherwise. * @returns {number} */ getLowerBound(): number; /** * The query upperBound() returns the upper bound of the multiplicity for a bounded multiplicity as an * unlimited natural, which is the unlimitedNaturalValue of upperValue, if given, and 1, otherwise. * @returns {Interfaces.UnlimitedNatural} */ getUpperBound(): Interfaces.UnlimitedNatural; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class DataType extends Element implements Interfaces.DataType { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; ownedAttributes: Interfaces.Property[]; ownedOperations: Interfaces.Operation[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isLeaf: boolean; /** * Returns both inherited and owned attributes. * @returns {Interfaces.Property[]} */ getAllAttributes(): Interfaces.Property[]; /** * Returns both inherited and owned operations. Any inherited operation that has the same signature * (having the same name and parameter type order) in an inheriting type is not included. * @returns {Interfaces.Operation[]} */ getAllOperations(): Interfaces.Operation[]; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class PrimitiveType extends Element implements Interfaces.PrimitiveType { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; ownedAttributes: Interfaces.Property[]; ownedOperations: Interfaces.Operation[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isLeaf: boolean; /** * Returns both inherited and owned attributes. * @returns {Interfaces.Property[]} */ getAllAttributes(): Interfaces.Property[]; /** * Returns both inherited and owned operations. Any inherited operation that has the same signature * (having the same name and parameter type order) in an inheriting type is not included. * @returns {Interfaces.Operation[]} */ getAllOperations(): Interfaces.Operation[]; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class Parameter extends Element implements Interfaces.Parameter { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; direction: Interfaces.ParameterDirectionKind; isException: boolean; isStream: boolean; defaultValue: Interfaces.ValueSpecification | null; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isOrdered: boolean; isUnique: boolean; readonly upper: Interfaces.UnlimitedNatural | null; readonly lower: number | null; upperValue: Interfaces.ValueSpecification | null; lowerValue: Interfaces.ValueSpecification | null; order: number; /** * Gets the value of the DefaultValue property. * @returns {any} The default value (the type depending on the type of value), or null if no default * value can be determined. */ getDefault(): any | null; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; /** * The query isMultivalued() checks whether this multiplicity has an upper bound greater than one. * @returns {boolean} */ isMultivalued(): boolean; /** * The query isOptional checks whether this multiplicity has a lower bound of 0 (0..n). * @returns {boolean} */ isOptional(): boolean; /** * The query isOptionalAndSingleValued checks whether this multiplicity has a lower bound of 0 and an * upper bound of 1 (0..1). * @returns {boolean} */ isOptionalAndSinglevalued(): boolean; /** * The query isRequiredAndSinglevalued checks whether this multiplicity has a lower bound of 1 and an * upper bound of 1 (1..1). * @returns {boolean} */ isRequiredAndSinglevalued(): boolean; /** * The query lowerBound() returns the lower bound of the multiplicity as an integer, which is the * integerValue of lowerValue, if this is given, and 1 otherwise. * @returns {number} */ getLowerBound(): number; /** * The query upperBound() returns the upper bound of the multiplicity for a bounded multiplicity as an * unlimited natural, which is the unlimitedNaturalValue of upperValue, if given, and 1, otherwise. * @returns {Interfaces.UnlimitedNatural} */ getUpperBound(): Interfaces.UnlimitedNatural; } export declare class Operation extends Element implements Interfaces.Operation { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; isQuery: boolean; isConstructor: boolean; readonly upper: Interfaces.UnlimitedNatural | null; readonly lower: number | null; isAbstract: boolean; ownedParameters: Interfaces.Parameter[]; isStatic: boolean; isLeaf: boolean; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; order: number; /** * Returns the ownedParameters with direction in and inout. * @returns {Interfaces.Parameter[]} */ getInputParameters(): Interfaces.Parameter[]; /** * Returns the ownedParameters with direction out, inout, or return. * @returns {Interfaces.Parameter[]} */ getOutputParameters(): Interfaces.Parameter[]; /** * The query isMultivalued() checks whether the return parameter has an upper bound greater than one. * @returns {boolean} */ isMultivalued(): boolean; /** * The query isOptional checks whether he return parameter has a lower bound of 0 (0..n). * @returns {boolean} */ isOptional(): boolean; /** * The query isOptional checks whether he return parameter has a lower bound of 0 and an upper bound of * 1 (0..1). * @returns {boolean} */ isOptionalAndSinglevalued(): boolean; /** * Gets the type of the operation's return parameter, if it has any. * @returns {Interfaces.Type} */ getReturnType(): Interfaces.Type | null; /** * Gets the operation's return parameter, if it has one. * @returns {Interfaces.Parameter} */ getReturnParameter(): Interfaces.Parameter | null; /** * The query lowerBound() returns the lower bound of the return parameter as an integer, which is the * integerValue of lowerValue, if this is given, and 1 otherwise. This information is derived from the * return result for this Operation. * @returns {number} */ getLowerBound(): number; /** * The query upperBound() returns the upper bound of the return parameter for a bounded multiplicity as * an unlimited natural, which is the unlimitedNaturalValue of upperValue, if given, and 1, otherwise. * This information is derived from the return result for this Operation. * @returns {Interfaces.UnlimitedNatural} */ getUpperBound(): Interfaces.UnlimitedNatural; } export declare class Model extends Element implements Interfaces.Model { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; isNamespaceRoot: boolean; packagedElements: Interfaces.PackageableElement[]; appliedProfiles: Interfaces.Profile[]; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets all packages that are owned by this Package. * @returns {Interfaces.Package[]} A subset of PackagedElements. */ getNestedPackages(): Interfaces.Package[]; /** * Gets all classes that are owned by this Package. * @returns {Interfaces.Class[]} A subset of PackagedElements. */ getClasses(): Interfaces.Class[]; /** * Gets all classes that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Class[]} */ getAllClasses(): Interfaces.Class[]; /** * Gets all interfaces that are owned by this Package. * @returns {Interfaces.Interface[]} A subset of PackagedElements. */ getInterfaces(): Interfaces.Interface[]; /** * Gets all interfaces that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Interface[]} */ getAllInterfaces(): Interfaces.Interface[]; /** * Gets all data types that are owned by this Package. * @returns {Interfaces.DataType[]} A subset of PackagedElements. */ getDataTypes(): Interfaces.DataType[]; /** * Gets all data types that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.DataType[]} */ getAllDataTypes(): Interfaces.DataType[]; /** * Gets all enumerations that are owned by this Package. * @returns {Interfaces.Enumeration[]} A subset of PackagedElements. */ getEnumerations(): Interfaces.Enumeration[]; /** * Gets all enumerations that are owned by this Package, including the ones owned by nested packages. * @returns {Interfaces.Enumeration[]} */ getAllEnumerations(): Interfaces.Enumeration[]; /** * Gets all types that are owned by this Package. This includes the following types of elements: Class, * Interface, DataType, PrimitiveType and Enumeration. * @returns {Interfaces.Classifier[]} A subset of PackagedElements. */ getTypes(): Interfaces.Classifier[]; /** * Gets all enumerations that are owned by this Package, including the ones owned by nested packages. * This includes the following types of elements: Class, Interface, DataType, PrimitiveType and * Enumeration. * @returns {Interfaces.Classifier[]} A subset of PackagedElements. */ getAllTypes(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class LiteralUnlimitedNatural extends Element implements Interfaces.LiteralUnlimitedNatural { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; value: Interfaces.UnlimitedNatural; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. * @returns {any} The underlying value of the ValueSpecification. The type depends on the type of * ValueSpecification. */ getValue(): any | null; /** * Gets the string representation of the value. * @returns {string} */ getStringValue(): string; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class LiteralString extends Element implements Interfaces.LiteralString { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; value: string; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. * @returns {any} The underlying value of the ValueSpecification. The type depends on the type of * ValueSpecification. */ getValue(): any | null; /** * Gets the string representation of the value. * @returns {string} */ getStringValue(): string; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class LiteralReal extends Element implements Interfaces.LiteralReal { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; value: number; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. * @returns {any} The underlying value of the ValueSpecification. The type depends on the type of * ValueSpecification. */ getValue(): any | null; /** * Gets the string representation of the value. * @returns {string} */ getStringValue(): string; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class LiteralNull extends Element implements Interfaces.LiteralNull { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. * @returns {any} The underlying value of the ValueSpecification. The type depends on the type of * ValueSpecification. */ getValue(): any | null; /** * Gets the string representation of the value. * @returns {string} */ getStringValue(): string; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class LiteralInteger extends Element implements Interfaces.LiteralInteger { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; value: number; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. * @returns {any} The underlying value of the ValueSpecification. The type depends on the type of * ValueSpecification. */ getValue(): any | null; /** * Gets the string representation of the value. * @returns {string} */ getStringValue(): string; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class LiteralBoolean extends Element implements Interfaces.LiteralBoolean { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; value: boolean; type: Interfaces.Type | null; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; /** * Gets underlying value of the ValueSpecification. The type depends on the type of ValueSpecification. * @returns {any} The underlying value of the ValueSpecification. The type depends on the type of * ValueSpecification. */ getValue(): any | null; /** * Gets the string representation of the value. * @returns {string} */ getStringValue(): string; /** * Gets the name of the typed element's type. * @returns {string} The type name, or an empty string if the element has no type. */ getTypeName(): string; } export declare class InterfaceRealization extends Element implements Interfaces.InterfaceRealization { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; contract: Interfaces.Interface; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; } export declare class Interface extends Element implements Interfaces.Interface { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; ownedAttributes: Interfaces.Property[]; ownedOperations: Interfaces.Operation[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isLeaf: boolean; /** * Returns both inherited and owned attributes. * @returns {Interfaces.Property[]} */ getAllAttributes(): Interfaces.Property[]; /** * Returns both inherited and owned operations. Any inherited operation that has the same signature * (having the same name and parameter type order) in an inheriting type is not included. * @returns {Interfaces.Operation[]} */ getAllOperations(): Interfaces.Operation[]; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class Generalization extends Element implements Interfaces.Generalization { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; isSubstitutable: boolean; readonly specific: Interfaces.Classifier; general: Interfaces.Classifier; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; } export declare class EnumerationLiteral extends Element implements Interfaces.EnumerationLiteral { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; readonly enumeration: Interfaces.Enumeration; specification: Interfaces.ValueSpecification; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; order: number; /** * Gets the value of the Specification property. * @returns {any} The default value (the type depending on the type of value), or null if no default * value can be determined. */ getSpecificationValue(): any | null; } export declare class Enumeration extends Element implements Interfaces.Enumeration { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; ownedLiterals: Interfaces.EnumerationLiteral[]; baseType: Interfaces.Type | null; ownedAttributes: Interfaces.Property[]; ownedOperations: Interfaces.Operation[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isLeaf: boolean; /** * Returns both inherited and owned attributes. * @returns {Interfaces.Property[]} */ getAllAttributes(): Interfaces.Property[]; /** * Returns both inherited and owned operations. Any inherited operation that has the same signature * (having the same name and parameter type order) in an inheriting type is not included. * @returns {Interfaces.Operation[]} */ getAllOperations(): Interfaces.Operation[]; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; } export declare class Comment extends Element implements Interfaces.Comment { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; body: string; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; } export declare class Association extends Element implements Interfaces.Association { constructor(modelDelegate: ModelDelegate, owner: Interfaces.Element | null); readonly elementType: Interfaces.ElementType; memberEnds: Interfaces.Property[]; ownedEnds: Interfaces.Property[]; appliedStereotypes: Interfaces.Stereotype[]; taggedValues: Interfaces.TaggedValueSpecification[]; isAbstract: boolean; isFinalSpecialization: boolean; generalizations: Interfaces.Generalization[]; isInferred: boolean; readonly package: Interfaces.Package; name: string; visibility: Interfaces.VisibilityKind | null; isLeaf: boolean; /** * Gets the first direct generalization relationship of the element. * @returns {Interfaces.Generalization} */ getFirstGeneralization(): Interfaces.Generalization | null; /** * Gets the first classifier that is an immediate general of the current element. * @returns {Interfaces.Classifier} */ getFirstParent(): Interfaces.Classifier | null; /** * Gives all of the immediate ancestors of a generalized Classifier. * @returns {Interfaces.Classifier[]} */ getParents(): Interfaces.Classifier[]; /** * Returns all of the direct and indirect ancestors of a generalized Classifier, working outwards: more * specific classifiers will appear before more general classifiers. * @returns {Interfaces.Classifier[]} */ getAllParents(): Interfaces.Classifier[]; /** * Gets all classifiers of which this classifier is a direct general. * @returns {Interfaces.Classifier[]} */ getSpecializations(): Interfaces.Classifier[]; /** * Gets all classifiers of which this element is a direct or indirect general. * @returns {Interfaces.Classifier[]} */ getAllSpecializations(): Interfaces.Classifier[]; /** * Gets all packages that contain this Package, working inwards from the top Package to the owning * package. * @returns {Interfaces.Package[]} A collection of Packages. */ getNestingPackages(): Interfaces.Package[]; /** * Constructs a name from the names of the nesting packages. The name is constructed working inwards * from the package that is defined as namespace root up to but not including the PackageableElement * itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getNamespaceName(separator?: string): string; /** * Constructs a name from the PackageableElement and the names of the nesting packages. The name is * constructed working inwards from the package that is defined as namespace root up to and including * the PackageableElement itself. * @param {string} separator The string to use to separate names. If not specified, a dot "." will be * used. * @returns {string} A single string with all the names separated. */ getQualifiedName(separator?: string): string; }