import { isPresent } from '@jscrpt/common';
import { MissingNodeBehavior } from './relationsNodeRenderer.types';
/**
 * Options for RelationsNodeRendererDirective
 */
export class RelationsNodeRendererDirectiveOptions {
    //######################### constructor #########################
    constructor(missingNodeBehavior) {
        //######################### public properties #########################
        /**
         * Describes what should happen if relations node type described in metadata was not found
         */
        this.missingNodeBehavior = MissingNodeBehavior.ShowNotFound;
        if (isPresent(missingNodeBehavior)) {
            this.missingNodeBehavior = missingNodeBehavior;
        }
    }
}
//# sourceMappingURL=relationsNodeRenderer.options.js.map