    001    package calhoun.analysis.crf;
    002
    003    import calhoun.analysis.crf.CacheStrategySpec.CacheStrategy;
    004
    005    /** base class for feature implementations.  Takes care of some of the details and bookkeeping involved in
    006     * writing a feature.
    007     */
    008    public abstract class AbstractFeatureManager<InputType> implements FeatureManager<InputType> {
    009
    010            String inputComponent;
    011
    012            public CacheStrategySpec getCacheStrategy() {
    013                    return new CacheStrategySpec(CacheStrategy.UNSPECIFIED);
    014            }
    015
    016            public String getInputComponent() {
    017                    return inputComponent;
    018            }
    019
    020            public void setInputComponent(String inputComponent) {
    021                    this.inputComponent = inputComponent;
    022            }
    023    }