Class RecommendationEngineFactoryImplBase<T>
- java.lang.Object
-
- de.tudarmstadt.ukp.inception.recommendation.api.recommender.RecommendationEngineFactoryImplBase<T>
-
- All Implemented Interfaces:
RecommendationEngineFactory<T>
public abstract class RecommendationEngineFactoryImplBase<T> extends java.lang.Object implements RecommendationEngineFactory<T>
-
-
Constructor Summary
Constructors Constructor Description RecommendationEngineFactoryImplBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
createTraits()
org.apache.wicket.Component
createTraitsEditor(java.lang.String aId, org.apache.wicket.model.IModel<Recommender> aModel)
boolean
isDeprecated()
T
readTraits(Recommender aRecommender)
void
writeTraits(Recommender aRecommender, T aTraits)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.tudarmstadt.ukp.inception.recommendation.api.recommender.RecommendationEngineFactory
accepts, build, getId, getName, isEvaluable, isMultipleRecommendationProvider
-
-
-
-
Method Detail
-
createTraitsEditor
public org.apache.wicket.Component createTraitsEditor(java.lang.String aId, org.apache.wicket.model.IModel<Recommender> aModel)
- Specified by:
createTraitsEditor
in interfaceRecommendationEngineFactory<T>
-
createTraits
public T createTraits()
- Specified by:
createTraits
in interfaceRecommendationEngineFactory<T>
-
isDeprecated
public boolean isDeprecated()
- Specified by:
isDeprecated
in interfaceRecommendationEngineFactory<T>
- Returns:
- True if the recommender is deprecated, i.e. users should not create new recommenders based on this factory
-
readTraits
public T readTraits(Recommender aRecommender)
- Specified by:
readTraits
in interfaceRecommendationEngineFactory<T>
-
writeTraits
public void writeTraits(Recommender aRecommender, T aTraits)
- Specified by:
writeTraits
in interfaceRecommendationEngineFactory<T>
-
-