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

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

public final class PositionStatusType
extends java.lang.Object

An enumeration of possible position status types of SyncBo objects. It can be assigned to SyncBo instance.

Since:
2.5
Author:
SAP
See Also:
SyncBo

Field Summary
static PositionStatusType GLOBAL
          Represents the global state of the object's status.
static PositionStatusType INITIAL
          Represents the initial state of the object's status.
static PositionStatusType LOCAL
          Represents the local state of the object's status.
static PositionStatusType UNLINKED
          Represents the unlinked state of the object's status.
 
Method Summary
static PositionStatusType forString(java.lang.String stringRepresentation)
          Returns the correspnoding PositionStatusType instance with the specified String representation.
 java.lang.String toString()
          Returns the stringRepresentation representation of this PositionStatusType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INITIAL

public static final PositionStatusType INITIAL
Represents the initial state of the object's status. Initial status implies:
  • that the object is not yet a part of the repository and could only be added thru their correspoding insert methods.
  • that the object's SyncKey is unassigned. It will be assigned a unique SyncKey value upon its insertion into the repository.


  • UNLINKED

    public static final PositionStatusType UNLINKED
    Represents the unlinked state of the object's status. Unlinked status implies:
  • that the object is not yet a part of the repository and could only be added thru their correspoding replace methods.
  • that the object's SyncKey value is the same with the original where it was cloned from. The updates/changes in the object will be reflected to the original SyncBo upon its replacement.


  • LOCAL

    public static final PositionStatusType LOCAL
    Represents the local state of the object's status. Local status implies:
  • that the object is a part of the local repository.
  • that accessible and modifiable without lesser plausibility checks
  • that it is assigned a read-only globally unique SyncKey
  • that it is not yet uploaded in to the backend database


  • GLOBAL

    public static final PositionStatusType GLOBAL
    Represents the global state of the object's status. Global status implies:
  • that the object has a corresponding copy ot itself in the backend.
  • that it is accessible and is modifiable with a higher level of modify permission tests imposed as compared to the Local status.

  • Method Detail

    forString

    public static PositionStatusType forString(java.lang.String stringRepresentation)
    Returns the correspnoding PositionStatusType instance with the specified String representation.

    Parameters:
    stringRepresentation - the specified String representation.
    - "I" for PositionStatusType.INITIAL
    - "U" for PositionStatusType.UNLINKED
    - "L" for PositionStatusType.LOCAL
    - "G" for PositionStatusType.GLOBAL
    - "S" for PositionStatusType.IN_SYNC
    Returns:
    the correspnoding PositionStatusType instance

    toString

    public java.lang.String toString()
    Returns the stringRepresentation representation of this PositionStatusType.

    Returns:
    the stringRepresentation representation of this PositionStatusType


    Copyright © 2005 SAP AG. All Rights Reserved.