Class AbstractAttributeValueSyntaxFactory<T>
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.attributes.AbstractAttributeValueSyntaxFactory<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
AttributeValueSyntaxFactory<T>
public abstract class AbstractAttributeValueSyntaxFactory<T> extends java.lang.Object implements AttributeValueSyntaxFactory<T>
GenericAttributeValueSyntax
factory simplifying its creation.- Author:
- K. Benedyczak
-
-
Constructor Summary
Constructors Constructor Description AbstractAttributeValueSyntaxFactory(java.lang.String id, java.util.function.Supplier<AttributeValueSyntax<T>> instanceSupplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeValueSyntax<T>
createInstance()
java.lang.String
getId()
-
-
-
Constructor Detail
-
AbstractAttributeValueSyntaxFactory
public AbstractAttributeValueSyntaxFactory(java.lang.String id, java.util.function.Supplier<AttributeValueSyntax<T>> instanceSupplier)
-
-
Method Detail
-
getId
public java.lang.String getId()
- Specified by:
getId
in interfaceAttributeValueSyntaxFactory<T>
-
createInstance
public AttributeValueSyntax<T> createInstance()
- Specified by:
createInstance
in interfaceAttributeValueSyntaxFactory<T>
-
-