Class DomainValuesFactoryTemplate
java.lang.Object
com.aquima.interactions.test.templates.resource.DomainValuesFactoryTemplate
Template that can be used to create a domain values factory.
- Since:
- 11.0
- Author:
- Petru Galanton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDomainValue
(String domainName, com.aquima.interactions.foundation.IPrimitiveValue value, com.aquima.interactions.foundation.text.IMultilingualText text, String... styles) Adds a value to a domain.void
addDomainValue
(String domainName, String value, String text, String... styles) Convenience method for adding a StringValue to a domain.protected com.aquima.interactions.metamodel.DomainValues
com.aquima.interactions.metamodel.IDomainValuesFactory
-
Constructor Details
-
DomainValuesFactoryTemplate
public DomainValuesFactoryTemplate()
-
-
Method Details
-
addDomainValue
public void addDomainValue(String domainName, com.aquima.interactions.foundation.IPrimitiveValue value, com.aquima.interactions.foundation.text.IMultilingualText text, String... styles) Adds a value to a domain.- Parameters:
domainName
- the name of the domainvalue
- the value to be addedtext
- the display valuestyles
- the optional presentation styles of the value
-
addDomainValue
Convenience method for adding a StringValue to a domain.- Parameters:
domainName
- the name of the domainvalue
- the short valuetext
- the display valuestyles
- the optional presentation styles
-
getDomain
-
toFactory
public com.aquima.interactions.metamodel.IDomainValuesFactory toFactory()
-