public class Method extends EOperation
 <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>
 | Modifier and Type | Field and Description | 
|---|---|
| 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 | 
eClassifierEExceptions, eExceptions, eParameterseClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description | 
|---|
| Method() | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
getEClassifierEExceptions, getEExceptions, getEParameters, setEExceptionsgetEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetName, setNamegetEAnnotationsprotected java.util.List<JavaParameter> parameters
protected java.util.List<JavaClass> javaClassJavaExceptions
protected java.util.List<Block> sources
protected java.lang.Boolean isAbstract
protected java.lang.Boolean constructor
protected java.lang.Boolean isFinal
protected java.lang.String javaExceptions
protected JavaVisibilityEnum javaVisibility
protected java.lang.Boolean isNative
protected java.lang.String source
protected java.lang.Boolean isStatic
protected java.lang.Boolean isSynchronized
public java.util.List<JavaParameter> getParameters()
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
JavaParameterpublic java.util.List<JavaClass> getJavaClassJavaExceptions()
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
JavaClasspublic java.util.List<Block> getSources()
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
Blockpublic java.lang.Boolean isIsAbstract()
Booleanpublic void setIsAbstract(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.Boolean isConstructor()
Booleanpublic void setConstructor(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.Boolean isIsFinal()
Booleanpublic void setIsFinal(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.String getJavaExceptions()
Stringpublic void setJavaExceptions(java.lang.String value)
value - allowed object is Stringpublic JavaVisibilityEnum getJavaVisibility()
JavaVisibilityEnumpublic void setJavaVisibility(JavaVisibilityEnum value)
value - allowed object is JavaVisibilityEnumpublic java.lang.Boolean isIsNative()
Booleanpublic void setIsNative(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.String getSource()
Stringpublic void setSource(java.lang.String value)
value - allowed object is Stringpublic java.lang.Boolean isIsStatic()
Booleanpublic void setIsStatic(java.lang.Boolean value)
value - allowed object is Booleanpublic java.lang.Boolean isIsSynchronized()
Booleanpublic void setIsSynchronized(java.lang.Boolean value)
value - allowed object is Boolean