com.virtualweaver.xotics.dialect.xape.engine
Class XapMessage
java.lang.Object
com.virtualweaver.xotics.datamodel.XoObjectSupport
com.virtualweaver.xotics.datamodel.XoContainerSupport
com.virtualweaver.xotics.dialect.xape.engine.XapMessage
- All Implemented Interfaces:
- java.lang.Cloneable, com.virtualweaver.xotics.datamodel.XoContainer, com.virtualweaver.xotics.datamodel.XoNode, com.virtualweaver.xotics.datamodel.XoObject
- Direct Known Subclasses:
- XapRequest, XapResponse
- public class XapMessage
- extends com.virtualweaver.xotics.datamodel.XoContainerSupport
This class is an XO container, base class of XapRequest
and XapResponse
classes. Property id holds a request or response ID. Each response has the same ID value as its
associated request. Property type is one of the three values :
REQ_TYPE_ONEWAY
REQ_TYPE_SYNC
REQ_TYPE_ASYNC
from XapConstants
, to indicate the request type. Associated response has the same value.
- Version:
- 2.1
Fields inherited from class com.virtualweaver.xotics.datamodel.XoContainerSupport |
containerEventSupport |
Fields inherited from class com.virtualweaver.xotics.datamodel.XoObjectSupport |
propertyChangeSupport, vetoableChangeSupport |
Methods inherited from class com.virtualweaver.xotics.datamodel.XoContainerSupport |
addXoChild, addXoContainerListener, getXoChildren, getXoChildren, getXoChildrenCount, getXoContainerListeners, getXoContentModel, isXoObjectWelcome, removeXoChild, removeXoContainerListener |
Methods inherited from class com.virtualweaver.xotics.datamodel.XoObjectSupport |
addPropertyChangeListener, addVetoableChangeListener, clone, equalsXoObject, getLocale, getXmlLocalName, getXmlNameSpace, getXmlWhiteSpace, getXoDMInstance, getXoParent, removePropertyChangeListener, removeVetoableChangeListener, setIntegrated, setLocale, setXmlLocalName, setXmlNameSpace, setXmlWhiteSpace, setXoDMInstance, setXoParent, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.virtualweaver.xotics.datamodel.XoObject |
addPropertyChangeListener, addVetoableChangeListener, equalsXoObject, getLocale, getXmlLocalName, getXmlNameSpace, getXmlWhiteSpace, getXoDMInstance, getXoParent, removePropertyChangeListener, removeVetoableChangeListener, setIntegrated, setLocale, setXmlLocalName, setXmlNameSpace, setXmlWhiteSpace, setXoDMInstance, setXoParent |
XapMessage
public XapMessage()
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getType
public byte getType()
setType
public void setType(byte type)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
checkXoValidity
public void checkXoValidity()
throws com.virtualweaver.xotics.datamodel.XoValidityException
- Throws:
com.virtualweaver.xotics.datamodel.XoValidityException
isXoPropertyToWrite
public boolean isXoPropertyToWrite(java.lang.String pname)
clone
protected java.lang.Object clone(XapMessage clone)
clone
public java.lang.Object clone()