Package com.orchestranetworks.addon.dml
Class DataModelSpec
- java.lang.Object
-
- com.orchestranetworks.addon.dml.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 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 DataModelSource
getDataModelSource()
Returns an instance ofDataModelSource
.com.orchestranetworks.instance.Repository
getRepository()
Returns the current repository.com.orchestranetworks.service.Session
getSession()
Returns the current session.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.boolean
isSavedToDynamicDataModelingDataset()
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.
-
-
-
Method Detail
-
getDataModelSource
public DataModelSource getDataModelSource()
Returns an instance ofDataModelSource
.
-
setDataModelSource
public void setDataModelSource(DataModelSource dataModelSource)
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.
-
-