org.apache.openejb.jee.was.v6.java
Class Field

java.lang.Object
  extended by org.apache.openejb.jee.was.v6.ecore.EObject
      extended by org.apache.openejb.jee.was.v6.ecore.EModelElement
          extended by org.apache.openejb.jee.was.v6.ecore.ENamedElement
              extended by org.apache.openejb.jee.was.v6.ecore.ETypedElement
                  extended by org.apache.openejb.jee.was.v6.java.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
protected  List<Block> initializers
           
protected  Boolean isFinal
           
protected  Boolean isStatic
           
protected  Boolean isTransient
           
protected  Boolean isVolatile
           
protected  JavaVisibilityEnum javaVisibility
           
 
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
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
extensions, href, id, idref, label, type, uuid, version
 
Constructor Summary
Field()
           
 
Method Summary
 List<Block> getInitializers()
          Gets the value of the initializers property.
 JavaVisibilityEnum getJavaVisibility()
          Gets the value of the javaVisibility property.
 Boolean isIsFinal()
          Gets the value of the isFinal property.
 Boolean isIsStatic()
          Gets the value of the isStatic property.
 Boolean isIsTransient()
          Gets the value of the isTransient property.
 Boolean isIsVolatile()
          Gets the value of the isVolatile property.
 void setIsFinal(Boolean value)
          Sets the value of the isFinal property.
 void setIsStatic(Boolean value)
          Sets the value of the isStatic property.
 void setIsTransient(Boolean value)
          Sets the value of the isTransient property.
 void setIsVolatile(Boolean value)
          Sets the value of the isVolatile property.
 void setJavaVisibility(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
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EObject
getExtensions, getHref, getId, getIdref, getLabel, getType, getUuid, getVersion, setHref, setId, setIdref, setLabel, setType, setUuid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

initializers

protected List<Block> initializers

isFinal

protected Boolean isFinal

javaVisibility

protected JavaVisibilityEnum javaVisibility

isStatic

protected Boolean isStatic

isTransient

protected Boolean isTransient

isVolatile

protected Boolean isVolatile
Constructor Detail

Field

public Field()
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 a 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 Block


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 is Boolean

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 is JavaVisibilityEnum

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 is Boolean

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 is Boolean

isIsVolatile

public Boolean isIsVolatile()
Gets the value of the isVolatile property.

Returns:
possible object is Boolean

setIsVolatile

public void setIsVolatile(Boolean value)
Sets the value of the isVolatile property.

Parameters:
value - allowed object is Boolean


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.