triploa
Class Travel
java.lang.Object
triploa.Travel
public class Travel
- extends java.lang.Object
Constructor Summary |
Travel(int id,
java.lang.String from,
java.lang.String to,
java.lang.String date,
boolean smokers,
int seat)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Travel
public Travel(int id,
java.lang.String from,
java.lang.String to,
java.lang.String date,
boolean smokers,
int seat)
create
public static Travel create(org.kxml2.io.KXmlParser p)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
- call for getting a new instance of this class from xml
- Parameters:
p
- Parser
- Returns:
- a new instance of FeedBack
- Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException
getFrom
public java.lang.String getFrom()
getTo
public java.lang.String getTo()
getDate
public java.lang.String getDate()
getID
public int getID()
update
public void update(org.kxml2.io.KXmlParser p)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
- Update this object class from xml parser
- Parameters:
p
- Parser
- Throws:
java.io.IOException
org.xmlpull.v1.XmlPullParserException
isAcceptSmokers
public boolean isAcceptSmokers()
getFreeSeat
public int getFreeSeat()
getTime
public java.lang.String getTime()
setTime
public void setTime(java.lang.String time)
getCost
public float getCost()
getUserId
public int getUserId()
getOwner
public java.lang.String getOwner()
getFeedbacks
public float getFeedbacks()
setAccomplished
public void setAccomplished(boolean accomplished)
setDeviationRadius
public void setDeviationRadius(float deviationRadius)
setDraft
public void setDraft(boolean draft)
setRequireLicensed
public void setRequireLicensed(boolean requireLicensed)
setRealBudget
public void setRealBudget(float realBudget)
setRealTime
public void setRealTime(int realTime)
setReservationExpirationDate
public void setReservationExpirationDate(java.lang.String ReservationExpirationDate)
setNotes
public void setNotes(java.lang.String notes)
setReservatedUser
public void setReservatedUser(java.util.Vector reservatedUser)
setIsBooked
public void setIsBooked(boolean isBooked)
setIsInFavorites
public void setIsInFavorites(boolean IsInFavorites)
setIsOffered
public void setIsOffered(boolean isOffered)
setCost
public void setCost(float cost)
setUserId
public void setUserId(int userId)
setOwner
public void setOwner(java.lang.String owner)
setFeedbacks
public void setFeedbacks(float feedbacks)
isAccomplished
public boolean isAccomplished()
getDeviationRadius
public float getDeviationRadius()
isDraft
public boolean isDraft()
isRequireLicensed
public boolean isRequireLicensed()
getRealBudget
public float getRealBudget()
getRealTime
public int getRealTime()
getReservationExpirationDate
public java.lang.String getReservationExpirationDate()
getNotes
public java.lang.String getNotes()
getReservatedUser
public java.util.Vector getReservatedUser()
isIsBooked
public boolean isIsBooked()
isIsInFavorites
public boolean isIsInFavorites()
isIsOffered
public boolean isIsOffered()
getCityFrom
public java.lang.String getCityFrom()
getCityTo
public java.lang.String getCityTo()
toXml
public java.lang.String toXml()
isRepetition
public boolean isRepetition()
setRepetition
public void setRepetition(boolean repetition)
getEstimatedTime
public int getEstimatedTime()
setEstimatedTime
public void setEstimatedTime(int estimatedTime)