com.sap.ip.me.api.smartsync
Class RowChangeActionType

java.lang.Object
  extended bycom.sap.ip.me.api.smartsync.RowChangeActionType

public final class RowChangeActionType
extends java.lang.Object

This represents the action performed on the row. The action can be of the following type.

Example:
When delta is the SyncBoOutDelta.

   MeIterator it = delta.getRowChanges();
   while (it.hasNext()) {
         RowChange row = (RowChange) it.next();
         //All changed fields are contained in the iterator
         RowChangeActionType actionType = row.getAction();
         //actionType represents the action on the row.
         //e.g actionType will have the value RowChangeActionType.MODIFY if the row was modified.
         ........................
         ........................
   }

Version:
2.1
Author:
SAP

Field Summary
static RowChangeActionType DELETE
          Delete action against the RowChange object
static RowChangeActionType ERROR
          Deprecated. No RowChange should be marked as "Nooper"
static RowChangeActionType INSERT
          Insert action against the RowChange object
static RowChangeActionType MODIFY
          Modify action against the RowChange object
static RowChangeActionType NOOPER
          Deprecated. No RowChange should be marked as "Nooper"
static RowChangeActionType REPLACE
          Deprecated. No RowChange should be marked as "Replace"
 
Method Summary
static RowChangeActionType forString(java.lang.String string)
          Description of the Method
static RowChangeActionType forXMLString(java.lang.String string)
           
 RowChangeActionType getMerged(RowChangeActionType actionToMerge)
          Gets the merged attribute of the RowChangeActionType object
 java.lang.String toString()
          Returns the String representation of this type Either of the following: "I","M","R","D","N","E"
 java.lang.String toXMLString()
          Returns the long String presentation of the action for "I","M","D"; null for other
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSERT

public static RowChangeActionType INSERT
Insert action against the RowChange object


MODIFY

public static RowChangeActionType MODIFY
Modify action against the RowChange object


DELETE

public static RowChangeActionType DELETE
Delete action against the RowChange object


REPLACE

public static RowChangeActionType REPLACE
Deprecated. No RowChange should be marked as "Replace"

Replace action against the RowChange object


NOOPER

public static RowChangeActionType NOOPER
Deprecated. No RowChange should be marked as "Nooper"

No action against the RowChange object


ERROR

public static RowChangeActionType ERROR
Deprecated. No RowChange should be marked as "Nooper"

No action against the RowChange object

Method Detail

getMerged

public RowChangeActionType getMerged(RowChangeActionType actionToMerge)
Gets the merged attribute of the RowChangeActionType object

Parameters:
actionToMerge - Description of the Parameter
Returns:
The merged value

forString

public static RowChangeActionType forString(java.lang.String string)
Description of the Method

Parameters:
string - String value equivalent to get the corresponding RowChangeActionType.
  • "I" if insert operation is performed on the row.
  • "M" if modify operation is performed on the row.
  • "R" if replace operation is performed on the row.
  • "D" if delete operation is performed on the row.
  • "N" if no operation operation is performed on the row.
Returns:
RowChangeActionType corresponding to the string value parameter.

forXMLString

public static RowChangeActionType forXMLString(java.lang.String string)

toString

public java.lang.String toString()
Returns the String representation of this type Either of the following: "I","M","R","D","N","E"

Returns:
the String representation of this type

toXMLString

public java.lang.String toXMLString()
Returns the long String presentation of the action for "I","M","D"; null for other

Returns:
the long String presentation of the action


Copyright © 2005 SAP AG. All Rights Reserved.