org.objectweb.jotm.btp.messages
Class Context

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

public class Context
extends BtpMessage


Field Summary
 
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, UNKNOWN
 
Constructor Summary
Context(String sup, String supid)
           
Context(XElement el)
           
 
Method Summary
 void addSuperiorAddress(Address add)
           
 Address getSuperiorAddress(int pos)
           
 Vector getSuperiorAddresses()
           
 int getSuperiorAddressesCount()
           
 String getSuperiorIdentifier()
           
 String getSuperiorType()
           
 String getSuperiorUrl()
           
 String getTransactionId()
           
 boolean isAtom()
           
 boolean isCohesion()
           
static void main(String[] args)
           
 void setSuperiorType(String t)
           
 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
 

Constructor Detail

Context

public Context(String sup,
               String supid)

Context

public Context(XElement el)
Method Detail

getSuperiorIdentifier

public String getSuperiorIdentifier()

getTransactionId

public String getTransactionId()

getSuperiorUrl

public String getSuperiorUrl()

setSuperiorType

public void setSuperiorType(String t)

getSuperiorType

public String getSuperiorType()

isAtom

public boolean isAtom()

isCohesion

public boolean isCohesion()

addSuperiorAddress

public void addSuperiorAddress(Address add)

getSuperiorAddresses

public Vector getSuperiorAddresses()

getSuperiorAddressesCount

public int getSuperiorAddressesCount()

getSuperiorAddress

public Address getSuperiorAddress(int pos)

toXml

public XElement toXml()
Overrides:
toXml in class BtpMessage

main

public static void main(String[] args)