public class ArrayType extends JavaClass
<complexType name="ArrayType">
<complexContent>
<extension base="{java.xmi}JavaClass">
<choice maxOccurs="unbounded" minOccurs="0">
<element name="componentType" type="{http://www.eclipse.org/emf/2002/Ecore}EClassifier"/>
</choice>
<attribute name="arrayDimensions" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="componentType" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
arrayDimensions |
protected String |
componentType |
protected List<EClassifier> |
componentTypes |
classImport, declaredClasses, declaringClass, events, fields, implementsInterfaces, initializers, isFinal, isPublic, javaClassImplementsInterfaces, javaClassImports, javaDeclaredClasses, javaDeclaringClasses, javaPackageImports, kind, methods, packageImportseClassESuperTypes, eOperations, eStructuralFeatures, eSuperTypes, isAbstract, isInterfaceinstanceClassNamenameeAnnotations| Constructor and Description |
|---|
ArrayType() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getArrayDimensions()
Gets the value of the arrayDimensions property.
|
String |
getComponentType()
Gets the value of the componentType property.
|
List<EClassifier> |
getComponentTypes()
Gets the value of the componentTypes property.
|
void |
setArrayDimensions(Integer value)
Sets the value of the arrayDimensions property.
|
void |
setComponentType(String value)
Sets the value of the componentType property.
|
getClassImport, getDeclaredClasses, getDeclaringClass, getEvents, getFields, getImplementsInterfaces, getInitializers, getJavaClassImplementsInterfaces, getJavaClassImports, getJavaDeclaredClasses, getJavaDeclaringClasses, getJavaPackageImports, getKind, getMethods, getPackageImports, isIsFinal, isIsPublic, setClassImport, setDeclaredClasses, setDeclaringClass, setImplementsInterfaces, setIsFinal, setIsPublic, setKind, setPackageImportsgetEClassESuperTypes, getEOperations, getEStructuralFeatures, getESuperTypes, isIsAbstract, isIsInterface, setESuperTypes, setIsAbstract, setIsInterfacegetInstanceClassName, setInstanceClassNamegetName, setNamegetEAnnotationsprotected List<EClassifier> componentTypes
protected Integer arrayDimensions
protected String componentType
public List<EClassifier> getComponentTypes()
set method for the componentTypes property.
For example, to add a new item, do as follows:
getComponentTypes().add(newItem);Objects of the following type(s) are allowed in the list
EClassifierpublic Integer getArrayDimensions()
Integerpublic void setArrayDimensions(Integer value)
value - allowed object is Integerpublic String getComponentType()
StringCopyright © 1999–2020 The Apache Software Foundation. All rights reserved.