public CswNbtMetaDataResources(CswNbtResources Resources, CswNbtMetaData MetaData)
        {
            CswNbtResources      = Resources;
            CswNbtMetaData       = MetaData;
            CswNbtFieldResources = new CswNbtFieldResources(Resources);

            _ExcludeDisabledModules = ExcludeDisabledModules;

            ObjectClassTableSelect     = CswNbtResources.makeCswTableSelect("MetaData_ObjectClass_Select", "object_class");
            ObjectClassPropTableSelect = CswNbtResources.makeCswTableSelect("MetaData_ObjectClassProp_Select", "object_class_props");
            NodeTypeTableSelect        = CswNbtResources.makeCswTableSelect("MetaData_NodeType_Select", "nodetypes");
            FieldTypeTableSelect       = CswNbtResources.makeCswTableSelect("MetaData_FieldType_Select", "field_types");
            NodeTypePropTableSelect    = CswNbtResources.makeCswTableSelect("MetaData_NodeTypeProp_Select", "nodetype_props");
            NodeTypeTabTableSelect     = CswNbtResources.makeCswTableSelect("MetaData_NodeTypeTab_Select", "nodetype_tabset");
            PropertySetTableSelect     = CswNbtResources.makeCswTableSelect("MetaData_PropertySet_Select", "property_set");

            ObjectClassTableUpdate     = CswNbtResources.makeCswTableUpdate("MetaData_ObjectClass_update", "object_class");
            ObjectClassPropTableUpdate = CswNbtResources.makeCswTableUpdate("MetaData_ObjectClassProp_update", "object_class_props");
            NodeTypeTableUpdate        = CswNbtResources.makeCswTableUpdate("MetaData_NodeType_update", "nodetypes");
            FieldTypeTableUpdate       = CswNbtResources.makeCswTableUpdate("MetaData_FieldType_update", "field_types");
            NodeTypePropTableUpdate    = CswNbtResources.makeCswTableUpdate("MetaData_NodeTypeProp_update", "nodetype_props");
            NodeTypeTabTableUpdate     = CswNbtResources.makeCswTableUpdate("MetaData_NodeTypeTab_update", "nodetype_tabset");
            PropertySetTableUpdate     = CswNbtResources.makeCswTableUpdate("MetaData_PropertySet_update", "property_set");
            JctNodesPropsTableUpdate   = CswNbtResources.makeCswTableUpdate("MetaData_JctNodesProps_update", "jct_nodes_props");

            ObjectClassesCollection    = new CswNbtMetaDataCollectionObjectClass(this);
            ObjectClassPropsCollection = new CswNbtMetaDataCollectionObjectClassProp(this);
            FieldTypesCollection       = new CswNbtMetaDataCollectionFieldType(this);
            NodeTypesCollection        = new CswNbtMetaDataCollectionNodeType(this);
            NodeTypePropsCollection    = new CswNbtMetaDataCollectionNodeTypeProp(this);
            NodeTypeTabsCollection     = new CswNbtMetaDataCollectionNodeTypeTab(this);
            PropertySetsCollection     = new CswNbtMetaDataCollectionPropertySet(this);
        }
Exemple #2
0
 public CswNbtSubField(CswNbtFieldResources CswNbtFieldResources, CswEnumNbtPropColumn DefaultColumn, CswEnumNbtSubFieldName SubFieldName, bool Reportable = false)
 {
     _CswNbtFieldResources = CswNbtFieldResources;
     Name         = SubFieldName;
     Table        = "jct_nodes_props"; // default
     Column       = DefaultColumn;
     isReportable = Reportable;
 }