Class DeriveFromPair
Object
org.anchoranalysis.bean.AnchorBean<B>
org.anchoranalysis.bean.initializable.InitializableBean<T,org.anchoranalysis.feature.initialization.FeatureRelatedInitialization>
org.anchoranalysis.feature.bean.FeatureRelatedBean<B>
org.anchoranalysis.feature.bean.provider.FeatureProviderBean<org.anchoranalysis.feature.bean.list.FeatureListProvider<T>,org.anchoranalysis.feature.bean.list.FeatureList<T>>
org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>
org.anchoranalysis.plugin.image.feature.bean.list.pair.DeriveFromPair
- All Implemented Interfaces:
org.anchoranalysis.bean.Provider<org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>>
public class DeriveFromPair
extends org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>
Embeds each feature in a
FeatureDeriveFromPair feature (first, second or
merge) and prepends with a string.- Author:
- Owen Feehan
-
Constructor Summary
Constructors Constructor Description DeriveFromPair() -
Method Summary
Modifier and Type Method Description org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputPairObjects>get()org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputSingleObject>getItem()StringgetPrefix()StringgetSelect()Either "merged" or "first" or "second" indicating which feature to delegate fromvoidsetItem(org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> item)voidsetPrefix(String prefix)voidsetSelect(String select)Either "merged" or "first" or "second" indicating which feature to delegate fromMethods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
-
Constructor Details
-
DeriveFromPair
public DeriveFromPair()
-
-
Method Details
-
get
public org.anchoranalysis.feature.bean.list.FeatureList<org.anchoranalysis.image.feature.input.FeatureInputPairObjects> get() throws org.anchoranalysis.bean.xml.exception.ProvisionFailedException- Throws:
org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
getItem
public org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> getItem() -
setItem
public void setItem(org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> item) -
getPrefix
-
setPrefix
-
getSelect
Either "merged" or "first" or "second" indicating which feature to delegate from -
setSelect
Either "merged" or "first" or "second" indicating which feature to delegate from
-