Package org.eclipse.m2m.qvt.oml
Interface ModelExtent
-
- All Known Implementing Classes:
BasicModelExtent
public interface ModelExtentThe interface represents a simplified abstraction of a model contents, passed to a transformation in a model parameter.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EObject>getContents()The read-only view of this model extent's contents.voidsetContents(List<? extends EObject> contents)Sets the contents of this model extent.
-
-
-
Method Detail
-
getContents
List<EObject> getContents()
The read-only view of this model extent's contents.- Returns:
- list of elements contained in this extent
-
setContents
void setContents(List<? extends EObject> contents)
Sets the contents of this model extent.- Parameters:
contents- list of elements to become the contents of this extent- Throws:
UnsupportedOperationException- if this model extent does not allow modifications
-
-