Class FeatureManager

  • All Implemented Interfaces:
    bio.singa.features.model.Featureable

    public class FeatureManager
    extends Object
    implements bio.singa.features.model.Featureable
    Author:
    cl
    • Constructor Detail

      • FeatureManager

        public FeatureManager()
    • Method Detail

      • getFeatures

        public Collection<bio.singa.features.model.Feature<?>> getFeatures()
        Specified by:
        getFeatures in interface bio.singa.features.model.Featureable
      • getFeature

        public <FeatureType extends bio.singa.features.model.Feature> FeatureType getFeature​(Class<FeatureType> featureTypeClass)
        Specified by:
        getFeature in interface bio.singa.features.model.Featureable
      • setFeature

        public <FeatureType extends bio.singa.features.model.Feature> void setFeature​(Class<FeatureType> featureTypeClass)
        Specified by:
        setFeature in interface bio.singa.features.model.Featureable
      • setFeature

        public <FeatureType extends bio.singa.features.model.Feature> void setFeature​(FeatureType feature)
        Specified by:
        setFeature in interface bio.singa.features.model.Featureable
      • hasFeature

        public <FeatureType extends bio.singa.features.model.Feature> boolean hasFeature​(Class<FeatureType> featureTypeClass)
        Specified by:
        hasFeature in interface bio.singa.features.model.Featureable
      • getAllFeatures

        public Collection<bio.singa.features.model.Feature<?>> getAllFeatures()
      • getAvailableFeatures

        public Set<Class<? extends bio.singa.features.model.Feature>> getAvailableFeatures()
        Specified by:
        getAvailableFeatures in interface bio.singa.features.model.Featureable
      • getRequiredFeatures

        public Set<Class<? extends bio.singa.features.model.Feature>> getRequiredFeatures()