org.objectweb.jotm.btp.messages
Class InferiorState

java.lang.Object
  |
  +--org.objectweb.jotm.btp.messages.BtpMessage
        |
        +--org.objectweb.jotm.btp.messages.InferiorState

public class InferiorState
extends BtpMessage


Field Summary
static int ACTIVE
           
static int INACCESSIBLE
           
static int UNKNOWN
           
 
Fields inherited from class org.objectweb.jotm.btp.messages.BtpMessage
BEGIN, BEGUN, CANCEL, CANCEL_INFERIORS, CANCEL_TRANSACTION, CANCELLED, CONFIRM, CONFIRM_ONE_PHASE, CONFIRM_TRANSACTION, CONFIRMED, CONTEXT, CONTEXT_REPLY, CONTRADICTION, EMPTY, ENROL, ENROLLED, FAULT, HAZARD, INFERIOR_STATE, INFERIOR_STATUSES, JOTM_ADMIN, PREPARE, PREPARE_INFERIORS, PREPARED, REDIRECT, RELATED_GROUP, REQUEST_INFERIOR_STATUSES, REQUEST_STATUS, RESIGN, RESIGNED, STATUS, SUPERIOR_STATE, TRANSACTION_CANCELLED, TRANSACTION_CONFIRMED
 
Constructor Summary
InferiorState()
           
InferiorState(int stat)
           
InferiorState(String stat)
           
InferiorState(XElement el)
           
 
Method Summary
 String getInferiorIdentifier()
           
 boolean getResponseRequested()
           
 String getStatus()
           
 String getSuperiorIdentifier()
           
static void main(String[] args)
           
 void setInferiorIdentifier(String uri)
           
 void setResponseRequested(boolean response)
           
 void setStatus(String status)
           
 void setSuperiorIdentifier(String uri)
           
 XElement toXml()
           
 
Methods inherited from class org.objectweb.jotm.btp.messages.BtpMessage
addQualifier, addQualifiers, addReplyAddress, addReplyAddress, addSenderAddress, addSenderAddress, addTargetAddress, get, getId, getInferiorName, getInferiorTimeout, getInferiorTimeoutDecision, getMinimumInferiorTimeout, getName, getQualifier, getQualifier, getQualifiers, getReplyAddress, getReplyAddresses, getSenderAddress, getSenderAddresses, getSingle, getSingle, getTargetAddress, getTransactionTimelimit, getType, pickAddrSet, pickString, setId, setInferiorName, setInferiorTimeout, setMinimumInferiorTimeout, setTargetAddress, setTransactionTimelimit, toHtml, toHtml, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVE

public static final int ACTIVE
See Also:
Constant Field Values

INACCESSIBLE

public static final int INACCESSIBLE
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values
Constructor Detail

InferiorState

public InferiorState()

InferiorState

public InferiorState(String stat)

InferiorState

public InferiorState(int stat)

InferiorState

public InferiorState(XElement el)
Method Detail

setInferiorIdentifier

public void setInferiorIdentifier(String uri)

getInferiorIdentifier

public String getInferiorIdentifier()

setSuperiorIdentifier

public void setSuperiorIdentifier(String uri)

getSuperiorIdentifier

public String getSuperiorIdentifier()

setStatus

public void setStatus(String status)

getStatus

public String getStatus()

setResponseRequested

public void setResponseRequested(boolean response)

getResponseRequested

public boolean getResponseRequested()

toXml

public XElement toXml()
Overrides:
toXml in class BtpMessage

main

public static void main(String[] args)