com.starteam.diff
Class Edit

java.lang.Object
  extended by com.starteam.diff.Edit

public final class Edit
extends java.lang.Object

An Edit


Field Summary
static int DELETE
           
static int INSERT
           
static int REPLACE
           
static int UNCHANGED
           
 
Constructor Summary
Edit(int eAction, int nStartSource, int nEndSource, int nStartTarget, int nEndTarget)
          Create an Edit
 
Method Summary
 int getAction()
          return the action
 int getEndSource()
          return the end source
 int getEndTarget()
          return the end target
 int getNumSourceChanges()
          return the number of source changes
 int getNumTargetChanges()
          return the number of target changes
 int getSourceChanges()
          return the source changes
 int getStartSource()
          return the start source
 int getStartTarget()
          return the start target
 int getTargetChanges()
          return the target changes
 java.lang.String toString()
          a string representation of this edit
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNCHANGED

public static final int UNCHANGED
See Also:
Constant Field Values

INSERT

public static final int INSERT
See Also:
Constant Field Values

DELETE

public static final int DELETE
See Also:
Constant Field Values

REPLACE

public static final int REPLACE
See Also:
Constant Field Values
Constructor Detail

Edit

public Edit(int eAction,
            int nStartSource,
            int nEndSource,
            int nStartTarget,
            int nEndTarget)
Create an Edit

Parameters:
eAction - the action to apply
nStartSource - the source state
nEndSource - the source end
nStartTarget - the target start
nEndTarget - the target end
Method Detail

toString

public java.lang.String toString()
a string representation of this edit

Overrides:
toString in class java.lang.Object
Returns:
String the string representation

getAction

public int getAction()
return the action

Returns:
the action

getStartSource

public int getStartSource()
return the start source

Returns:
the start source

getEndSource

public int getEndSource()
return the end source

Returns:
the end source

getStartTarget

public int getStartTarget()
return the start target

Returns:
the start target

getEndTarget

public int getEndTarget()
return the end target

Returns:
the end target

getSourceChanges

public int getSourceChanges()
return the source changes

Returns:
the source changes

getTargetChanges

public int getTargetChanges()
return the target changes

Returns:
the target changes

getNumSourceChanges

public int getNumSourceChanges()
return the number of source changes

Returns:
the number of source changes

getNumTargetChanges

public int getNumTargetChanges()
return the number of target changes

Returns:
the number of target changes


StarTeam SDK 14.0, Build 21
Copyright © 2003-2012 Borland Software Corporation. All rights reserved.