Interface jada.JadaItem
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jada.JadaItem

public interface JadaItem
extends Object
Base jada item class.
If you want to share a class using a remote object space your class must either implemet this interface or you have to write a serializer for that class. NOTE:
  • a class that implements JadaItem MUST have a default constructor
  • a class that implements JadaItem MUST be public

    Method Index

     o buildItem(InputStream)
    Restore the field of this object reading dumped data from is.
     o cloneItem(Object)
    Clone this item from a "source" one.
     o dumpItem(OutputStream)
    Dumps this object into os.
     o matchesItem(JadaItem)
    Returns true if this item matches the given one.

    Methods

     o dumpItem
      public abstract void dumpItem(OutputStream os) throws JadaItemIsNotStreamableException, IOException
    
    Dumps this object into os.
     o buildItem
      public abstract void buildItem(InputStream is) throws JadaItemIsNotStreamableException, IOException
    
    Restore the field of this object reading dumped data from is.
     o cloneItem
      public abstract void cloneItem(Object source)
    
    Clone this item from a "source" one.
     o matchesItem
      public abstract boolean matchesItem(JadaItem match)
    
    Returns true if this item matches the given one.

    All Packages  Class Hierarchy  This Package  Previous  Next  Index