Class DefineSingle<T extends FeatureInput>
- Type Parameters:
T
- the feature input-type
- All Implemented Interfaces:
Provider<FeatureList<T>>
Specifies a single feature directly without assigning any custom-naming.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.feature.bean.list.ReferencingFeatureListProvider
getReferences, onInitialization, setReferences
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
DefineSingle
public DefineSingle() -
DefineSingle
Creates a newDefineSingle
instance.- Parameters:
item
- The sole feature that forms the list.
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
-
getItem
The sole feature that forms the list. -
setItem
The sole feature that forms the list.
-