Interface ILocationChangeMetaData
- All Known Subinterfaces:
IExtendedRevisionMetaData
public interface ILocationChangeMetaData
Meta data for location change.
At most one of isCreated(), isMoved(), isCopied(),
isRemoved() can be true.
- Version:
- $Revision: 34279 $ $Date: 2005-09-09 11:22:05 +0200 $
- Author:
- Stepan Roh, Polarion Software
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDescribes the kind of a change represented by the given metadata. -
Method Summary
Modifier and TypeMethodDescriptionOriginal location (valid only forisMoved(),isCopied()and if no flag is set, garbage otherwise).New location.booleanisCopied()Whether this meta data represents location copy.booleanWhether this meta data represents location creation.booleanWhether this meta data represents location modified.booleanisMoved()Whether this meta data represents location move.booleanWhether this meta data represents location removal.kind()
-
Method Details
-
isCreated
boolean isCreated()Whether this meta data represents location creation.- Returns:
trueif location was created
-
isModified
boolean isModified()Whether this meta data represents location modified.- Returns:
trueif location was modified
-
isMoved
boolean isMoved()Whether this meta data represents location move.- Returns:
trueif location was moved
-
isCopied
boolean isCopied()Whether this meta data represents location copy.- Returns:
trueif location was copied
-
isRemoved
boolean isRemoved()Whether this meta data represents location removal.- Returns:
trueif location was removed
-
getChangeLocationFrom
ILocation getChangeLocationFrom()Original location (valid only forisMoved(),isCopied()and if no flag is set, garbage otherwise).- Returns:
- location
-
getChangeLocationTo
ILocation getChangeLocationTo()New location.- Returns:
- location
-
kind
- Returns:
ILocationChangeMetaData.Kind- Since:
- 3.24.4
-