Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.jini.lookup.entry
Class Location

    java.lang.Object
      net.jini.entry.AbstractEntry
          net.jini.lookup.entry.Location

All Implemented Interfaces:
  Entry, Serializable

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
`String` | `building` A building name or code.
`String` | `floor` A floor designation.
`String` | `room` A room or cube number.

Constructor Summary
`Location()` Construct an empty instance of this class.
`Location(String floor, String room, String building)` Construct an instance of this class, with all fields initialized appropriately.

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

### floor

    public String floor

  A floor designation. For example, "2".

### room

    public String room

  A room or cube number. For example, "B250".

### building

    public String building

  A building name or code. For example, "SUN04".

Constructor Detail

### Location

    public Location()

  Construct an empty instance of this class.

### Location

    public Location(String floor,
                    String room,
                    String building)

  Construct an instance of this class, with all fields initialized appropriately.

Parameters:
  `floor` - a `String` representing the floor
  `room` - a `String` representing the room
  `building` - a `String` representing the building

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved