net.jini.lookup.entry
Class Location
java.lang.Object
|
+--net.jini.entry.AbstractEntry
|
+--net.jini.lookup.entry.Location
- public class Location
- extends AbstractEntry
The location of the physical component of a service. This is
distinct from the Address class in that it can be used alone in a
small, local organization.
- See Also:
Address
,
LocationBean
, Serialized Form
Field Summary |
java.lang.String |
building
A building name or code. |
java.lang.String |
floor
A floor designation. |
java.lang.String |
room
A room or cube number. |
Constructor Summary |
Location()
Construct an empty instance of this class. |
Location(java.lang.String floor,
java.lang.String room,
java.lang.String building)
Construct an instance of this class, with all fields
initialized appropriately. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
floor
public java.lang.String floor
- A floor designation. For example, "2".
room
public java.lang.String room
- A room or cube number. For example, "B250".
building
public java.lang.String building
- A building name or code. For example, "SUN04".
Location
public Location()
- Construct an empty instance of this class.
Location
public Location(java.lang.String floor,
java.lang.String room,
java.lang.String building)
- Construct an instance of this class, with all fields
initialized appropriately.
Copyright © 1999 Sun Microsystems, Inc. All rights reserved