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 java.lang.String |
classImport |
protected java.lang.String |
declaredClasses |
protected java.lang.String |
declaringClass |
protected java.util.List<JavaEvent> |
events |
protected java.util.List<Field> |
fields |
protected java.lang.String |
implementsInterfaces |
protected java.util.List<Initializer> |
initializers |
protected java.lang.Boolean |
isFinal |
protected java.lang.Boolean |
isPublic |
protected java.util.List<JavaClass> |
javaClassImplementsInterfaces |
protected java.util.List<JavaClass> |
javaClassImports |
protected java.util.List<JavaClass> |
javaDeclaredClasses |
protected java.util.List<JavaClass> |
javaDeclaringClasses |
protected java.util.List<JavaPackage> |
javaPackageImports |
protected TypeKind |
kind |
protected java.util.List<Method> |
methods |
protected java.lang.String |
packageImports |
eClassESuperTypes, eOperations, eStructuralFeatures, eSuperTypes, isAbstract, isInterface
instanceClassName
name
eAnnotations
Constructor and Description |
---|
JavaClass() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassImport()
Gets the value of the classImport property.
|
java.lang.String |
getDeclaredClasses()
Gets the value of the declaredClasses property.
|
java.lang.String |
getDeclaringClass()
Gets the value of the declaringClass property.
|
java.util.List<JavaEvent> |
getEvents()
Gets the value of the events property.
|
java.util.List<Field> |
getFields()
Gets the value of the fields property.
|
java.lang.String |
getImplementsInterfaces()
Gets the value of the implementsInterfaces property.
|
java.util.List<Initializer> |
getInitializers()
Gets the value of the initializers property.
|
java.util.List<JavaClass> |
getJavaClassImplementsInterfaces()
Gets the value of the javaClassImplementsInterfaces property.
|
java.util.List<JavaClass> |
getJavaClassImports()
Gets the value of the javaClassImports property.
|
java.util.List<JavaClass> |
getJavaDeclaredClasses()
Gets the value of the javaDeclaredClasses property.
|
java.util.List<JavaClass> |
getJavaDeclaringClasses()
Gets the value of the javaDeclaringClasses property.
|
java.util.List<JavaPackage> |
getJavaPackageImports()
Gets the value of the javaPackageImports property.
|
TypeKind |
getKind()
Gets the value of the kind property.
|
java.util.List<Method> |
getMethods()
Gets the value of the methods property.
|
java.lang.String |
getPackageImports()
Gets the value of the packageImports property.
|
java.lang.Boolean |
isIsFinal()
Gets the value of the isFinal property.
|
java.lang.Boolean |
isIsPublic()
Gets the value of the isPublic property.
|
void |
setClassImport(java.lang.String value)
Sets the value of the classImport property.
|
void |
setDeclaredClasses(java.lang.String value)
Sets the value of the declaredClasses property.
|
void |
setDeclaringClass(java.lang.String value)
Sets the value of the declaringClass property.
|
void |
setImplementsInterfaces(java.lang.String value)
Sets the value of the implementsInterfaces property.
|
void |
setIsFinal(java.lang.Boolean value)
Sets the value of the isFinal property.
|
void |
setIsPublic(java.lang.Boolean value)
Sets the value of the isPublic property.
|
void |
setKind(TypeKind value)
Sets the value of the kind property.
|
void |
setPackageImports(java.lang.String value)
Sets the value of the packageImports property.
|
getEClassESuperTypes, getEOperations, getEStructuralFeatures, getESuperTypes, isIsAbstract, isIsInterface, setESuperTypes, setIsAbstract, setIsInterface
getInstanceClassName, setInstanceClassName
getName, setName
getEAnnotations
protected java.util.List<JavaClass> javaClassImplementsInterfaces
protected java.util.List<JavaClass> javaClassImports
protected java.util.List<JavaPackage> javaPackageImports
protected java.util.List<Field> fields
protected java.util.List<Method> methods
protected java.util.List<Initializer> initializers
protected java.util.List<JavaClass> javaDeclaredClasses
protected java.util.List<JavaClass> javaDeclaringClasses
protected java.util.List<JavaEvent> events
protected java.lang.String classImport
protected java.lang.String declaredClasses
protected java.lang.String declaringClass
protected java.lang.Boolean isFinal
protected java.lang.String implementsInterfaces
protected TypeKind kind
protected java.lang.String packageImports
protected java.lang.Boolean isPublic
public java.util.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
JavaClass
public java.util.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
JavaClass
public java.util.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
JavaPackage
public java.util.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
Field
public java.util.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
Method
public java.util.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
Initializer
public java.util.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
JavaClass
public java.util.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
JavaClass
public java.util.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
JavaEvent
public java.lang.String getClassImport()
String
public void setClassImport(java.lang.String value)
value
- allowed object is String
public java.lang.String getDeclaredClasses()
String
public void setDeclaredClasses(java.lang.String value)
value
- allowed object is String
public java.lang.String getDeclaringClass()
String
public void setDeclaringClass(java.lang.String value)
value
- allowed object is String
public java.lang.Boolean isIsFinal()
Boolean
public void setIsFinal(java.lang.Boolean value)
value
- allowed object is Boolean
public java.lang.String getImplementsInterfaces()
String
public void setImplementsInterfaces(java.lang.String value)
value
- allowed object is String
public TypeKind getKind()
TypeKind
public void setKind(TypeKind value)
value
- allowed object is TypeKind
public java.lang.String getPackageImports()
String
public void setPackageImports(java.lang.String value)
value
- allowed object is String
public java.lang.Boolean isIsPublic()
Boolean
public void setIsPublic(java.lang.Boolean value)
value
- allowed object is Boolean