Class DomainValuesFactoryTemplate

java.lang.Object
com.aquima.interactions.test.templates.resource.DomainValuesFactoryTemplate

public class DomainValuesFactoryTemplate extends Object
Template that can be used to create a domain values factory.
Since:
11.0
Author:
Petru Galanton
  • 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 domain
      value - the value to be added
      text - the display value
      styles - the optional presentation styles of the value
    • addDomainValue

      public void addDomainValue(String domainName, String value, String text, String... styles)
      Convenience method for adding a StringValue to a domain.
      Parameters:
      domainName - the name of the domain
      value - the short value
      text - the display value
      styles - the optional presentation styles
    • getDomain

      protected com.aquima.interactions.metamodel.DomainValues getDomain(String domainName)
    • toFactory

      public com.aquima.interactions.metamodel.IDomainValuesFactory toFactory()