public final class DataModelSpec extends Object
Constructor and Description |
---|
DataModelSpec(com.orchestranetworks.instance.Repository repository,
com.orchestranetworks.service.Session session) |
Modifier and Type | Method and Description |
---|---|
DataModelSource |
getDataModelSource()
Returns an instance of
DataModelSource . |
com.orchestranetworks.instance.Repository |
getRepository()
Returns the current repository.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current session.
|
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. |
boolean |
isSavedToDynamicDataModelingDataset()
Returns
true if the data model parsed from the DataModelSource is saved to the Dynamic data modeling dataset. |
void |
setDataModelSource(DataModelSource dataModelSource)
Sets an instance of
DataModelSource . |
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 the
DataModelSource is saved to the Dynamic data modeling dataset. |
public DataModelSpec(com.orchestranetworks.instance.Repository repository, com.orchestranetworks.service.Session session)
public DataModelSource getDataModelSource()
DataModelSource
.public void setDataModelSource(DataModelSource dataModelSource)
DataModelSource
.public boolean isSavedToDynamicDataModelingDataset()
true
if the data model parsed from the DataModelSource
is saved to the Dynamic data modeling dataset.public void setSavedToDynamicDataModelingDataset(boolean savedToDynamicDataModelingDataset)
DataModelSource
is saved to the Dynamic data modeling dataset. Default value is false
.public boolean isFieldNameForLabelApplied()
true
if the field name is used for the field label when saving the data model configuration in the Dynamic data modeling dataset.public void setFieldNameForLabelApplied(boolean fieldNameForLabelApplied)
true
.public com.orchestranetworks.instance.Repository getRepository()
public com.orchestranetworks.service.Session getSession()