Class DataModelSpec


  • public final class DataModelSpec
    extends java.lang.Object
    Represents a data model specification, which contains the configurations used for generating an XML Schema Document (XSD) file.
    Since:
    2.6.2
    • Constructor Detail

      • DataModelSpec

        public DataModelSpec​(com.orchestranetworks.instance.Repository repository,
                             com.orchestranetworks.service.Session session)
    • Method Detail

      • isSavedToDynamicDataModelingDataset

        public boolean isSavedToDynamicDataModelingDataset()
        Returns true if the data model parsed from the DataModelSource is saved to the Dynamic data modeling dataset.
      • setSavedToDynamicDataModelingDataset

        public void setSavedToDynamicDataModelingDataset​(boolean savedToDynamicDataModelingDataset)
        Sets whether the data model parsed from the DataModelSource is saved to the Dynamic data modeling dataset. Default value is false.
      • isFieldNameForLabelApplied

        public boolean isFieldNameForLabelApplied()
        Returns true if the field name is used for the field label when saving the data model configuration in the Dynamic data modeling dataset.
      • setFieldNameForLabelApplied

        public void setFieldNameForLabelApplied​(boolean fieldNameForLabelApplied)
        Sets whether the field name is used for the field label when saving the data model configuration in the Dynamic data modeling dataset. Default value is true.
      • getRepository

        public com.orchestranetworks.instance.Repository getRepository()
        Returns the current repository.
      • getSession

        public com.orchestranetworks.service.Session getSession()
        Returns the current session.