GigaSpaces XAP 9.0 API

net.jini.lookup.entry
Class Comment

java.lang.Object
  extended by net.jini.entry.AbstractEntry
      extended by net.jini.lookup.entry.Comment
All Implemented Interfaces:
Serializable, Entry

public class Comment
extends AbstractEntry

A free-form comment about a service.

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

Field Summary
 String comment
          The comment itself.
 
Constructor Summary
Comment()
          Construct an empty instance of this class.
Comment(String comment)
          Construct an instance of this class, with all fields initialized appropriately.
 
Method Summary
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

comment

public String comment
The comment itself.

Constructor Detail

Comment

public Comment()
Construct an empty instance of this class.


Comment

public Comment(String comment)
Construct an instance of this class, with all fields initialized appropriately.

Parameters:
comment - the contents of the comment

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.