Class JavaClass

  • Direct Known Subclasses:
    ArrayType

    public class JavaClass
    extends EClass
    Java class for JavaClass complex type. The following schema fragment specifies the expected content contained within this class.
     <complexType name="JavaClass">
       <complexContent>
         <extension base="{http://www.eclipse.org/emf/2002/Ecore}EClass">
           <choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="implementsInterfaces" type="{java.xmi}JavaClass"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="classImport" type="{java.xmi}JavaClass"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="packageImports" type="{java.xmi}JavaPackage"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="fields" type="{java.xmi}Field"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="methods" type="{java.xmi}Method"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="initializers" type="{java.xmi}Initializer"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="declaredClasses" type="{java.xmi}JavaClass"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="declaringClass" type="{java.xmi}JavaClass"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="events" type="{java.xmi}JavaEvent"/>
             </choice>
           </choice>
           <attribute name="classImport" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="declaredClasses" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="declaringClass" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <attribute name="implementsInterfaces" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="kind" type="{java.xmi}TypeKind" />
           <attribute name="packageImports" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="public" type="{http://www.w3.org/2001/XMLSchema}boolean" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • JavaClass

        public JavaClass()
    • Method Detail

      • getJavaClassImplementsInterfaces

        public List<JavaClass> getJavaClassImplementsInterfaces()
        Gets the value of the javaClassImplementsInterfaces 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 javaClassImplementsInterfaces property. For example, to add a new item, do as follows:
         getJavaClassImplementsInterfaces().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaClass
      • getJavaClassImports

        public List<JavaClass> getJavaClassImports()
        Gets the value of the javaClassImports 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 javaClassImports property. For example, to add a new item, do as follows:
         getJavaClassImports().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaClass
      • getJavaPackageImports

        public List<JavaPackage> getJavaPackageImports()
        Gets the value of the javaPackageImports 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 javaPackageImports property. For example, to add a new item, do as follows:
         getJavaPackageImports().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaPackage
      • getFields

        public List<Field> getFields()
        Gets the value of the fields 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 fields property. For example, to add a new item, do as follows:
         getFields().add(newItem);
         
        Objects of the following type(s) are allowed in the list Field
      • getMethods

        public List<Method> getMethods()
        Gets the value of the methods 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 methods property. For example, to add a new item, do as follows:
         getMethods().add(newItem);
         
        Objects of the following type(s) are allowed in the list Method
      • getInitializers

        public List<Initializer> getInitializers()
        Gets the value of the initializers 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 initializers property. For example, to add a new item, do as follows:
         getInitializers().add(newItem);
         
        Objects of the following type(s) are allowed in the list Initializer
      • getJavaDeclaredClasses

        public List<JavaClass> getJavaDeclaredClasses()
        Gets the value of the javaDeclaredClasses 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 javaDeclaredClasses property. For example, to add a new item, do as follows:
         getJavaDeclaredClasses().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaClass
      • getJavaDeclaringClasses

        public List<JavaClass> getJavaDeclaringClasses()
        Gets the value of the javaDeclaringClasses 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 javaDeclaringClasses property. For example, to add a new item, do as follows:
         getJavaDeclaringClasses().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaClass
      • getEvents

        public List<JavaEvent> getEvents()
        Gets the value of the events 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 events property. For example, to add a new item, do as follows:
         getEvents().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaEvent
      • getClassImport

        public String getClassImport()
        Gets the value of the classImport property.
        Returns:
        possible object is String
      • setClassImport

        public void setClassImport​(String value)
        Sets the value of the classImport property.
        Parameters:
        value - allowed object is String
      • getDeclaredClasses

        public String getDeclaredClasses()
        Gets the value of the declaredClasses property.
        Returns:
        possible object is String
      • setDeclaredClasses

        public void setDeclaredClasses​(String value)
        Sets the value of the declaredClasses property.
        Parameters:
        value - allowed object is String
      • getDeclaringClass

        public String getDeclaringClass()
        Gets the value of the declaringClass property.
        Returns:
        possible object is String
      • setDeclaringClass

        public void setDeclaringClass​(String value)
        Sets the value of the declaringClass property.
        Parameters:
        value - allowed object is String
      • 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
      • getImplementsInterfaces

        public String getImplementsInterfaces()
        Gets the value of the implementsInterfaces property.
        Returns:
        possible object is String
      • setImplementsInterfaces

        public void setImplementsInterfaces​(String value)
        Sets the value of the implementsInterfaces property.
        Parameters:
        value - allowed object is String
      • getKind

        public TypeKind getKind()
        Gets the value of the kind property.
        Returns:
        possible object is TypeKind
      • setKind

        public void setKind​(TypeKind value)
        Sets the value of the kind property.
        Parameters:
        value - allowed object is TypeKind
      • getPackageImports

        public String getPackageImports()
        Gets the value of the packageImports property.
        Returns:
        possible object is String
      • setPackageImports

        public void setPackageImports​(String value)
        Sets the value of the packageImports property.
        Parameters:
        value - allowed object is String
      • isIsPublic

        public Boolean isIsPublic()
        Gets the value of the isPublic property.
        Returns:
        possible object is Boolean
      • setIsPublic

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