Class DefinedNamed<T extends FeatureInput>
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<FeatureListProvider<T>,FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<T>
org.anchoranalysis.feature.bean.list.ReferencingFeatureListProvider<T>
org.anchoranalysis.feature.bean.list.DefinedNamed<T>
- Type Parameters:
T- the feature input-type
- All Implemented Interfaces:
Provider<FeatureList<T>>
public class DefinedNamed<T extends FeatureInput> extends ReferencingFeatureListProvider<T>
Specifies features via a list of names and associated with features.
The associated name is assigned to each feature it is associated with.
Note that if multiple features are associated with the same name (i.e. multiple entries in the
list in NamedBean<FeatureListProvider<T>> this can result with multiple features with an
identical custom-name.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description DefinedNamed() -
Method Summary
Modifier and Type Method Description FeatureList<T>get()List<NamedBean<FeatureListProvider<T>>>getList()A list ofFeatureListProviders with an associated name.voidsetList(List<NamedBean<FeatureListProvider<T>>> list)A list ofFeatureListProviders with an associated name.Methods inherited from class org.anchoranalysis.feature.bean.list.ReferencingFeatureListProvider
getReferences, onInitialization, setReferencesMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
DefinedNamed
public DefinedNamed()
-
-
Method Details
-
get
- Throws:
ProvisionFailedException
-
getList
A list ofFeatureListProviders with an associated name. -
setList
A list ofFeatureListProviders with an associated name.
-