casa.JION.entry
Class Entry

java.lang.Object
  extended by casa.dodwan.message.Message
      extended by casa.JION.entry.Entry
All Implemented Interfaces:
casa.dodwan.util.Keyable<java.lang.String>, java.io.Serializable, net.jini.core.entry.Entry

public class Entry
extends casa.dodwan.message.Message
implements net.jini.core.entry.Entry

This class is the supertype of all entries that can be stored in a Jini(TM) Lookup service.

Each field of an entry must be a public reference (object) type. You cannot store primitive types in fields of an Entry. An Entry may have any number of methods or constructors. Each field is serialized separately, so references between two fields of an entry will not be reconstituted to be shared references, but instead to separate copies of the original object.

Since:
1.0
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Constructor Summary
Entry()
          Instantiates a new entry.
Entry(casa.dodwan.docware.Descriptor desc)
          Instantiates a new entry.
 
Method Summary
 void addField(java.lang.String arg0, java.lang.String arg1)
          This function could be used only with Javaspace.write() function
static void main(java.lang.String[] args)
          The main method.
 boolean matches(Entry entry)
          Matches.
 java.lang.String toString()
           
 
Methods inherited from class casa.dodwan.message.Message
clone, getDescriptor, getKey, getPayload, setDescriptor, setPayload
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Entry

public Entry()
Instantiates a new entry.


Entry

public Entry(casa.dodwan.docware.Descriptor desc)
Instantiates a new entry.

Parameters:
desc - the desc
Method Detail

addField

public void addField(java.lang.String arg0,
                     java.lang.String arg1)
This function could be used only with Javaspace.write() function

Parameters:
arg0 - the arg0
arg1 - the arg1

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

matches

public boolean matches(Entry entry)
Matches.

Parameters:
entry - the entry
Returns:
true, if successful

main

public static void main(java.lang.String[] args)
The main method.

Parameters:
args - the arguments