com.virtualweaver.xotics.dialect.xape.engine
Class XapMessage

java.lang.Object
  extended bycom.virtualweaver.xotics.datamodel.XoObjectSupport
      extended bycom.virtualweaver.xotics.datamodel.XoContainerSupport
          extended bycom.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 :

from XapConstants, to indicate the request type. Associated response has the same value.

Version:
2.1

Field Summary
 
Fields inherited from class com.virtualweaver.xotics.datamodel.XoContainerSupport
containerEventSupport
 
Fields inherited from class com.virtualweaver.xotics.datamodel.XoObjectSupport
propertyChangeSupport, vetoableChangeSupport
 
Constructor Summary
XapMessage()
           
 
Method Summary
 void checkXoValidity()
           
 java.lang.Object clone()
           
protected  java.lang.Object clone(XapMessage clone)
           
 java.lang.String getId()
           
 byte getType()
           
 boolean isXoPropertyToWrite(java.lang.String pname)
           
 void setId(java.lang.String id)
           
 void setType(byte type)
           
 
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
 

Constructor Detail

XapMessage

public XapMessage()
Method Detail

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()