public class JavaClass extends EClass
<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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
classImport |
protected String |
declaredClasses |
protected String |
declaringClass |
protected List<JavaEvent> |
events |
protected List<Field> |
fields |
protected String |
implementsInterfaces |
protected List<Initializer> |
initializers |
protected Boolean |
isFinal |
protected Boolean |
isPublic |
protected List<JavaClass> |
javaClassImplementsInterfaces |
protected List<JavaClass> |
javaClassImports |
protected List<JavaClass> |
javaDeclaredClasses |
protected List<JavaClass> |
javaDeclaringClasses |
protected List<JavaPackage> |
javaPackageImports |
protected TypeKind |
kind |
protected List<Method> |
methods |
protected String |
packageImports |
eClassESuperTypes, eOperations, eStructuralFeatures, eSuperTypes, isAbstract, isInterfaceinstanceClassNamenameeAnnotations| Constructor and Description |
|---|
JavaClass() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassImport()
Gets the value of the classImport property.
|
String |
getDeclaredClasses()
Gets the value of the declaredClasses property.
|
String |
getDeclaringClass()
Gets the value of the declaringClass property.
|
List<JavaEvent> |
getEvents()
Gets the value of the events property.
|
List<Field> |
getFields()
Gets the value of the fields property.
|
String |
getImplementsInterfaces()
Gets the value of the implementsInterfaces property.
|
List<Initializer> |
getInitializers()
Gets the value of the initializers property.
|
List<JavaClass> |
getJavaClassImplementsInterfaces()
Gets the value of the javaClassImplementsInterfaces property.
|
List<JavaClass> |
getJavaClassImports()
Gets the value of the javaClassImports property.
|
List<JavaClass> |
getJavaDeclaredClasses()
Gets the value of the javaDeclaredClasses property.
|
List<JavaClass> |
getJavaDeclaringClasses()
Gets the value of the javaDeclaringClasses property.
|
List<JavaPackage> |
getJavaPackageImports()
Gets the value of the javaPackageImports property.
|
TypeKind |
getKind()
Gets the value of the kind property.
|
List<Method> |
getMethods()
Gets the value of the methods property.
|
String |
getPackageImports()
Gets the value of the packageImports property.
|
Boolean |
isIsFinal()
Gets the value of the isFinal property.
|
Boolean |
isIsPublic()
Gets the value of the isPublic property.
|
void |
setClassImport(String value)
Sets the value of the classImport property.
|
void |
setDeclaredClasses(String value)
Sets the value of the declaredClasses property.
|
void |
setDeclaringClass(String value)
Sets the value of the declaringClass property.
|
void |
setImplementsInterfaces(String value)
Sets the value of the implementsInterfaces property.
|
void |
setIsFinal(Boolean value)
Sets the value of the isFinal property.
|
void |
setIsPublic(Boolean value)
Sets the value of the isPublic property.
|
void |
setKind(TypeKind value)
Sets the value of the kind property.
|
void |
setPackageImports(String value)
Sets the value of the packageImports property.
|
getEClassESuperTypes, getEOperations, getEStructuralFeatures, getESuperTypes, isIsAbstract, isIsInterface, setESuperTypes, setIsAbstract, setIsInterfacegetInstanceClassName, setInstanceClassNamegetName, setNamegetEAnnotationsprotected List<JavaPackage> javaPackageImports
protected List<Initializer> initializers
protected String classImport
protected String declaredClasses
protected String declaringClass
protected Boolean isFinal
protected String implementsInterfaces
protected TypeKind kind
protected String packageImports
protected Boolean isPublic
public List<JavaClass> getJavaClassImplementsInterfaces()
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
JavaClasspublic List<JavaClass> getJavaClassImports()
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
JavaClasspublic List<JavaPackage> getJavaPackageImports()
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
JavaPackagepublic List<Field> getFields()
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
Fieldpublic List<Method> getMethods()
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
Methodpublic List<Initializer> getInitializers()
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
Initializerpublic List<JavaClass> getJavaDeclaredClasses()
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
JavaClasspublic List<JavaClass> getJavaDeclaringClasses()
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
JavaClasspublic List<JavaEvent> getEvents()
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
JavaEventpublic String getClassImport()
Stringpublic void setClassImport(String value)
value - allowed object is Stringpublic String getDeclaredClasses()
Stringpublic void setDeclaredClasses(String value)
value - allowed object is Stringpublic String getDeclaringClass()
Stringpublic void setDeclaringClass(String value)
value - allowed object is Stringpublic Boolean isIsFinal()
Booleanpublic void setIsFinal(Boolean value)
value - allowed object is Booleanpublic String getImplementsInterfaces()
Stringpublic void setImplementsInterfaces(String value)
value - allowed object is Stringpublic TypeKind getKind()
TypeKindpublic void setKind(TypeKind value)
value - allowed object is TypeKindpublic String getPackageImports()
Stringpublic void setPackageImports(String value)
value - allowed object is Stringpublic Boolean isIsPublic()
BooleanCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.