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
Modifier and TypeInterfaceDescriptionstatic enum
Describes 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.boolean
isCopied()
Whether this meta data represents location copy.boolean
Whether this meta data represents location creation.boolean
Whether this meta data represents location modified.boolean
isMoved()
Whether this meta data represents location move.boolean
Whether this meta data represents location removal.kind()
-
Method Details
-
isCreated
boolean isCreated()Whether this meta data represents location creation.- Returns:
true
if location was created
-
isModified
boolean isModified()Whether this meta data represents location modified.- Returns:
true
if location was modified
-
isMoved
boolean isMoved()Whether this meta data represents location move.- Returns:
true
if location was moved
-
isCopied
boolean isCopied()Whether this meta data represents location copy.- Returns:
true
if location was copied
-
isRemoved
boolean isRemoved()Whether this meta data represents location removal.- Returns:
true
if 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
-