public class DomainModelSetting
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DomainModelSetting(java.lang.String unit,
java.lang.String className,
AbstractDomainModel domainModel)
Instantiates a new domain model setting.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Returns the domain models class name.
|
AbstractDomainModel |
getDomainModel()
Returns the default domain model.
|
java.lang.String |
getUnit()
Gets the unit.
|
void |
setClassName(java.lang.String className)
Sets the class name for the domain model.
|
void |
setDomainModel(AbstractDomainModel domainModel)
Sets the default domain model.
|
void |
setUnit(java.lang.String unit)
Sets the unit.
|
public DomainModelSetting(java.lang.String unit, java.lang.String className, AbstractDomainModel domainModel)
unit
- the unitclassName
- the class namedomainModel
- the domain modelpublic java.lang.String getClassName()
public void setClassName(java.lang.String className)
className
- the className to setpublic java.lang.String getUnit()
public void setUnit(java.lang.String unit)
unit
- the new unitpublic AbstractDomainModel getDomainModel()
public void setDomainModel(AbstractDomainModel domainModel)
domainModel
- the domainModel to set