Class AnnotationChoices

java.lang.Object
annotation.handler.AnnotationChoices
All Implemented Interfaces:
Serializable, ManagedParameters

public class AnnotationChoices extends Object implements Serializable, ManagedParameters
Class to handle choice of annotator and any other associated options. This can be used to control which annotation(s) is/are added to data and options controlling how the annotations work.
Author:
Doug Gillespie
See Also:
  • Field Details Link icon

  • Constructor Details Link icon

    • AnnotationChoices Link icon

      public AnnotationChoices()
  • Method Details Link icon

    • setAnnotionOption Link icon

      public void setAnnotionOption(String annotationName, AnnotationOptions annotationOptions, boolean setSelected)
      Set the options for an annotation type
      Parameters:
      annotationName - annotation type name
      annotationOptions - options
      setSelected - set the selected option true or false.
    • setAnnotionOption Link icon

      public void setAnnotionOption(String annotationName, AnnotationOptions annotationOption)
      Set the options for an annotation type
      Parameters:
      annotationName - annotation type name
      annotationOptions - options
    • getAnnotationOptions Link icon

      public AnnotationOptions getAnnotationOptions(String annotationName)
      Get an annotation options, or null if nothin in list.
      Parameters:
      annotationName - annotation type name
      Returns:
      annotation options.
    • isAllowMany Link icon

      public boolean isAllowMany()
      Returns:
      the allowMany
    • setAllowMany Link icon

      public void setAllowMany(boolean allowMany)
      Parameters:
      allowMany - the allowMany to set
    • getParameterSet Link icon

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.