com.sybase.persistence
Class ObjectSyncStatusData

java.lang.Object
  extended by com.sybase.persistence.ObjectSyncStatusData

public class ObjectSyncStatusData
extends java.lang.Object


Constructor Summary
ObjectSyncStatusData(int syncStatusState, Connection connection, java.lang.String currentMBO, java.lang.String[] objectNames, long receivedByteCount, int receivedRowCount, long sentByteCount, int sentRowCount)
           
 
Method Summary
 java.lang.String getApplicationName()
          Deprecated. Use getCurrentMBO() instead.
 Connection getConnection()
          Gets the Connection.
 java.lang.String getCurrentMBO()
          Gets name of current MBO being synced
 int getMobileApplicationCount()
          Deprecated.  
 int getMobileApplicationIndex()
          Deprecated.  
 java.lang.String[] getObjectNames()
           
 long getReceivedByteCount()
           
 int getReceivedRowCount()
           
 long getSentByteCount()
           
 int getSentRowCount()
           
 int getSyncStatusState()
          Gets the sync state.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectSyncStatusData

public ObjectSyncStatusData(int syncStatusState,
                            Connection connection,
                            java.lang.String currentMBO,
                            java.lang.String[] objectNames,
                            long receivedByteCount,
                            int receivedRowCount,
                            long sentByteCount,
                            int sentRowCount)
Method Detail

getApplicationName

public java.lang.String getApplicationName()
Deprecated. Use getCurrentMBO() instead.

Gets the applicaton name.

Returns:

getCurrentMBO

public java.lang.String getCurrentMBO()
Gets name of current MBO being synced

Returns:

getMobileApplicationCount

public int getMobileApplicationCount()
Deprecated. 

Gets the number of MobileApplication to synchronize.

Returns:

getMobileApplicationIndex

public int getMobileApplicationIndex()
Deprecated. 

Gets the index of the MobileApplication.

Returns:

getConnection

public Connection getConnection()
Gets the Connection.

Returns:

getSyncStatusState

public int getSyncStatusState()
Gets the sync state.

Returns:

getObjectNames

public java.lang.String[] getObjectNames()
Returns:
Returns the objectNames.

getReceivedByteCount

public long getReceivedByteCount()
Returns:
Returns the receivedByteCount.

getReceivedRowCount

public int getReceivedRowCount()
Returns:
Returns the receivedRowCount.

getSentByteCount

public long getSentByteCount()
Returns:
Returns the sentByteCount.

getSentRowCount

public int getSentRowCount()
Returns:
Returns the sentRowCount.