import * as types from './utils/types'; import BaseNode from '../common/BaseNode'; import type ApplyAnnotation from './ApplyAnnotation__'; /** * 可使用注解 */ export declare abstract class Annotatable extends BaseNode { /** 类名 */ static readonly ConceptName: string; /** * 是否为抽象类 * 抽象类不能产生 concept: string */ static isAbstract: boolean; /** 继承链 */ static readonly inheritanceChain: string[]; /** * 产品概念 */ readonly concept: 'Entity' | 'View' | 'ViewElement' | 'Logic' | 'AuthLogic' | 'AuthLogicForCallInterface' | 'BusinessLogic' | 'ConnectorLogic'; /** * 注解列表 */ applyAnnotations?: Array; /** * @param source 需要合并的部分参数 */ constructor(source?: Partial); static from(source: any, parentNode?: any, parentKey?: string): types.AnnotatableNode; getApplyAnnotationExistingNames(excludedList?: Array): string[]; getApplyAnnotationUniqueName(name?: string): string; /** * 插入使用注解 * @internal * @param name 使用注解名称,如果不填会自动生成一个唯一名称 */ _insertApplyAnnotationAt(name: string, index: number): ApplyAnnotation; /** * 插入使用注解 * @internal * @param applyAnnotationOptions 使用注解参数 */ _insertApplyAnnotationAt(applyAnnotationOptions: Partial, index: number): ApplyAnnotation; /** * 插入使用注解 * @internal * @param applyAnnotation 已有的使用注解实例 */ _insertApplyAnnotationAt(applyAnnotation: ApplyAnnotation, index: number): ApplyAnnotation; /** * 插入使用注解 * @param name 使用注解名称,如果不填会自动生成一个唯一名称 */ insertApplyAnnotationAt(name: string, index: number): ApplyAnnotation; /** * 插入使用注解 * @param applyAnnotationOptions 使用注解参数 */ insertApplyAnnotationAt(applyAnnotationOptions: Partial, index: number): ApplyAnnotation; /** * 插入使用注解 * @param applyAnnotation 已有的使用注解实例 */ insertApplyAnnotationAt(applyAnnotation: ApplyAnnotation, index: number): ApplyAnnotation; /** * 添加使用注解 * @internal * @param name 使用注解名称,如果不填会自动生成一个唯一名称 */ _addApplyAnnotation(name?: string): ApplyAnnotation; /** * 添加使用注解 * @internal * @param applyAnnotationOptions 使用注解参数 */ _addApplyAnnotation(applyAnnotationOptions: Partial): ApplyAnnotation; /** * 添加使用注解 * @internal * @param applyAnnotation 已有的使用注解实例 */ _addApplyAnnotation(applyAnnotation: ApplyAnnotation): ApplyAnnotation; /** * 添加使用注解 * @internal * @param name 使用注解名称,如果不填会自动生成一个唯一名称 */ addApplyAnnotation(name?: string): ApplyAnnotation; /** * 添加使用注解 * @param applyAnnotationOptions 使用注解参数 */ addApplyAnnotation(applyAnnotationOptions: Partial): ApplyAnnotation; /** * 添加使用注解 * @param applyAnnotation 已有的使用注解实例 */ addApplyAnnotation(applyAnnotation: ApplyAnnotation): ApplyAnnotation; /** * 删除使用注解 * @param name 使用注解名称 */ removeApplyAnnotation(name: string): void; /** * 删除使用注解 * @param applyAnnotation 已有的使用注解实例 */ removeApplyAnnotation(applyAnnotation: ApplyAnnotation): void; name?: string; } export default Annotatable; //# sourceMappingURL=Annotatable__.d.ts.map