Class PrependName
- All Implemented Interfaces:
Provider<FeatureList<FeatureInput>>
Prepends a string to the custom-name of each feature in a list.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.getItem()
Provides the features and names before any prepending.The string to prepend to the custom-name of each feature.void
Provides the features and names before any prepending.void
The string to prepend to the custom-name of each feature.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
-
PrependName
public PrependName()
-
-
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.
-
getItem
Provides the features and names before any prepending. -
setItem
Provides the features and names before any prepending. -
getPrefix
The string to prepend to the custom-name of each feature. -
setPrefix
The string to prepend to the custom-name of each feature.
-