|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.edit.language.model.DdsChange
public class DdsChange
Enumerates all the types of changes in a DDS file. Keeps track of the type of change Note that sequence number changes are not supported because they are not needed and would waste performance Also keeps track of the line number of the changed line in the editor And keeps track of the line number of the changed line in the model
Field Summary | |
---|---|
static int |
CHANGE_DATA_AREA
A change of data area only |
static int |
CHANGE_SEQUENCE_NUMBER
A change involving date stamp and/or sequence number |
static int |
DELETE
A line is deleted |
static int |
INSERT
A line is inserted |
Constructor Summary | |
---|---|
DdsChange(int line,
int type)
|
Method Summary | |
---|---|
int |
getModelLineNumber()
|
int |
getSourceLineNumber()
|
long |
getTimestamp()
When was this change created |
void |
incrementModelLineNumber(int increment)
Increment the line number in the model- useful if insertion changes have to be reordered in order to maintain source line order |
void |
incrementSourceLineNumber(int increment)
Increment the line number - useful if a line has been inserted before this one |
boolean |
isChangeDataArea()
|
boolean |
isChangeSequenceNumber()
|
boolean |
isDelete()
|
boolean |
isInsert()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DELETE
public static final int INSERT
public static final int CHANGE_DATA_AREA
public static final int CHANGE_SEQUENCE_NUMBER
Constructor Detail |
---|
public DdsChange(int line, int type)
Method Detail |
---|
public boolean isDelete()
public boolean isInsert()
public boolean isChangeDataArea()
public boolean isChangeSequenceNumber()
public int getSourceLineNumber()
public void incrementSourceLineNumber(int increment)
public int getModelLineNumber()
public String toString()
toString
in class Object
public long getTimestamp()
public void incrementModelLineNumber(int increment)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |