Class ActivitySuperclassDTO
- java.lang.Object
-
- idatt2106.group3.backend.Model.DTO.Activity.ActivitySuperclassDTO
-
- Direct Known Subclasses:
ActivityDTO
,ActivityRegistrationDTO
public class ActivitySuperclassDTO extends java.lang.Object
Superclass for activity DTO classes
-
-
Constructor Summary
Constructors Constructor Description ActivitySuperclassDTO()
ActivitySuperclassDTO(java.lang.String title, java.lang.String type, java.lang.String description, java.lang.String equipment, int difficulty, java.lang.String city, java.lang.String place, double longitude, double latitude, java.time.LocalDateTime startTime, int durationMinutes, boolean isPrivateActivity, int maxParticipants, java.lang.String activityPicture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActivityPicture()
java.lang.String
getCity()
java.lang.String
getDescription()
int
getDifficulty()
int
getDurationMinutes()
java.lang.String
getEquipment()
double
getLatitude()
double
getLongitude()
int
getMaxParticipants()
java.lang.String
getPlace()
java.time.LocalDateTime
getStartTime()
java.lang.String
getTitle()
java.lang.String
getType()
boolean
isPrivateActivity()
void
setActivityPicture(java.lang.String activityPicture)
void
setCity(java.lang.String city)
void
setDescription(java.lang.String description)
void
setDifficulty(int difficulty)
void
setDurationMinutes(int durationMinutes)
void
setEquipment(java.lang.String equipment)
void
setLatitude(double latitude)
void
setLongitude(double longitude)
void
setMaxParticipants(int maxParticipants)
void
setPlace(java.lang.String place)
void
setPrivateActivity(boolean privateActivity)
void
setStartTime(java.time.LocalDateTime startTime)
void
setTitle(java.lang.String title)
void
setType(java.lang.String type)
java.lang.String
toString()
-
-
-
Constructor Detail
-
ActivitySuperclassDTO
public ActivitySuperclassDTO(java.lang.String title, java.lang.String type, java.lang.String description, java.lang.String equipment, int difficulty, java.lang.String city, java.lang.String place, double longitude, double latitude, java.time.LocalDateTime startTime, int durationMinutes, boolean isPrivateActivity, int maxParticipants, java.lang.String activityPicture)
-
ActivitySuperclassDTO
public ActivitySuperclassDTO()
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
-
setTitle
public void setTitle(java.lang.String title)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getEquipment
public java.lang.String getEquipment()
-
setEquipment
public void setEquipment(java.lang.String equipment)
-
getDifficulty
public int getDifficulty()
-
setDifficulty
public void setDifficulty(int difficulty)
-
getCity
public java.lang.String getCity()
-
setCity
public void setCity(java.lang.String city)
-
getPlace
public java.lang.String getPlace()
-
setPlace
public void setPlace(java.lang.String place)
-
getLongitude
public double getLongitude()
-
setLongitude
public void setLongitude(double longitude)
-
getLatitude
public double getLatitude()
-
setLatitude
public void setLatitude(double latitude)
-
getStartTime
public java.time.LocalDateTime getStartTime()
-
setStartTime
public void setStartTime(java.time.LocalDateTime startTime)
-
getDurationMinutes
public int getDurationMinutes()
-
setDurationMinutes
public void setDurationMinutes(int durationMinutes)
-
isPrivateActivity
public boolean isPrivateActivity()
-
setPrivateActivity
public void setPrivateActivity(boolean privateActivity)
-
getMaxParticipants
public int getMaxParticipants()
-
setMaxParticipants
public void setMaxParticipants(int maxParticipants)
-
getActivityPicture
public java.lang.String getActivityPicture()
-
setActivityPicture
public void setActivityPicture(java.lang.String activityPicture)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-