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

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

public class SyncProcessingType
extends java.lang.Object

An enumeration of the SyncBo's possible processing type.

Version:
2.1
Author:
SAP

Field Summary
static SyncProcessingType DOWNLOAD
          A static processing type for download type SyncBo.
static SyncProcessingType LOCAL
          A static processing type for local SyncBo.
static SyncProcessingType TIMED_TWO_WAY
          A static processing type for timed two-way type SyncBo.
static SyncProcessingType TWO_WAY
          A static processing type for two-way (upload and download) type SyncBo.
static SyncProcessingType UPLOAD
          A static processing type for upload type SyncBo.
 
Method Summary
static SyncProcessingType forInt(int typeAsint)
          Returns a SyncProcessingType for the specified integer representation.
static SyncProcessingType forString(java.lang.String string)
          Returns a SyncProcessingType for the specified string representation.
 boolean isDownloading()
          Returns true of this SyncProcessingType can be downloaded from the server to the client otherwise false.
 boolean isUploading()
          Returns true of this SyncProcessingType can be uploaded from the client to the server otherwise false.
 int toInt()
          Returns the integer representation of this SyncProcessingType object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOWNLOAD

public static SyncProcessingType DOWNLOAD
A static processing type for download type SyncBo.


UPLOAD

public static SyncProcessingType UPLOAD
A static processing type for upload type SyncBo.


TWO_WAY

public static SyncProcessingType TWO_WAY
A static processing type for two-way (upload and download) type SyncBo.


TIMED_TWO_WAY

public static SyncProcessingType TIMED_TWO_WAY
A static processing type for timed two-way type SyncBo.


LOCAL

public static SyncProcessingType LOCAL
A static processing type for local SyncBo.

Method Detail

forInt

public static SyncProcessingType forInt(int typeAsint)
Returns a SyncProcessingType for the specified integer representation.

Parameters:
typeAsint - the integer representation
Returns:
the SyncProcessingType for the specified representation

isUploading

public boolean isUploading()
Returns true of this SyncProcessingType can be uploaded from the client to the server otherwise false.

Returns:
true of this SyncProcessingType can be uploaded from the client to the server otherwise false.

isDownloading

public boolean isDownloading()
Returns true of this SyncProcessingType can be downloaded from the server to the client otherwise false.

Returns:
true of this SyncProcessingType can be uploaded from the client to the server otherwise false.

forString

public static SyncProcessingType forString(java.lang.String string)
Returns a SyncProcessingType for the specified string representation.

Parameters:
string - the string representation
Returns:
the SyncProcessingType for the specified representation

toInt

public int toInt()
Returns the integer representation of this SyncProcessingType object.

Returns:
the integer representation of this SyncProcessingType object


Copyright © 2005 SAP AG. All Rights Reserved.