Package annotation.handler
Class AnnotationChoices
java.lang.Object
annotation.handler.AnnotationChoices
- All Implemented Interfaces:
 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 Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationOptions(String annotationName) Get an annotation options, or null if nothin in list.Get a set of data that describes all of the parameters in a classbooleanvoidsetAllowMany(boolean allowMany) voidsetAnnotionOption(String annotationName, AnnotationOptions annotationOption) Set the options for an annotation typevoidsetAnnotionOption(String annotationName, AnnotationOptions annotationOptions, boolean setSelected) Set the options for an annotation type 
- 
Field Details
- 
serialVersionUID
public static final long serialVersionUID- See Also:
 
 
 - 
 - 
Constructor Details
- 
AnnotationChoices
public AnnotationChoices() 
 - 
 - 
Method Details
- 
setAnnotionOption
public void setAnnotionOption(String annotationName, AnnotationOptions annotationOptions, boolean setSelected) Set the options for an annotation type- Parameters:
 annotationName- annotation type nameannotationOptions- optionssetSelected- set the selected option true or false.
 - 
setAnnotionOption
Set the options for an annotation type- Parameters:
 annotationName- annotation type nameannotationOptions- options
 - 
getAnnotationOptions
Get an annotation options, or null if nothin in list.- Parameters:
 annotationName- annotation type name- Returns:
 - annotation options.
 
 - 
isAllowMany
public boolean isAllowMany()- Returns:
 - the allowMany
 
 - 
setAllowMany
public void setAllowMany(boolean allowMany) - Parameters:
 allowMany- the allowMany to set
 - 
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
 getParameterSetin interfaceManagedParameters- Returns:
 - description of the parameters in a class.
 
 
 -