Class DataModelSpec

java.lang.Object
com.orchestranetworks.addon.dml.DataModelSpec

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

    • DataModelSpec

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

    • getDataModelSource

      public DataModelSource getDataModelSource()
      Returns an instance of DataModelSource.
    • setDataModelSource

      public void setDataModelSource(DataModelSource dataModelSource)
      Sets an instance of DataModelSource.
    • 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.