Class JavaModel.Method

  • Enclosing class:
    JavaModel

    public static class JavaModel.Method
    extends Object

    Java-Klasse für anonymous complex type.

    Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="argument" maxOccurs="unbounded" minOccurs="0">
               <complexType>
                 <simpleContent>
                   <extension base="<http://www.w3.org/2001/XMLSchema>string">
                     <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
                   </extension>
                 </simpleContent>
               </complexType>
             </element>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Method

        public Method()
    • Method Detail

      • getArguments

        public List<JavaModel.Method.Argument> getArguments()
        Gets the value of the arguments 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 arguments property.

        For example, to add a new item, do as follows:

            getArguments().add(newItem);
         

        Objects of the following type(s) are allowed in the list JavaModel.Method.Argument

      • getName

        public String getName()
        Ruft den Wert der name-Eigenschaft ab.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Legt den Wert der name-Eigenschaft fest.
        Parameters:
        value - allowed object is String