Documentation
    Preparing search index...

    Interface CollectionPropertyType

    Configuration dictionary for instantiating a core CollectionProperty. Defines a relationship containing multiple objects.

    Parameter Type Description Default
    instanceOf typeof BaseObject The class of the objects contained in this collection. Required
    backend any An optional specific backend instance for persistence handling. undefined
    parentKey string The foreign key field pointing back to the parent. parent.uri.collection
    interface CollectionPropertyType {
        backend?: any;
        defaultValue?: any;
        htmlType?: PropertyHTMLType;
        id?: string;
        instanceOf: typeof BaseObject;
        mandatory?: boolean;
        name: string;
        onChange?: (dao: DataObjectClass<any>) => DataObjectClass<any>;
        parent?: DataObjectClass<any>;
        parentKey?: string;
        protected?: boolean;
        type?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    backend?: any
    defaultValue?: any
    htmlType?: PropertyHTMLType
    id?: string
    instanceOf: typeof BaseObject
    mandatory?: boolean
    name: string
    onChange?: (dao: DataObjectClass<any>) => DataObjectClass<any>
    parent?: DataObjectClass<any>
    parentKey?: string
    protected?: boolean
    type?: string