public class Field extends ETypedElement
 <complexType name="Field">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}ETypedElement">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="initializer" type="{java.xmi}Block"/>
       </choice>
       <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="javaVisibility" type="{java.xmi}JavaVisibilityKind" />
       <attribute name="static" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="transient" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="volatile" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 | Modifier and Type | Field and Description | 
|---|---|
| protected java.util.List<Block> | initializers | 
| protected java.lang.Boolean | isFinal | 
| protected java.lang.Boolean | isStatic | 
| protected java.lang.Boolean | isTransient | 
| protected java.lang.Boolean | isVolatile | 
| protected JavaVisibilityEnum | javaVisibility | 
eClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description | 
|---|
| Field() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.List<Block> | getInitializers()Gets the value of the initializers property. | 
| JavaVisibilityEnum | getJavaVisibility()Gets the value of the javaVisibility property. | 
| java.lang.Boolean | isIsFinal()Gets the value of the isFinal property. | 
| java.lang.Boolean | isIsStatic()Gets the value of the isStatic property. | 
| java.lang.Boolean | isIsTransient()Gets the value of the isTransient property. | 
| java.lang.Boolean | isIsVolatile()Gets the value of the isVolatile property. | 
| void | setIsFinal(java.lang.Boolean value)Sets the value of the isFinal property. | 
| void | setIsStatic(java.lang.Boolean value)Sets the value of the isStatic property. | 
| void | setIsTransient(java.lang.Boolean value)Sets the value of the isTransient property. | 
| void | setIsVolatile(java.lang.Boolean value)Sets the value of the isVolatile property. | 
| void | setJavaVisibility(JavaVisibilityEnum value)Sets the value of the javaVisibility property. | 
getEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetName, setNamegetEAnnotationsprotected java.util.List<Block> initializers
protected java.lang.Boolean isFinal
protected JavaVisibilityEnum javaVisibility
protected java.lang.Boolean isStatic
protected java.lang.Boolean isTransient
protected java.lang.Boolean isVolatile
public java.util.List<Block> getInitializers()
set method for the initializers property.
 For example, to add a new item, do as follows:
 getInitializers().add(newItem);Objects of the following type(s) are allowed in the list
Blockpublic java.lang.Boolean isIsFinal()
Booleanpublic void setIsFinal(java.lang.Boolean value)
value - allowed object is Booleanpublic JavaVisibilityEnum getJavaVisibility()
JavaVisibilityEnumpublic void setJavaVisibility(JavaVisibilityEnum value)
value - allowed object is JavaVisibilityEnumpublic java.lang.Boolean isIsStatic()
Booleanpublic void setIsStatic(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.Boolean isIsTransient()
Booleanpublic void setIsTransient(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.Boolean isIsVolatile()
Booleanpublic void setIsVolatile(java.lang.Boolean value)
value - allowed object is Boolean