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>
     
    • Constructor Detail

      • Method

        public Method()
    • 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 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 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 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 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 is Boolean
      • 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 is Boolean
      • 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 is Boolean
      • 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 is String
      • setJavaVisibility

        public void setJavaVisibility​(JavaVisibilityEnum value)
        Sets the value of the javaVisibility property.
        Parameters:
        value - allowed object is JavaVisibilityEnum
      • 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 is Boolean
      • 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 is String
      • 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 is Boolean
      • isIsSynchronized

        public Boolean isIsSynchronized()
        Gets the value of the isSynchronized property.
        Returns:
        possible object is Boolean
      • setIsSynchronized

        public void setIsSynchronized​(Boolean value)
        Sets the value of the isSynchronized property.
        Parameters:
        value - allowed object is Boolean