org.nasdanika.models.source.Range Maven / Gradle / Ivy
The newest version!
/**
*/
package org.nasdanika.models.source;
import org.nasdanika.ncore.Marked;
/**
*
* A representation of the model object 'Range'.
*
*
*
* The following features are supported:
*
*
* - {@link org.nasdanika.models.source.Range#getBegin Begin}
* - {@link org.nasdanika.models.source.Range#getEnd End}
*
*
* @see org.nasdanika.models.source.SourcePackage#getRange()
* @model
* @generated
*/
public interface Range extends Marked {
/**
* Returns the value of the 'Begin' containment reference.
*
*
* @return the value of the 'Begin' containment reference.
* @see #setBegin(Position)
* @see org.nasdanika.models.source.SourcePackage#getRange_Begin()
* @model containment="true"
* @generated
*/
Position getBegin();
/**
* Sets the value of the '{@link org.nasdanika.models.source.Range#getBegin Begin}' containment reference.
*
*
* @param value the new value of the 'Begin' containment reference.
* @see #getBegin()
* @generated
*/
void setBegin(Position value);
/**
* Returns the value of the 'End' containment reference.
*
*
* @return the value of the 'End' containment reference.
* @see #setEnd(Position)
* @see org.nasdanika.models.source.SourcePackage#getRange_End()
* @model containment="true"
* @generated
*/
Position getEnd();
/**
* Sets the value of the '{@link org.nasdanika.models.source.Range#getEnd End}' containment reference.
*
*
* @param value the new value of the 'End' containment reference.
* @see #getEnd()
* @generated
*/
void setEnd(Position value);
/**
*
*
* @model
* @generated
*/
boolean contains(Range range);
/**
*
*
* @model
* @generated
*/
boolean contains(Position position);
/**
*
*
* @model
* @generated
*/
boolean overlaps(Range range);
/**
*
*
* @model
* @generated
*/
String text(String source);
/**
*
*
* @model
* @generated
*/
String text(Source source);
/**
*
*
* @model
* @generated
*/
Range offset(Position position);
} // Range