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 java.lang.Integer |
arrayDimensions |
protected java.lang.String |
componentType |
protected java.util.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 |
|---|---|
java.lang.Integer |
getArrayDimensions()
Gets the value of the arrayDimensions property.
|
java.lang.String |
getComponentType()
Gets the value of the componentType property.
|
java.util.List<EClassifier> |
getComponentTypes()
Gets the value of the componentTypes property.
|
void |
setArrayDimensions(java.lang.Integer value)
Sets the value of the arrayDimensions property.
|
void |
setComponentType(java.lang.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 java.util.List<EClassifier> componentTypes
protected java.lang.Integer arrayDimensions
protected java.lang.String componentType
public java.util.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 java.lang.Integer getArrayDimensions()
Integerpublic void setArrayDimensions(java.lang.Integer value)
value - allowed object is Integerpublic java.lang.String getComponentType()
Stringpublic void setComponentType(java.lang.String value)
value - allowed object is String