Interface ModelExtent

  • All Known Implementing Classes:
    BasicModelExtent

    public interface ModelExtent
    The interface represents a simplified abstraction of a model contents, passed to a transformation in a model parameter.
    Since:
    2.0
    • 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