Class FeatureProviderReference
- All Implemented Interfaces:
Provider<Feature<FeatureInput>>
Provides an existing
Feature
identified by its name and optionally a feature-list in
which is resides.- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.getId()
The name of the feature to reference.The name of the list in which the feature referenced byid
resides.void
The name of the feature to reference.void
setReferencesList
(String referencesList) The name of the list in which the feature referenced byid
resides.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FeatureProviderReference
public FeatureProviderReference()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getId
The name of the feature to reference. -
setId
The name of the feature to reference. -
getReferencesList
The name of the list in which the feature referenced byid
resides. -
setReferencesList
The name of the list in which the feature referenced byid
resides.
-