org.springframework.social.tripit
Class Trip

java.lang.Object
  extended by org.springframework.social.tripit.Trip

public class Trip
extends java.lang.Object

Model class representing a trip taken by a TripIt user.


Constructor Summary
Trip()
           
 
Method Summary
 java.lang.String getDisplayName()
          The trip's display name
 java.util.Date getEndDate()
          The date that the trip concludes
 long getId()
          The trip ID
 java.lang.String getPrimaryLocation()
          The trip's primary location
 java.util.Date getStartDate()
          The date that the trip starts on
 java.lang.String getTripUrl()
          A URL to the trip page at TripIt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trip

public Trip()
Method Detail

getId

public long getId()
The trip ID

Returns:
The trip ID

getDisplayName

public java.lang.String getDisplayName()
The trip's display name

Returns:
The trip's display name

getPrimaryLocation

public java.lang.String getPrimaryLocation()
The trip's primary location

Returns:
The trip's primary location

getStartDate

public java.util.Date getStartDate()
The date that the trip starts on

Returns:
The date that the trip starts on

getEndDate

public java.util.Date getEndDate()
The date that the trip concludes

Returns:
The date that the trip concludes

getTripUrl

public java.lang.String getTripUrl()
A URL to the trip page at TripIt

Returns:
A URL to the trip page at TripIt