com.artima.place
Class GoldenLinkItem
java.lang.Object
|
+--net.jini.entry.AbstractEntry
|
+--com.artima.place.GoldenLinkItem
- All Implemented Interfaces:
- net.jini.core.entry.Entry, java.io.Serializable
- public class GoldenLinkItem
- 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,
or be used by search engines indexing this service. The LinkItem
contained in this entry
can serve as a recommended Link
and attributes Set
for clients wishing to create a new (or resynch an old) LinkItem
to the service in whose ServiceItem
this entry appears.
- See Also:
- Serialized Form
Field Summary |
LinkItem |
linkItem
A "golden" LinkItem that contains a Link
(recommended by the provider of this service) that
when activated will yield the service in whose attributes sets this
GoldenLink appears. |
Constructor Summary |
GoldenLinkItem()
Constructs a GoldenLinkItem with all fields set to
null . |
GoldenLinkItem(LinkItem linkItem)
Constructs a GoldenLinkItem with its linkItem
field set to the passed value. |
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 |
linkItem
public LinkItem linkItem
- A "golden"
LinkItem
that contains a Link
(recommended by the provider of this service) that
when activated will yield the service in whose attributes sets this
GoldenLink
appears. This LinkItem
also contains
an attributes Set
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
or can be used by search engines indexing this service.
GoldenLinkItem
public GoldenLinkItem()
- Constructs a
GoldenLinkItem
with all fields set to
null
.
GoldenLinkItem
public GoldenLinkItem(LinkItem linkItem)
- Constructs a
GoldenLinkItem
with its linkItem
field set to the passed value.
- Parameters:
linkItem
- the LinkItem
to store in this
GoldenLink
, or null
.