jimm.twice.ice
Class IcePackage
java.lang.Object
jimm.twice.ice.IcePackage
- public class IcePackage
- extends java.lang.Object
ICE ice-package information is used often enough that it's nice to have
an objectified representation.
- Author:
- Jim Menard, jimm@io.com
Constructor Summary |
IcePackage(java.lang.String identifier,
java.lang.String oldState,
java.lang.String newState,
java.lang.String subscriptionId,
boolean confirmationRequested,
boolean fullUpdate)
Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
identifier
protected java.lang.String identifier
oldState
protected java.lang.String oldState
newState
protected java.lang.String newState
subscriptionId
protected java.lang.String subscriptionId
confirmationRequested
protected boolean confirmationRequested
fullUpdate
protected boolean fullUpdate
IcePackage
public IcePackage(java.lang.String identifier,
java.lang.String oldState,
java.lang.String newState,
java.lang.String subscriptionId,
boolean confirmationRequested,
boolean fullUpdate)
- Constructor.
- Parameters:
identifier
- the package-id attribute valueoldState
- the old-state attribute valuenewState
- the new-state attribute valueconfirmationRequested
- true
if the ICE package's
confirmation attribute is "true"fullUpdate
- true
if the ICE package's fullupdate
attribute is "true"
getIdentifier
public java.lang.String getIdentifier()
getOldState
public java.lang.String getOldState()
getNewState
public java.lang.String getNewState()
getSubscriptionId
public java.lang.String getSubscriptionId()
isConfirmationRequested
public boolean isConfirmationRequested()
- Returns true if the confirmation attribute was seen within the ICE package
tag and if its value was "true".
- Returns:
true
if the ICE package's confirmation attribute
is "true"
isFullUpdate
public boolean isFullUpdate()
- Returns true if the fullupdate attribute was seen within the ICE package
tag and if its value was "true".
- Returns:
true
if the ICE package's fullupdate attribute
is "true"