public enum JavaFieldAttributeName extends Enum<JavaFieldAttributeName> implements SourceAttributeName
| Enum Constant and Description | 
|---|
| ADDER_NAMEIn case the field is a collection:
 The name of the method used to add one object to the collection. | 
| ADDER_THROWSThe throws clause (excluding "throws " itself) for the adder method. | 
| DEFAULT_VALUEThe default value for the field. | 
| DESCRIPTIONThe description of the field. | 
| FIELD_ACCESS_MODIFIERThe access modifier (e.g. | 
| FIELD_CONTAINED_TYPEIn case the field is a collection:
 The type of the objects contained in the collection. | 
| FIELD_NAMEThe name of the field | 
| FIELD_TYPEThe type of the field | 
| FILLER_NAMEIn case the field can be filled somehow:
 The name of the method used to fill the field. | 
| GETTER_ACCESS_MODIFIERThe access modifier (e.g. | 
| GETTER_NAMEThe method name of the setter for the field. | 
| GETTER_THROWSThe throws clause (excluding "throws " itself) for the getter method. | 
| INITIALIZER_NAMEIn case the field must be initialized on first access,
 this contains the name of the init method. | 
| INITIALIZER_THROWSThe throws clause (excluding "throws " itself) for the initializer method. | 
| INITIALIZER_TYPEIn case the type cannot be instantiated (e.g. | 
| IS_INITIALIZED_NAMEIn case the field must be initialized on first access,
 this contains the name of the method which returns whether the field
 has been initialized. | 
| PROPERTY_NAMEThe name of the javaBean property name
 (corresponding to getter/setter name). | 
| RESETTER_NAMEIn case the field is a collection:
 The name of the method used to reset (null) the collection. | 
| SETTER_ACCESS_MODIFIERThe access modifier (e.g. | 
| SETTER_NAMEThe method name of the getter for the field. | 
| SETTER_THROWSThe throws clause (excluding "throws " itself) for the setter method. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getName()Returns the name of the referenced source element attribute. | 
| String | toString() | 
| static JavaFieldAttributeName | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static JavaFieldAttributeName[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JavaFieldAttributeName FIELD_NAME
public static final JavaFieldAttributeName FIELD_TYPE
public static final JavaFieldAttributeName FIELD_ACCESS_MODIFIER
public static final JavaFieldAttributeName FIELD_CONTAINED_TYPE
public static final JavaFieldAttributeName SETTER_NAME
public static final JavaFieldAttributeName GETTER_NAME
public static final JavaFieldAttributeName PROPERTY_NAME
public static final JavaFieldAttributeName INITIALIZER_NAME
public static final JavaFieldAttributeName INITIALIZER_TYPE
public static final JavaFieldAttributeName IS_INITIALIZED_NAME
public static final JavaFieldAttributeName ADDER_NAME
public static final JavaFieldAttributeName RESETTER_NAME
public static final JavaFieldAttributeName FILLER_NAME
public static final JavaFieldAttributeName GETTER_ACCESS_MODIFIER
public static final JavaFieldAttributeName SETTER_ACCESS_MODIFIER
public static final JavaFieldAttributeName GETTER_THROWS
public static final JavaFieldAttributeName SETTER_THROWS
public static final JavaFieldAttributeName INITIALIZER_THROWS
public static final JavaFieldAttributeName ADDER_THROWS
public static final JavaFieldAttributeName DEFAULT_VALUE
public static final JavaFieldAttributeName DESCRIPTION
public static JavaFieldAttributeName[] values()
for (JavaFieldAttributeName c : JavaFieldAttributeName.values()) System.out.println(c);
public static JavaFieldAttributeName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
getName in interface SourceAttributeNamepublic String toString()
toString in class Enum<JavaFieldAttributeName>Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.