Package org.eclipse.xtext.resource
Interface IResourceDescription.Delta
-
- All Known Implementing Classes:
ChangedResourceDescriptionDelta,DefaultResourceDescriptionDelta
- Enclosing interface:
- IResourceDescription
public static interface IResourceDescription.DeltaA delta describing the differences between two versions of the sameIResourceDescription. Instances have to follow the rule:
andgetNew()==null || getOld()==null || getOld().getURI().equals(getNew().getURI())getNew()!=getOld()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResourceDescriptiongetNew()IResourceDescriptiongetOld()org.eclipse.emf.common.util.URIgetUri()booleanhaveEObjectDescriptionsChanged()
-
-
-
Method Detail
-
getUri
org.eclipse.emf.common.util.URI getUri()
- Returns:
- the uri for the resource description delta.
-
getOld
IResourceDescription getOld()
- Returns:
- the old resource description, or null if the change is an addition
-
getNew
IResourceDescription getNew()
- Returns:
- the new resource description, or null if the change is a deletion
-
haveEObjectDescriptionsChanged
boolean haveEObjectDescriptionsChanged()
- Returns:
- whether there are differences between the old and the new resource description.
-
-