com.artima.place
Class LinkEntry
java.lang.Object
|
+--net.jini.entry.AbstractEntry
|
+--com.artima.place.LinkEntry
- All Implemented Interfaces:
- net.jini.core.entry.Entry, java.io.Serializable
- public class LinkEntry
- extends net.jini.entry.AbstractEntry
Entry containing a link to this service (the service in whose
ServiceItem
this entry appears) and bundle of localizable
information that can be used to represent a link to this service to users.
- See Also:
- Serialized Form
Field Summary |
InfoBundle |
infoBundle
InfoBundle object that provides localized information
about this service, suitable for presenting to users, which can be
used in presenting or describing a link to this service to users. |
Link |
link
Link object that when activated, will yield this service. |
Constructor Summary |
LinkEntry()
Constructs a LinkEntry with all fields set to
null . |
LinkEntry(InfoBundle infoBundle,
Link link)
Constructs a LinkEntry with its infoBundle
and link fields set to the passed values. |
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 |
infoBundle
public InfoBundle infoBundle
InfoBundle
object that provides localized information
about this service, suitable for presenting to users, which can be
used in presenting or describing a link to this service to users.
link
public Link link
Link
object that when activated, will yield this service.
LinkEntry
public LinkEntry()
- Constructs a
LinkEntry
with all fields set to
null
.
LinkEntry
public LinkEntry(InfoBundle infoBundle,
Link link)
- Constructs a
LinkEntry
with its infoBundle
and link
fields set to the passed values.
- Parameters:
infoBundle
- the InfoBundle
to store in this
LinkEntry
, or null
.link
- the Link
to store in this
LinkEntry
, or null
.