Package org.eclipse.gmt.modisco.java
Interface ArrayType
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier,Type
- All Known Implementing Classes:
ArrayTypeImpl
public interface ArrayType extends Type
A representation of the model object 'Array Type'.
The following features are supported:
- See Also:
JavaPackage.getArrayType()
-
Method Summary
Modifier and Type Method Description intgetDimensions()Returns the value of the 'Dimensions' attribute.TypeAccessgetElementType()Returns the value of the 'Element Type' containment reference.voidsetDimensions(int value)Sets the value of the 'Dimensions' attribute.voidsetElementType(TypeAccess value)Sets the value of the 'Element Type' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.eclipse.gmt.modisco.java.Type
getUsagesInTypeAccess
-
Method Details
-
getDimensions
int getDimensions()Returns the value of the 'Dimensions' attribute.- Returns:
- the value of the 'Dimensions' attribute.
- See Also:
setDimensions(int),JavaPackage.getArrayType_Dimensions()
-
setDimensions
void setDimensions(int value)Sets the value of the 'Dimensions' attribute.- Parameters:
value- the new value of the 'Dimensions' attribute.- See Also:
getDimensions()
-
getElementType
TypeAccess getElementType()Returns the value of the 'Element Type' containment reference.- Returns:
- the value of the 'Element Type' containment reference.
- See Also:
setElementType(TypeAccess),JavaPackage.getArrayType_ElementType()
-
setElementType
Sets the value of the 'Element Type' containment reference.- Parameters:
value- the new value of the 'Element Type' containment reference.- See Also:
getElementType()
-