Class Field
-
public class Field extends ETypedElement
Java class for Field complex type. The following schema fragment specifies the expected content contained within this class.<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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Block>initializersprotected BooleanisFinalprotected BooleanisStaticprotected BooleanisTransientprotected BooleanisVolatileprotected JavaVisibilityEnumjavaVisibility-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.ETypedElement
eClassifierETypes, eType, lowerBound, ordered, unique, upperBound
-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
name
-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
eAnnotations
-
-
Constructor Summary
Constructors Constructor Description Field()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Block>getInitializers()Gets the value of the initializers property.JavaVisibilityEnumgetJavaVisibility()Gets the value of the javaVisibility property.BooleanisIsFinal()Gets the value of the isFinal property.BooleanisIsStatic()Gets the value of the isStatic property.BooleanisIsTransient()Gets the value of the isTransient property.BooleanisIsVolatile()Gets the value of the isVolatile property.voidsetIsFinal(Boolean value)Sets the value of the isFinal property.voidsetIsStatic(Boolean value)Sets the value of the isStatic property.voidsetIsTransient(Boolean value)Sets the value of the isTransient property.voidsetIsVolatile(Boolean value)Sets the value of the isVolatile property.voidsetJavaVisibility(JavaVisibilityEnum value)Sets the value of the javaVisibility property.-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.ETypedElement
getEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
getName, setName
-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
getEAnnotations
-
-
-
-
Method Detail
-
getInitializers
public List<Block> getInitializers()
Gets the value of the initializers property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod 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 listBlock
-
isIsFinal
public Boolean isIsFinal()
Gets the value of the isFinal property.- Returns:
- possible object is
Boolean
-
setIsFinal
public void setIsFinal(Boolean value)
Sets the value of the isFinal property.- Parameters:
value- allowed object isBoolean
-
getJavaVisibility
public JavaVisibilityEnum getJavaVisibility()
Gets the value of the javaVisibility property.- Returns:
- possible object is
JavaVisibilityEnum
-
setJavaVisibility
public void setJavaVisibility(JavaVisibilityEnum value)
Sets the value of the javaVisibility property.- Parameters:
value- allowed object isJavaVisibilityEnum
-
isIsStatic
public Boolean isIsStatic()
Gets the value of the isStatic property.- Returns:
- possible object is
Boolean
-
setIsStatic
public void setIsStatic(Boolean value)
Sets the value of the isStatic property.- Parameters:
value- allowed object isBoolean
-
isIsTransient
public Boolean isIsTransient()
Gets the value of the isTransient property.- Returns:
- possible object is
Boolean
-
setIsTransient
public void setIsTransient(Boolean value)
Sets the value of the isTransient property.- Parameters:
value- allowed object isBoolean
-
isIsVolatile
public Boolean isIsVolatile()
Gets the value of the isVolatile property.- Returns:
- possible object is
Boolean
-
-