Class FeatureManager
- java.lang.Object
-
- bio.singa.simulation.model.parameters.FeatureManager
-
- All Implemented Interfaces:
bio.singa.features.model.Featureable
public class FeatureManager extends Object implements bio.singa.features.model.Featureable
- Author:
- cl
-
-
Constructor Summary
Constructors Constructor Description FeatureManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<bio.singa.features.model.Feature<?>>getAllFeatures()Set<Class<? extends bio.singa.features.model.Feature>>getAvailableFeatures()<FeatureType extends bio.singa.features.model.Feature>
FeatureTypegetFeature(Class<FeatureType> featureTypeClass)Collection<bio.singa.features.model.Feature<?>>getFeatures()Set<Class<? extends bio.singa.features.model.Feature>>getRequiredFeatures()<FeatureType extends bio.singa.features.model.Feature>
booleanhasFeature(Class<FeatureType> featureTypeClass)<FeatureType extends bio.singa.features.model.Feature>
voidsetFeature(FeatureType feature)<FeatureType extends bio.singa.features.model.Feature>
voidsetFeature(Class<FeatureType> featureTypeClass)
-
-
-
Method Detail
-
getFeatures
public Collection<bio.singa.features.model.Feature<?>> getFeatures()
- Specified by:
getFeaturesin interfacebio.singa.features.model.Featureable
-
getFeature
public <FeatureType extends bio.singa.features.model.Feature> FeatureType getFeature(Class<FeatureType> featureTypeClass)
- Specified by:
getFeaturein interfacebio.singa.features.model.Featureable
-
setFeature
public <FeatureType extends bio.singa.features.model.Feature> void setFeature(Class<FeatureType> featureTypeClass)
- Specified by:
setFeaturein interfacebio.singa.features.model.Featureable
-
setFeature
public <FeatureType extends bio.singa.features.model.Feature> void setFeature(FeatureType feature)
- Specified by:
setFeaturein interfacebio.singa.features.model.Featureable
-
hasFeature
public <FeatureType extends bio.singa.features.model.Feature> boolean hasFeature(Class<FeatureType> featureTypeClass)
- Specified by:
hasFeaturein interfacebio.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:
getAvailableFeaturesin interfacebio.singa.features.model.Featureable
-
-