org.glassfish.jersey.examples.flight.model
Class FlightLocation

java.lang.Object
  extended by org.glassfish.jersey.examples.flight.model.FlightLocation

public class FlightLocation
extends Object

New flight location event data.

Author:
Marek Potociar (marek.potociar at oracle.com)

Constructor Summary
FlightLocation()
           
FlightLocation(String flightId, Location location)
           
 
Method Summary
 boolean equals(Object o)
           
 String getFlightId()
           
 Location getLocation()
           
 int hashCode()
           
 void setFlightId(String flightId)
           
 void setLocation(Location location)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FlightLocation

public FlightLocation()

FlightLocation

public FlightLocation(String flightId,
                      Location location)
Method Detail

getFlightId

public String getFlightId()

setFlightId

public void setFlightId(String flightId)

getLocation

public Location getLocation()

setLocation

public void setLocation(Location location)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.