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 Summary
Modifier and TypeMethodDescriptionstatic 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.getCustomSchemaElement
(String name) This method returns the custom schema element implementation for the given name.
-
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
Description copied from interface:ICustomSchemaElementFactory
This method returns the custom schema element implementation for the given name.- Specified by:
getCustomSchemaElement
in interfaceICustomSchemaElementFactory
- Parameters:
name
- The name, may not be null.- Returns:
- The implementation, never null.
-