import { CollectionType, PluralAttribute } from './PluralAttribute'; import { Class } from '../util'; import { Type } from './Type'; export abstract class CollectionAttribute extends PluralAttribute { /** * @inheritDoc */ get collectionType() { return CollectionType.COLLECTION; } /** * @param name - the name of the attribute * @param typeConstructor - The collection constructor of the attribute * @param elementType - The element type of the collection */ protected constructor(name: string, typeConstructor: Class, elementType: Type) { super(name, typeConstructor, elementType); super(name, typeConstructor, elementType); } }