Package repast.simphony.parameter
Annotation Interface Parameter
Marks a get or set accessor method as a Parameter.
- Version:
- $Revision$ $Date$
- Author:
- Nick Collier
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe proper natural language name for this parameter.Gets java bean style property name for this parameter. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionGets the fully qualififed name of class used to convert the return value of the annotated method to and from a String representation.Gets the default value of this Parameter.
-
Element Details
-
displayName
String displayNameThe proper natural language name for this parameter. For example, "Simple Agent Count" rather than something like "simpleAgentCount."- Returns:
- proper natural language name for this parameter.
-
usageName
String usageNameGets java bean style property name for this parameter. For example, if this annotates a "getFoo" method, then the property name is "foo."- Returns:
- java bean style property name for this parameter.
-
-
-
defaultValue
String defaultValueGets the default value of this Parameter.- Returns:
- the default value of this Parameter.
- Default:
- ""
-
converter
String converterGets the fully qualififed name of class used to convert the return value of the annotated method to and from a String representation. The class must implement repast.simphony.parameter.StringConvertor. This is only necessary if the return type is not a String, a primitive value, or one of the Object representatons of a primitive (e.g. an Integer, or Boolean).- Returns:
- Gets the convertor used to convert the return value of the annotated method to and from a String representation.
- Default:
- ""
-