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()  
    String getPrefix()  
    String getSelect()
    Either "merged" or "first" or "second" indicating which feature to delegate from
    void setItem​(org.anchoranalysis.feature.bean.list.FeatureListProvider<org.anchoranalysis.image.feature.input.FeatureInputSingleObject> item)  
    void setPrefix​(String prefix)  
    void setSelect​(String select)
    Either "merged" or "first" or "second" indicating which feature to delegate from

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • 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

      public String getPrefix()
    • setPrefix

      public void setPrefix​(String prefix)
    • getSelect

      public String getSelect()
      Either "merged" or "first" or "second" indicating which feature to delegate from
    • setSelect

      public void setSelect​(String select)
      Either "merged" or "first" or "second" indicating which feature to delegate from