Class LinkedCustomSchemaElementFactory

java.lang.Object
com.aquima.interactions.portal.model.factory.LinkedCustomSchemaElementFactory
All Implemented Interfaces:
ICustomSchemaElementFactory, Serializable

public final class LinkedCustomSchemaElementFactory extends Object implements ICustomSchemaElementFactory
Custom schema element factory implementation that combines two factories.
Since:
9.0
Author:
Jon van Leuven
See Also:
  • Method Details

    • createFor

      public static ICustomSchemaElementFactory createFor(ICustomSchemaElementFactory factory, ICustomSchemaElementFactory defaultFactory)
      This method returns a custom schema composer factory implementation that combines both the schema factories that are passed to this method.
      Parameters:
      factory - The custom schema element factory that should be used first(optional).
      defaultFactory - The custom schema element factory that should be used when the first did not supply an implementation (mandatory).
      Returns:
      a custom schema element factory implementation that combines both the factories that are passed to this method.
    • getCustomSchemaElement

      public ICustomSchemaElement getCustomSchemaElement(String name)
      Description copied from interface: ICustomSchemaElementFactory
      This method returns the custom schema element implementation for the given name.
      Specified by:
      getCustomSchemaElement in interface ICustomSchemaElementFactory
      Parameters:
      name - The name, may not be null.
      Returns:
      The implementation, never null.