WebStudio Domain Model Editor Reference

In WebStudio, using the domain model editor you can edit the domain model entries. You can also configure the domain model to inherit entries from another domain model in the project.

Configuration

In the Configuration section, you can configure the basic domain model information.

WebStudio Domain Model Editor Configuration Properties
Field Description
Description Description of the domain model
Domain Type The data type of the domain model. The values are:
  • String
  • Int
  • Long
  • Double
  • Boolean
  • DateTime
Note: You can edit the Domain Type field only if there are no domain entries in the domain model.
Inherits From Specifies the domain model from which the domain entries are inherited. Click Browse to select another domain model in the project from where you can inherit the domain entries.

Domain Entries

The Domain Entries section lists all the domain entries, that you can edit.

WebStudio Domain Model Editor Domain Entries Commands
Commands Description
Add Add a new domain entry to the domain model. The new entry is appended at the end of the domain entries list.
Remove Remove the selected domain entry from the domain model
Duplicate Create a duplicate of the selected domain entry at the of the domain entries list
WebStudio Domain Model Editor Domain Entries Columns
Column Name Description
Description Name of the domain entry
Value Displays the value of the domain entry. Value can be edited in the Details section.

Details

In the Details section you can enter the value of the domain entry based on the Domain Type.

WebStudio Domain Model Editor Details
Data Type Description
String String entries are simple text strings
Integer, Double, Long In a single domain model, you can enter single values, range values, or a mixture of both. Acceptable values for integer, long, and double domain entries are the same as for the equivalent Java datatypes.
Boolean Boolean entry values are always true or false. The description can give the meaning of the pair of choices, such as male or female, supported or unsupported, eligible or ineligible and so on.
DateTime In a single domain model, you can enter single values, range values, or a mixture of both. You specify a date and a time. Using the date picker you can select the date.