Package com.orchestranetworks.addon.dml
Class DataModelSpec
java.lang.Object
com.orchestranetworks.addon.dml.DataModelSpec
Represents a data model specification, which contains the configurations used for generating an XML Schema Document (XSD) file.
- Since:
- 2.6.2
-
Constructor Summary
ConstructorsConstructorDescriptionDataModelSpec
(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.Session session) -
Method Summary
Modifier and TypeMethodDescriptionReturns an instance ofDataModelSource
.com.orchestranetworks.instance.Repository
Returns the current repository.com.orchestranetworks.service.Session
Returns the current session.boolean
Returnstrue
if the field name is used for the field label when saving the data model configuration in the Dynamic data modeling dataset.boolean
Returnstrue
if the data model parsed from theDataModelSource
is saved to the Dynamic data modeling dataset.void
setDataModelSource
(DataModelSource dataModelSource) Sets an instance ofDataModelSource
.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.void
setSavedToDynamicDataModelingDataset
(boolean savedToDynamicDataModelingDataset) Sets whether the data model parsed from theDataModelSource
is saved to the Dynamic data modeling dataset.
-
Constructor Details
-
DataModelSpec
public DataModelSpec(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.Session session)
-
-
Method Details
-
getDataModelSource
Returns an instance ofDataModelSource
. -
setDataModelSource
Sets an instance ofDataModelSource
. -
isSavedToDynamicDataModelingDataset
public boolean isSavedToDynamicDataModelingDataset()Returnstrue
if the data model parsed from theDataModelSource
is saved to the Dynamic data modeling dataset. -
setSavedToDynamicDataModelingDataset
public void setSavedToDynamicDataModelingDataset(boolean savedToDynamicDataModelingDataset) Sets whether the data model parsed from theDataModelSource
is saved to the Dynamic data modeling dataset. Default value isfalse
. -
isFieldNameForLabelApplied
public boolean isFieldNameForLabelApplied()Returnstrue
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 istrue
. -
getRepository
public com.orchestranetworks.instance.Repository getRepository()Returns the current repository. -
getSession
public com.orchestranetworks.service.Session getSession()Returns the current session.
-