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, eParameters
eClassifierETypes, eType, lowerBound, ordered, unique, upperBound
name
eAnnotations
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, setEExceptions
getEClassifierETypes, getEType, getLowerBound, getUpperBound, isOrdered, isUnique, setEType, setLowerBound, setOrdered, setUnique, setUpperBound
getName, setName
getEAnnotations
protected 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
JavaParameter
public 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
JavaClass
public 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
Block
public java.lang.Boolean isIsAbstract()
Boolean
public void setIsAbstract(java.lang.Boolean value)
value
- allowed object is Boolean
public java.lang.Boolean isConstructor()
Boolean
public void setConstructor(java.lang.Boolean value)
value
- allowed object is Boolean
public java.lang.Boolean isIsFinal()
Boolean
public void setIsFinal(java.lang.Boolean value)
value
- allowed object is Boolean
public java.lang.String getJavaExceptions()
String
public void setJavaExceptions(java.lang.String value)
value
- allowed object is String
public JavaVisibilityEnum getJavaVisibility()
JavaVisibilityEnum
public void setJavaVisibility(JavaVisibilityEnum value)
value
- allowed object is JavaVisibilityEnum
public java.lang.Boolean isIsNative()
Boolean
public void setIsNative(java.lang.Boolean value)
value
- allowed object is Boolean
public java.lang.String getSource()
String
public void setSource(java.lang.String value)
value
- allowed object is String
public java.lang.Boolean isIsStatic()
Boolean
public void setIsStatic(java.lang.Boolean value)
value
- allowed object is Boolean
public java.lang.Boolean isIsSynchronized()
Boolean
public void setIsSynchronized(java.lang.Boolean value)
value
- allowed object is Boolean