GigaSpaces XAP 8.0 API

net.jini.lookup.entry
Class Location

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

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.

Author:
Sun Microsystems, Inc.
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.
 
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

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

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.