Class ActivityDTO
- java.lang.Object
-
- idatt2106.group3.backend.Model.DTO.Activity.ActivitySuperclassDTO
-
- idatt2106.group3.backend.Model.DTO.Activity.ActivityDTO
-
public class ActivityDTO extends ActivitySuperclassDTO
DTO used for transfers of data about activities
-
-
Constructor Summary
Constructors Constructor Description ActivityDTO()
ActivityDTO(Activity activity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getActivityId()
long
getChatId()
java.lang.String
getOrganizerForename()
long
getOrganizerId()
java.lang.String
getOrganizerSurname()
void
setActivityId(long activityId)
void
setChatId(long chatId)
void
setOrganizerForename(java.lang.String organizerForename)
void
setOrganizerId(long organizerId)
void
setOrganizerSurname(java.lang.String organizerSurname)
java.lang.String
toString()
-
Methods inherited from class idatt2106.group3.backend.Model.DTO.Activity.ActivitySuperclassDTO
getActivityPicture, getCity, getDescription, getDifficulty, getDurationMinutes, getEquipment, getLatitude, getLongitude, getMaxParticipants, getPlace, getStartTime, getTitle, getType, isPrivateActivity, setActivityPicture, setCity, setDescription, setDifficulty, setDurationMinutes, setEquipment, setLatitude, setLongitude, setMaxParticipants, setPlace, setPrivateActivity, setStartTime, setTitle, setType
-
-
-
-
Constructor Detail
-
ActivityDTO
public ActivityDTO(Activity activity)
-
ActivityDTO
public ActivityDTO()
-
-
Method Detail
-
getActivityId
public long getActivityId()
-
setActivityId
public void setActivityId(long activityId)
-
getOrganizerId
public long getOrganizerId()
-
setOrganizerId
public void setOrganizerId(long organizerId)
-
getOrganizerForename
public java.lang.String getOrganizerForename()
-
setOrganizerForename
public void setOrganizerForename(java.lang.String organizerForename)
-
getOrganizerSurname
public java.lang.String getOrganizerSurname()
-
setOrganizerSurname
public void setOrganizerSurname(java.lang.String organizerSurname)
-
getChatId
public long getChatId()
-
setChatId
public void setChatId(long chatId)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classActivitySuperclassDTO
-
-