@tripsnek/tmf
Version:
TypeScript Modeling Framework - A TypeScript port of the Eclipse Modeling Framework (EMF)
59 lines • 2.37 kB
TypeScript
import { EPackage } from '../api/epackage.js';
import { EOperation } from '../api/eoperation.js';
import { EAttribute } from '../api/eattribute.js';
import { EReference } from '../api/ereference.js';
import { EStructuralFeature } from '../api/estructural-feature.js';
import { EList } from '../api/elist.js';
import { EObject } from '../api/eobject.js';
import { EClassifierImpl } from './eclassifier-impl.js';
import { EClass } from '../api/eclass.js';
export declare class EClassImpl extends EClassifierImpl implements EClass {
private classIsAbstract;
private classIsInterface;
private eSuperTypes;
private eStructuralFeatures;
private eOperations;
private eReferences;
private eAllSuperTypes;
private eAllStructuralFeatures;
private eAttributes;
private eAllAttributes;
private eAllReferences;
private eAllContainments;
private eAllOperations;
constructor(owner?: EPackage, name?: string, abstract?: boolean, isInterface?: boolean);
isAbstract(): boolean;
isInterface(): boolean;
setAbstract(value: boolean): void;
setInterface(value: boolean): void;
getEAttributes(): EList<EAttribute>;
getEAllAttributes(): EList<EAttribute>;
private computeEAllAttributes;
getEIDAttribute(): EAttribute | undefined;
createInstance(): EObject;
isSuperTypeOf(someClass: EClass): boolean;
getESuperTypes(): EList<EClass>;
getEAllSuperTypes(): EList<EClass>;
private computeEAllSuperTypes;
getEStructuralFeatures(): EList<EStructuralFeature>;
getEAllStructuralFeatures(): EList<EStructuralFeature>;
private computeAllStructuralFeatures;
/**
* Returns the feature identified by either it's feature ID (a number) or
* name (a string).
* @param featureIdOrName
*/
getEStructuralFeature(featureIdOrName: number | string): EStructuralFeature | undefined;
getFeatureCount(): number;
getFeatureID(feature: EStructuralFeature): number;
getEReferences(): EList<EReference>;
getEAllReferences(): EList<EReference>;
private computeEAllReferences;
getEAllContainments(): EList<EReference>;
private computeEAllContainments;
getEOperations(): EList<EOperation>;
getEAllOperations(): EList<EOperation>;
private computeEAllOperations;
recomputeAllLists(): void;
}
//# sourceMappingURL=eclass-impl.d.ts.map