org.ws4d.java.types
Class AppSequence
java.lang.Object
org.ws4d.java.types.UnknownDataContainer
org.ws4d.java.types.AppSequence
public class AppSequence
- extends UnknownDataContainer
Constructor Summary |
AppSequence(long instanceId,
long messageNumber)
|
AppSequence(long instanceId,
java.lang.String sequenceId,
long messageNumber)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AppSequence
public AppSequence(long instanceId,
long messageNumber)
- Parameters:
instanceId
- messageNumber
-
AppSequence
public AppSequence(long instanceId,
java.lang.String sequenceId,
long messageNumber)
- Parameters:
instanceId
- sequenceId
- messageNumber
-
toString
public java.lang.String toString()
- Overrides:
toString
in class UnknownDataContainer
getInstanceId
public long getInstanceId()
getSequenceId
public java.lang.String getSequenceId()
getMessageNumber
public long getMessageNumber()
- Get message number.
- Returns:
- message number.
isNewer
public boolean isNewer(AppSequence other)
- Checks if this application sequence is newer than the other specified.
- Parameters:
other
- application sequence to compare with this.
- Returns:
- whether this instance is newer than the one passed-in
parse
public static AppSequence parse(ElementParser parser,
ConstantsHelper helper)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
- Throws:
org.xmlpull.v1.XmlPullParserException
java.io.IOException