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

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.ecore.EOperation
                      extended by org.apache.openejb.jee.was.v6.java.Method

public class Method
extends EOperation

Java class for Method complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Method">
   <complexContent>
     <extension base="{http://www.eclipse.org/emf/2002/Ecore}EOperation">
       <choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="parameters" type="{java.xmi}JavaParameter"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="javaExceptions" type="{java.xmi}JavaClass"/>
         </choice>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element name="source" type="{java.xmi}Block"/>
         </choice>
       </choice>
       <attribute name="abstract" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="constructor" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="javaExceptions" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="javaVisibility" type="{java.xmi}JavaVisibilityKind" />
       <attribute name="native" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="static" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="synchronized" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean constructor
           
protected  Boolean isAbstract
           
protected  Boolean isFinal
           
protected  Boolean isNative
           
protected  Boolean isStatic
           
protected  Boolean isSynchronized
           
protected  List<JavaClass> javaClassJavaExceptions
           
protected  String javaExceptions
           
protected  JavaVisibilityEnum javaVisibility
           
protected  List<JavaParameter> parameters
           
protected  String source
           
protected  List<Block> sources
           
 
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EOperation
eClassifierEExceptions, eExceptions, eParameters
 
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
Method()
           
 
Method Summary
 List<JavaClass> getJavaClassJavaExceptions()
          Gets the value of the javaClassJavaExceptions property.
 String getJavaExceptions()
          Gets the value of the javaExceptions property.
 JavaVisibilityEnum getJavaVisibility()
          Gets the value of the javaVisibility property.
 List<JavaParameter> getParameters()
          Gets the value of the parameters property.
 String getSource()
          Gets the value of the source property.
 List<Block> getSources()
          Gets the value of the sources property.
 Boolean isConstructor()
          Gets the value of the constructor property.
 Boolean isIsAbstract()
          Gets the value of the isAbstract property.
 Boolean isIsFinal()
          Gets the value of the isFinal property.
 Boolean isIsNative()
          Gets the value of the isNative property.
 Boolean isIsStatic()
          Gets the value of the isStatic property.
 Boolean isIsSynchronized()
          Gets the value of the isSynchronized property.
 void setConstructor(Boolean value)
          Sets the value of the constructor property.
 void setIsAbstract(Boolean value)
          Sets the value of the isAbstract property.
 void setIsFinal(Boolean value)
          Sets the value of the isFinal property.
 void setIsNative(Boolean value)
          Sets the value of the isNative property.
 void setIsStatic(Boolean value)
          Sets the value of the isStatic property.
 void setIsSynchronized(Boolean value)
          Sets the value of the isSynchronized property.
 void setJavaExceptions(String value)
          Sets the value of the javaExceptions property.
 void setJavaVisibility(JavaVisibilityEnum value)
          Sets the value of the javaVisibility property.
 void setSource(String value)
          Sets the value of the source property.
 
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EOperation
getEClassifierEExceptions, getEExceptions, getEParameters, setEExceptions
 
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

parameters

protected List<JavaParameter> parameters

javaClassJavaExceptions

protected List<JavaClass> javaClassJavaExceptions

sources

protected List<Block> sources

isAbstract

protected Boolean isAbstract

constructor

protected Boolean constructor

isFinal

protected Boolean isFinal

javaExceptions

protected String javaExceptions

javaVisibility

protected JavaVisibilityEnum javaVisibility

isNative

protected Boolean isNative

source

protected String source

isStatic

protected Boolean isStatic

isSynchronized

protected Boolean isSynchronized
Constructor Detail

Method

public Method()
Method Detail

getParameters

public List<JavaParameter> getParameters()
Gets the value of the parameters 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 parameters property.

For example, to add a new item, do as follows:

 getParameters().add(newItem);
 

Objects of the following type(s) are allowed in the list JavaParameter


getJavaClassJavaExceptions

public List<JavaClass> getJavaClassJavaExceptions()
Gets the value of the javaClassJavaExceptions 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 javaClassJavaExceptions property.

For example, to add a new item, do as follows:

 getJavaClassJavaExceptions().add(newItem);
 

Objects of the following type(s) are allowed in the list JavaClass


getSources

public List<Block> getSources()
Gets the value of the sources 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 sources property.

For example, to add a new item, do as follows:

 getSources().add(newItem);
 

Objects of the following type(s) are allowed in the list Block


isIsAbstract

public Boolean isIsAbstract()
Gets the value of the isAbstract property.

Returns:
possible object is Boolean

setIsAbstract

public void setIsAbstract(Boolean value)
Sets the value of the isAbstract property.

Parameters:
value - allowed object is Boolean

isConstructor

public Boolean isConstructor()
Gets the value of the constructor property.

Returns:
possible object is Boolean

setConstructor

public void setConstructor(Boolean value)
Sets the value of the constructor property.

Parameters:
value - allowed object is Boolean

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

getJavaExceptions

public String getJavaExceptions()
Gets the value of the javaExceptions property.

Returns:
possible object is String

setJavaExceptions

public void setJavaExceptions(String value)
Sets the value of the javaExceptions property.

Parameters:
value - allowed object is String

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

isIsNative

public Boolean isIsNative()
Gets the value of the isNative property.

Returns:
possible object is Boolean

setIsNative

public void setIsNative(Boolean value)
Sets the value of the isNative property.

Parameters:
value - allowed object is Boolean

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String

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

isIsSynchronized

public Boolean isIsSynchronized()
Gets the value of the isSynchronized property.

Returns:
possible object is Boolean

setIsSynchronized

public void setIsSynchronized(Boolean value)
Sets the value of the isSynchronized property.

Parameters:
value - allowed object is Boolean


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