com.sap.netweaver.bc.serialize

Class DeltaInfo

java.lang.Object
  extended by com.sap.netweaver.bc.serialize.DeltaInfo

public final class DeltaInfo
extends Object


Method Summary
static DeltaInfo getDeltaInformation()
          dummy constructor to be used if a non-delta is needed
static DeltaInfo getInstance(long referencetime)
          constructor to be used if a delta is needed that only runs against a certain date, but is independent of any previous serialization run
static DeltaInfo getInstance(long referencetime, String referencetransport)
          full-blown constructor
 long getReferenceTime()
           
 String getReferenceTransport()
           
 boolean isDelta()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getDeltaInformation

public static DeltaInfo getDeltaInformation()
dummy constructor to be used if a non-delta is needed

Returns:
delta status information.

getInstance

public static DeltaInfo getInstance(long referencetime)
constructor to be used if a delta is needed that only runs against a certain date, but is independent of any previous serialization run

Parameters:
referencetime - the time the delta should reference. Just as always - This represents the offset from January 1, 1970, 00:00:00 GMT in milliseconds
Returns:
instance of delta information

getInstance

public static DeltaInfo getInstance(long referencetime,
                                    String referencetransport)
full-blown constructor

Parameters:
referencetime - see getInstance(long)
referencetransport - the ID of the referenced serialization run. Must not be null
Returns:
instance of delta information

isDelta

public boolean isDelta()
Returns:
flag to tell if we have a delta at all

getReferenceTime

public long getReferenceTime()
Returns:
the referenced time. For an instance with isDelta() = false, this will return -1. Otherwise, the given value is returned

getReferenceTransport

public String getReferenceTransport()
Returns:
the referenced serialization run. For an instance with isDelta() = false, this will return null. Otherwise, it depends if this was set at construction point of time or not.

toString

public String toString()
Overrides:
toString in class Object
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] KMC-CM [sap.com] tc/km/frwk api EP-KM-CM
[sap.com] KMC-WPC [sap.com] tc/kmc/wpc/wpcfacade api EP-PIN-WPC-WCM


Copyright 2014 SAP AG Complete Copyright Notice