Class 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
Fields Modifier and Type Field Description protected Booleanconstructorprotected BooleanisAbstractprotected BooleanisFinalprotected BooleanisNativeprotected BooleanisStaticprotected BooleanisSynchronizedprotected List<JavaClass>javaClassJavaExceptionsprotected StringjavaExceptionsprotected JavaVisibilityEnumjavaVisibilityprotected List<JavaParameter>parametersprotected Stringsourceprotected 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
-
-
Constructor Summary
Constructors Constructor Description Method()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JavaClass>getJavaClassJavaExceptions()Gets the value of the javaClassJavaExceptions property.StringgetJavaExceptions()Gets the value of the javaExceptions property.JavaVisibilityEnumgetJavaVisibility()Gets the value of the javaVisibility property.List<JavaParameter>getParameters()Gets the value of the parameters property.StringgetSource()Gets the value of the source property.List<Block>getSources()Gets the value of the sources property.BooleanisConstructor()Gets the value of the constructor property.BooleanisIsAbstract()Gets the value of the isAbstract property.BooleanisIsFinal()Gets the value of the isFinal property.BooleanisIsNative()Gets the value of the isNative property.BooleanisIsStatic()Gets the value of the isStatic property.BooleanisIsSynchronized()Gets the value of the isSynchronized property.voidsetConstructor(Boolean value)Sets the value of the constructor property.voidsetIsAbstract(Boolean value)Sets the value of the isAbstract property.voidsetIsFinal(Boolean value)Sets the value of the isFinal property.voidsetIsNative(Boolean value)Sets the value of the isNative property.voidsetIsStatic(Boolean value)Sets the value of the isStatic property.voidsetIsSynchronized(Boolean value)Sets the value of the isSynchronized property.voidsetJavaExceptions(String value)Sets the value of the javaExceptions property.voidsetJavaVisibility(JavaVisibilityEnum value)Sets the value of the javaVisibility property.voidsetSource(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
-
-
-
-
Field Detail
-
parameters
protected List<JavaParameter> parameters
-
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
-
-
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 asetmethod 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 listJavaParameter
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listBlock
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isString
-
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 isJavaVisibilityEnum
-
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 isBoolean
-
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 isString
-
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 isBoolean
-
isIsSynchronized
public Boolean isIsSynchronized()
Gets the value of the isSynchronized property.- Returns:
- possible object is
Boolean
-
-