es.ucm.look.locationProviderWifi.wifi
Class Lugar

java.lang.Object
  extended by es.ucm.look.locationProviderWifi.wifi.Lugar

public class Lugar
extends java.lang.Object

Stores information of a defined node.


Constructor Summary
Lugar()
          Default constructor.
Lugar(int planta, int x, int y, java.lang.String nombre)
          Parameterized contructor
 
Method Summary
 java.lang.String getNombre()
          Returns the name
 int getPlanta()
          Returns the floor
 int getX()
          Returns the X coordinate
 int getY()
          Returns the Y coordinate
 java.lang.String toString()
          Returns the node as a string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lugar

public Lugar()
Default constructor.


Lugar

public Lugar(int planta,
             int x,
             int y,
             java.lang.String nombre)
Parameterized contructor

Parameters:
planta - floor
x - X coordinate
y - Y coordinate
nombre - Node name
Method Detail

getNombre

public java.lang.String getNombre()
Returns the name

Returns:
name

getPlanta

public int getPlanta()
Returns the floor

Returns:
floor

getX

public int getX()
Returns the X coordinate

Returns:
X coordinate

getY

public int getY()
Returns the Y coordinate

Returns:
Y coordinate

toString

public java.lang.String toString()
Returns the node as a string

Overrides:
toString in class java.lang.Object
Returns:
string representing the node information