|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsync4j.syncclient.spds.SyncRecordFunction
This class provide methods about control timestamp and modificationType $Id: SyncRecordFunction.java,v 1.1.1.1.2.1 2005/01/27 11:00:58 fabius Exp $
Constructor Summary | |
SyncRecordFunction()
|
Method Summary | |
static int |
getKeyFieldPosition(sync4j.syncclient.sps.common.RecordMetadata recordMetadata)
|
static java.lang.String |
getModificationType(sync4j.syncclient.sps.common.Record record)
|
static int |
getModificationTypeFieldPosition(sync4j.syncclient.sps.common.RecordMetadata recordMetadata)
|
static int |
getNumberOperationFields(sync4j.syncclient.sps.common.Record record)
|
static int |
getPositionModificationTypeField(sync4j.syncclient.sps.common.Record record)
|
static int |
getPositionTimestampField(sync4j.syncclient.sps.common.Record record)
|
static java.lang.String |
getTimestamp(sync4j.syncclient.sps.common.Record record)
|
static void |
setModificationType(sync4j.syncclient.sps.common.Record record,
java.lang.String modificationType)
set modificationType |
static void |
setTimestamp(sync4j.syncclient.sps.common.Record record,
java.lang.String timestamp)
set timestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SyncRecordFunction()
Method Detail |
public static void setTimestamp(sync4j.syncclient.sps.common.Record record, java.lang.String timestamp)
record
- timestamp
- public static void setModificationType(sync4j.syncclient.sps.common.Record record, java.lang.String modificationType)
record
- modificationType
- public static java.lang.String getTimestamp(sync4j.syncclient.sps.common.Record record)
record
-
public static java.lang.String getModificationType(sync4j.syncclient.sps.common.Record record)
record
-
public static int getPositionTimestampField(sync4j.syncclient.sps.common.Record record)
record
-
-1
if timestamp field not presentpublic static int getPositionModificationTypeField(sync4j.syncclient.sps.common.Record record)
record
-
-1
if timestamp field not presentpublic static int getNumberOperationFields(sync4j.syncclient.sps.common.Record record)
record
-
public static int getKeyFieldPosition(sync4j.syncclient.sps.common.RecordMetadata recordMetadata)
recordMetadata
-
public static int getModificationTypeFieldPosition(sync4j.syncclient.sps.common.RecordMetadata recordMetadata)
recordMetadata
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |