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  java.lang.Boolean constructor
           
protected  java.lang.Boolean isAbstract
           
protected  java.lang.Boolean isFinal
           
protected  java.lang.Boolean isNative
           
protected  java.lang.Boolean isStatic
           
protected  java.lang.Boolean isSynchronized
           
protected  java.util.List<JavaClass> javaClassJavaExceptions
           
protected  java.lang.String javaExceptions
           
protected  JavaVisibilityEnum javaVisibility
           
protected  java.util.List<JavaParameter> parameters
           
protected  java.lang.String source
           
protected  java.util.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
 java.util.List<JavaClass> getJavaClassJavaExceptions()
          Gets the value of the javaClassJavaExceptions property.
 java.lang.String getJavaExceptions()
          Gets the value of the javaExceptions property.
 JavaVisibilityEnum getJavaVisibility()
          Gets the value of the javaVisibility property.
 java.util.List<JavaParameter> getParameters()
          Gets the value of the parameters property.
 java.lang.String getSource()
          Gets the value of the source property.
 java.util.List<Block> getSources()
          Gets the value of the sources property.
 java.lang.Boolean isConstructor()
          Gets the value of the constructor property.
 java.lang.Boolean isIsAbstract()
          Gets the value of the isAbstract property.
 java.lang.Boolean isIsFinal()
          Gets the value of the isFinal property.
 java.lang.Boolean isIsNative()
          Gets the value of the isNative property.
 java.lang.Boolean isIsStatic()
          Gets the value of the isStatic property.
 java.lang.Boolean isIsSynchronized()
          Gets the value of the isSynchronized property.
 void setConstructor(java.lang.Boolean value)
          Sets the value of the constructor property.
 void setIsAbstract(java.lang.Boolean value)
          Sets the value of the isAbstract property.
 void setIsFinal(java.lang.Boolean value)
          Sets the value of the isFinal property.
 void setIsNative(java.lang.Boolean value)
          Sets the value of the isNative property.
 void setIsStatic(java.lang.Boolean value)
          Sets the value of the isStatic property.
 void setIsSynchronized(java.lang.Boolean value)
          Sets the value of the isSynchronized property.
 void setJavaExceptions(java.lang.String value)
          Sets the value of the javaExceptions property.
 void setJavaVisibility(JavaVisibilityEnum value)
          Sets the value of the javaVisibility property.
 void setSource(java.lang.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 java.util.List<JavaParameter> parameters

javaClassJavaExceptions

protected java.util.List<JavaClass> javaClassJavaExceptions

sources

protected java.util.List<Block> sources

isAbstract

protected java.lang.Boolean isAbstract

constructor

protected java.lang.Boolean constructor

isFinal

protected java.lang.Boolean isFinal

javaExceptions

protected java.lang.String javaExceptions

javaVisibility

protected JavaVisibilityEnum javaVisibility

isNative

protected java.lang.Boolean isNative

source

protected java.lang.String source

isStatic

protected java.lang.Boolean isStatic

isSynchronized

protected java.lang.Boolean isSynchronized
Constructor Detail

Method

public Method()
Method Detail

getParameters

public java.util.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 java.util.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 java.util.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 java.lang.Boolean isIsAbstract()
Gets the value of the isAbstract property.

Returns:
possible object is Boolean

setIsAbstract

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

Parameters:
value - allowed object is Boolean

isConstructor

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

Returns:
possible object is Boolean

setConstructor

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

Parameters:
value - allowed object is Boolean

isIsFinal

public java.lang.Boolean isIsFinal()
Gets the value of the isFinal property.

Returns:
possible object is Boolean

setIsFinal

public void setIsFinal(java.lang.Boolean value)
Sets the value of the isFinal property.

Parameters:
value - allowed object is Boolean

getJavaExceptions

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

Returns:
possible object is String

setJavaExceptions

public void setJavaExceptions(java.lang.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 java.lang.Boolean isIsNative()
Gets the value of the isNative property.

Returns:
possible object is Boolean

setIsNative

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

Parameters:
value - allowed object is Boolean

getSource

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

Returns:
possible object is String

setSource

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

Parameters:
value - allowed object is String

isIsStatic

public java.lang.Boolean isIsStatic()
Gets the value of the isStatic property.

Returns:
possible object is Boolean

setIsStatic

public void setIsStatic(java.lang.Boolean value)
Sets the value of the isStatic property.

Parameters:
value - allowed object is Boolean

isIsSynchronized

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

Returns:
possible object is Boolean

setIsSynchronized

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

Parameters:
value - allowed object is Boolean


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