Package com.orchestranetworks.addon.dml
Class DataModelSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dml.DataModelSpec
-
public final class DataModelSpec extends java.lang.ObjectRepresents a data model specification, which contains the configurations used for generating an XML Schema Document (XSD) file.- Since:
- 2.6.2
-
-
Constructor Summary
Constructors Constructor Description DataModelSpec(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.Session session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataModelSourcegetDataModelSource()Returns an instance ofDataModelSource.com.orchestranetworks.instance.RepositorygetRepository()Returns the current repository.com.orchestranetworks.service.SessiongetSession()Returns the current session.booleanisFieldNameForLabelApplied()Returnstrueif the field name is used for the field label when saving the data model configuration in the Dynamic data modeling dataset.booleanisSavedToDynamicDataModelingDataset()Returnstrueif the data model parsed from theDataModelSourceis saved to the Dynamic data modeling dataset.voidsetDataModelSource(DataModelSource dataModelSource)Sets an instance ofDataModelSource.voidsetFieldNameForLabelApplied(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.voidsetSavedToDynamicDataModelingDataset(boolean savedToDynamicDataModelingDataset)Sets whether the data model parsed from theDataModelSourceis saved to the Dynamic data modeling dataset.
-
-
-
Method Detail
-
getDataModelSource
public DataModelSource getDataModelSource()
Returns an instance ofDataModelSource.
-
setDataModelSource
public void setDataModelSource(DataModelSource dataModelSource)
Sets an instance ofDataModelSource.
-
isSavedToDynamicDataModelingDataset
public boolean isSavedToDynamicDataModelingDataset()
Returnstrueif the data model parsed from theDataModelSourceis saved to the Dynamic data modeling dataset.
-
setSavedToDynamicDataModelingDataset
public void setSavedToDynamicDataModelingDataset(boolean savedToDynamicDataModelingDataset)
Sets whether the data model parsed from theDataModelSourceis saved to the Dynamic data modeling dataset. Default value isfalse.
-
isFieldNameForLabelApplied
public boolean isFieldNameForLabelApplied()
Returnstrueif 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 istrue.
-
getRepository
public com.orchestranetworks.instance.Repository getRepository()
Returns the current repository.
-
getSession
public com.orchestranetworks.service.Session getSession()
Returns the current session.
-
-