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 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 |
eClassifierEExceptions, eExceptions, eParameterseClassifierETypes, eType, lowerBound, ordered, unique, upperBoundnameeAnnotations| Constructor and Description |
|---|
Method() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getEClassifierEExceptions, getEExceptions, getEParameters, setEExceptionsgetEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetName, setNamegetEAnnotationsprotected List<JavaParameter> parameters
protected Boolean isAbstract
protected Boolean constructor
protected Boolean isFinal
protected String javaExceptions
protected JavaVisibilityEnum javaVisibility
protected Boolean isNative
protected String source
protected Boolean isStatic
protected Boolean isSynchronized
public 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 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 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 Boolean isIsAbstract()
Booleanpublic void setIsAbstract(Boolean value)
value - allowed object is Booleanpublic Boolean isConstructor()
Booleanpublic void setConstructor(Boolean value)
value - allowed object is Booleanpublic Boolean isIsFinal()
Booleanpublic void setIsFinal(Boolean value)
value - allowed object is Booleanpublic String getJavaExceptions()
Stringpublic void setJavaExceptions(String value)
value - allowed object is Stringpublic JavaVisibilityEnum getJavaVisibility()
JavaVisibilityEnumpublic void setJavaVisibility(JavaVisibilityEnum value)
value - allowed object is JavaVisibilityEnumpublic Boolean isIsNative()
Booleanpublic void setIsNative(Boolean value)
value - allowed object is Booleanpublic String getSource()
Stringpublic void setSource(String value)
value - allowed object is Stringpublic Boolean isIsStatic()
Booleanpublic void setIsStatic(Boolean value)
value - allowed object is Booleanpublic Boolean isIsSynchronized()
BooleanCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.