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>
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclassImportprotected StringdeclaredClassesprotected StringdeclaringClassprotected List<JavaEvent>eventsprotected List<Field>fieldsprotected StringimplementsInterfacesprotected List<Initializer>initializersprotected BooleanisFinalprotected BooleanisPublicprotected List<JavaClass>javaClassImplementsInterfacesprotected List<JavaClass>javaClassImportsprotected List<JavaClass>javaDeclaredClassesprotected List<JavaClass>javaDeclaringClassesprotected List<JavaPackage>javaPackageImportsprotected TypeKindkindprotected List<Method>methodsprotected StringpackageImports-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EClass
eClassESuperTypes, eOperations, eStructuralFeatures, eSuperTypes, isAbstract, isInterface
-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EClassifier
instanceClassName
-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
name
-
Fields inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
eAnnotations
-
-
Constructor Summary
Constructors Constructor Description JavaClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassImport()Gets the value of the classImport property.StringgetDeclaredClasses()Gets the value of the declaredClasses property.StringgetDeclaringClass()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.StringgetImplementsInterfaces()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.TypeKindgetKind()Gets the value of the kind property.List<Method>getMethods()Gets the value of the methods property.StringgetPackageImports()Gets the value of the packageImports property.BooleanisIsFinal()Gets the value of the isFinal property.BooleanisIsPublic()Gets the value of the isPublic property.voidsetClassImport(String value)Sets the value of the classImport property.voidsetDeclaredClasses(String value)Sets the value of the declaredClasses property.voidsetDeclaringClass(String value)Sets the value of the declaringClass property.voidsetImplementsInterfaces(String value)Sets the value of the implementsInterfaces property.voidsetIsFinal(Boolean value)Sets the value of the isFinal property.voidsetIsPublic(Boolean value)Sets the value of the isPublic property.voidsetKind(TypeKind value)Sets the value of the kind property.voidsetPackageImports(String value)Sets the value of the packageImports property.-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EClass
getEClassESuperTypes, getEOperations, getEStructuralFeatures, getESuperTypes, isIsAbstract, isIsInterface, setESuperTypes, setIsAbstract, setIsInterface
-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EClassifier
getInstanceClassName, setInstanceClassName
-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.ENamedElement
getName, setName
-
Methods inherited from class org.apache.openejb.jee.was.v6.ecore.EModelElement
getEAnnotations
-
-
-
-
Field Detail
-
javaPackageImports
protected List<JavaPackage> javaPackageImports
-
initializers
protected List<Initializer> initializers
-
classImport
protected String classImport
-
declaredClasses
protected String declaredClasses
-
declaringClass
protected String declaringClass
-
isFinal
protected Boolean isFinal
-
implementsInterfaces
protected String implementsInterfaces
-
kind
protected TypeKind kind
-
packageImports
protected String packageImports
-
isPublic
protected Boolean isPublic
-
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaPackage
-
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 asetmethod 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 listField
-
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 asetmethod 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 listMethod
-
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 asetmethod 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 listInitializer
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaClass
-
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 asetmethod 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 listJavaEvent
-
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 isString
-
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 isString
-
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 isString
-
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 isBoolean
-
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 isString
-
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 isTypeKind
-
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 isString
-
isIsPublic
public Boolean isIsPublic()
Gets the value of the isPublic property.- Returns:
- possible object is
Boolean
-
-