Package ffx.utilities
Annotation Interface FFXProperty
@Retention(RUNTIME)
@Documented
@Target({TYPE,FIELD})
@Repeatable(FFXProperties.class)
public @interface FFXProperty
The FFXProperty Annotation should be used to document fields that are set using property files,
keyword files, force field parameter files and the Java property system.
- Author:
- Michael J. Schnieders
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionA description of this FFXProperty.The name of this FFXProperty.The Property Group this FFXKeyword belongs to. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass
<?> The Class used to represent the value of this FFXProperty.The default value for this FFXProperty.
-
Element Details
-
name
String nameThe name of this FFXProperty.- Returns:
- The name of this FFXProperty.
-
clazz
Class<?> clazzThe Class used to represent the value of this FFXProperty.The default is an instance of Double, which may be stored as a primitive double.
- Returns:
- The Class used to represent this FFXProperty.
- Default:
java.lang.Double.class
-
propertyGroup
PropertyGroup propertyGroupThe Property Group this FFXKeyword belongs to.- Returns:
- The property group for this FFXProperty.
-
defaultValue
String defaultValueThe default value for this FFXProperty. If there is no default value, then the field is an empty String.- Returns:
- The default value of this Property.
- Default:
""
-
description
String descriptionA description of this FFXProperty.- Returns:
- The description.
-