All Downloads are FREE. Search and download functionalities are using the official Maven repository.

desc.CreateConfigDomainObject.txt Maven / Gradle / Ivy

The newest version!
Create and return a configuration domain object. With this object, you can retrieve properties by using the object methods.

| *Method* | *Description* |
| getDomain | Returns the associated domain. |
| get _[ property ]_      | Returns the property {{String}} value. |
| getInteger _[ property ]_ | Returns the property {{Integer}} value. |
| getLong _[ property ]_ | Returns the property {{Long}} value. |
| getDouble _[ property ]_ | Returns the property {{Double}} value. |
| getBoolean _[ property ]_ | Returns the property {{Boolean}} value. |

Example:

{{classpath:config/domain1.properties}}

| stringProperty=string value
| integerProperty=100
| longProperty=100000
| doubleProperty=10.53
| booleanProperty=false

_usage_

| ${domain1}= | `Create Config Domain Object` | domain1                      |

=>

| ${domain1.getDomain()} = "domain1"
| ${domain1.get('stringProperty')} = "stringProperty"
| ${domain1.getInteger('integerProperty')} = 100
| ${domain1.getLong('longProperty')} = 100000
| ${domain1.getDouble('doubleProperty')} = 10.53
| ${domain1.getBoolean('booleanProperty')} = false







© 2015 - 2025 Weber Informatics LLC | Privacy Policy