public class Field extends ModelElement
Writable.Context| Constructor and Description |
|---|
Field(Type type,
java.lang.String variableName) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
Type |
getType()
Returns the type of this field.
|
java.lang.String |
getVariableName()
Returns the variable name of this field.
|
writegetTemplateNamepublic Field(Type type, java.lang.String variableName)
public Type getType()
public java.lang.String getVariableName()
public java.util.Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class ModelElementnull.Copyright © 2012-2014. All Rights Reserved.