public class Direct extends ModelElement implements Assignment
Assignment.AssignmentTypeWritable.Context| Constructor and Description |
|---|
Direct(java.lang.String sourceReference) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Type> |
getExceptionTypes()
returns all types exception types thrown by this assignment.
|
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. |
java.lang.String |
getSourceReference()
the source reference being a source-getter, a constant, etc.
|
Assignment.AssignmentType |
getType()
Returns whether the type of assignment
|
void |
setAssignment(Assignment assignment)
An assignment in itself can wrap another assignment.
|
writegetTemplateNamepublic java.lang.String getSourceReference()
AssignmentgetSourceReference in interface Assignmentpublic java.util.Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in interface AssignmentgetImportTypes in class ModelElementnull.public java.util.List<Type> getExceptionTypes()
AssignmentgetExceptionTypes in interface Assignmentpublic void setAssignment(Assignment assignment)
AssignmentsetAssignment in interface Assignmentpublic Assignment.AssignmentType getType()
AssignmentgetType in interface AssignmentAssignment.AssignmentTypeCopyright © 2012-2014. All Rights Reserved.