add lombok to clean codebase

This commit is contained in:
2025-11-09 18:40:38 +01:00
parent 8d9b10bace
commit c27e68caf0
88 changed files with 704 additions and 7787 deletions
+7
View File
@@ -35,5 +35,12 @@
<version>${querydsl.version}</version>
<classifier>jakarta</classifier>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
</project>
@@ -3,67 +3,18 @@
*/
package de.bstly.we.partey.api.controller.model;
import lombok.Getter;
import lombok.Setter;
/**
* The Class CharacterTexture.
*/
@Getter
@Setter
public class CharacterTexture {
private String id;
private String url;
private String layer;
/**
* Gets the id.
*
* @return the id
*/
public String getId() {
return id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(String id) {
this.id = id;
}
/**
* Gets the url.
*
* @return the url
*/
public String getUrl() {
return url;
}
/**
* Sets the url.
*
* @param url the new url
*/
public void setUrl(String url) {
this.url = url;
}
/**
* Gets the layer.
*
* @return the layer
*/
public String getLayer() {
return layer;
}
/**
* Sets the layer.
*
* @param layer the new layer
*/
public void setLayer(String layer) {
this.layer = layer;
}
}
@@ -6,10 +6,14 @@ package de.bstly.we.partey.api.controller.model;
import java.util.List;
import com.google.common.collect.Lists;
import lombok.Getter;
import lombok.Setter;
/**
* The Class MapDetailsData.
*/
@Getter
@Setter
public class MapDetailsData {
private String mapUrl = "";
@@ -27,200 +31,4 @@ public class MapDetailsData {
private boolean showPoweredBy = false;
private Object thirdParty;
/**
* @return the mapUrl
*/
public String getMapUrl() {
return mapUrl;
}
/**
* @param mapUrl the mapUrl to set
*/
public void setMapUrl(String mapUrl) {
this.mapUrl = mapUrl;
}
/**
* @return the authenticationMandatory
*/
public boolean isAuthenticationMandatory() {
return authenticationMandatory;
}
/**
* @param authenticationMandatory the authenticationMandatory to set
*/
public void setAuthenticationMandatory(boolean authenticationMandatory) {
this.authenticationMandatory = authenticationMandatory;
}
/**
* @return the group
*/
public String getGroup() {
return group;
}
/**
* @param group the group to set
*/
public void setGroup(String group) {
this.group = group;
}
/**
* @return the mucRooms
*/
public List<Object> getMucRooms() {
return mucRooms;
}
/**
* @param mucRooms the mucRooms to set
*/
public void setMucRooms(List<Object> mucRooms) {
this.mucRooms = mucRooms;
}
/**
* @return the contactPage
*/
public String getContactPage() {
return contactPage;
}
/**
* @param contactPage the contactPage to set
*/
public void setContactPage(String contactPage) {
this.contactPage = contactPage;
}
/**
* @return the iframeAuthentication
*/
public String getIframeAuthentication() {
return iframeAuthentication;
}
/**
* @param iframeAuthentication the iframeAuthentication to set
*/
public void setIframeAuthentication(String iframeAuthentication) {
this.iframeAuthentication = iframeAuthentication;
}
/**
* @return the expireOn
*/
public String getExpireOn() {
return expireOn;
}
/**
* @param expireOn the expireOn to set
*/
public void setExpireOn(String expireOn) {
this.expireOn = expireOn;
}
/**
* @return the canReport
*/
public boolean isCanReport() {
return canReport;
}
/**
* @param canReport the canReport to set
*/
public void setCanReport(boolean canReport) {
this.canReport = canReport;
}
/**
* @return the loadingCowebsiteLogo
*/
public String getLoadingCowebsiteLogo() {
return loadingCowebsiteLogo;
}
/**
* @param loadingCowebsiteLogo the loadingCowebsiteLogo to set
*/
public void setLoadingCowebsiteLogo(String loadingCowebsiteLogo) {
this.loadingCowebsiteLogo = loadingCowebsiteLogo;
}
/**
* @return the miniLogo
*/
public String getMiniLogo() {
return miniLogo;
}
/**
* @param miniLogo the miniLogo to set
*/
public void setMiniLogo(String miniLogo) {
this.miniLogo = miniLogo;
}
/**
* @return the loadingLogo
*/
public String getLoadingLogo() {
return loadingLogo;
}
/**
* @param loadingLogo the loadingLogo to set
*/
public void setLoadingLogo(String loadingLogo) {
this.loadingLogo = loadingLogo;
}
/**
* @return the loginSceneLogo
*/
public String getLoginSceneLogo() {
return loginSceneLogo;
}
/**
* @param loginSceneLogo the loginSceneLogo to set
*/
public void setLoginSceneLogo(String loginSceneLogo) {
this.loginSceneLogo = loginSceneLogo;
}
/**
* @return the showPoweredBy
*/
public boolean isShowPoweredBy() {
return showPoweredBy;
}
/**
* @param showPoweredBy the showPoweredBy to set
*/
public void setShowPoweredBy(boolean showPoweredBy) {
this.showPoweredBy = showPoweredBy;
}
/**
* @return the thirdParty
*/
public Object getThirdParty() {
return thirdParty;
}
/**
* @param thirdParty the thirdParty to set
*/
public void setThirdParty(Object thirdParty) {
this.thirdParty = thirdParty;
}
}
@@ -6,10 +6,14 @@ package de.bstly.we.partey.api.controller.model;
import java.util.List;
import com.beust.jcommander.internal.Lists;
import lombok.Getter;
import lombok.Setter;
/**
* The Class MemberData.
*/
@Getter
@Setter
public class MemberData {
private String email;
@@ -24,190 +28,4 @@ public class MemberData {
private String jabberPassword;
private List<Object> mucRooms = Lists.newArrayList();
/**
* Gets the email.
*
* @return the email
*/
public String getEmail() {
return email;
}
/**
* Sets the email.
*
* @param email the new email
*/
public void setEmail(String email) {
this.email = email;
}
/**
* Gets the user uuid.
*
* @return the user uuid
*/
public String getUserUuid() {
return userUuid;
}
/**
* Sets the user uuid.
*
* @param userUuid the new user uuid
*/
public void setUserUuid(String userUuid) {
this.userUuid = userUuid;
}
/**
* Gets the tags.
*
* @return the tags
*/
public List<String> getTags() {
return tags;
}
/**
* Sets the tags.
*
* @param tags the new tags
*/
public void setTags(List<String> tags) {
this.tags = tags;
}
/**
* Gets the visit card url.
*
* @return the visit card url
*/
public String getVisitCardUrl() {
return visitCardUrl;
}
/**
* Sets the visit card url.
*
* @param visitCardUrl the new visit card url
*/
public void setVisitCardUrl(String visitCardUrl) {
this.visitCardUrl = visitCardUrl;
}
/**
* Gets the textures.
*
* @return the textures
*/
public List<CharacterTexture> getTextures() {
return textures;
}
/**
* Sets the textures.
*
* @param textures the new textures
*/
public void setTextures(List<CharacterTexture> textures) {
this.textures = textures;
}
/**
* Gets the messages.
*
* @return the messages
*/
public List<Object> getMessages() {
return messages;
}
/**
* Sets the messages.
*
* @param messages the new messages
*/
public void setMessages(List<Object> messages) {
this.messages = messages;
}
/**
* Checks if is anonymous.
*
* @return true, if is anonymous
*/
public boolean isAnonymous() {
return anonymous;
}
/**
* Sets the anonymous.
*
* @param anonymous the new anonymous
*/
public void setAnonymous(boolean anonymous) {
this.anonymous = anonymous;
}
/**
* Gets the user room token.
*
* @return the user room token
*/
public String getUserRoomToken() {
return userRoomToken;
}
/**
* Sets the user room token.
*
* @param userRoomToken the new user room token
*/
public void setUserRoomToken(String userRoomToken) {
this.userRoomToken = userRoomToken;
}
/**
* @return the jabberId
*/
public String getJabberId() {
return jabberId;
}
/**
* @param jabberId the jabberId to set
*/
public void setJabberId(String jabberId) {
this.jabberId = jabberId;
}
/**
* @return the jabberPassword
*/
public String getJabberPassword() {
return jabberPassword;
}
/**
* @param jabberPassword the jabberPassword to set
*/
public void setJabberPassword(String jabberPassword) {
this.jabberPassword = jabberPassword;
}
/**
* @return the mucRooms
*/
public List<Object> getMucRooms() {
return mucRooms;
}
/**
* @param mucRooms the mucRooms to set
*/
public void setMucRooms(List<Object> mucRooms) {
this.mucRooms = mucRooms;
}
}
@@ -3,9 +3,14 @@
*/
package de.bstly.we.partey.api.controller.model;
import lombok.Getter;
import lombok.Setter;
/**
* The Class UserReport.
*/
@Getter
@Setter
public class UserReport {
private String reportedUserUuid;
@@ -13,76 +18,4 @@ public class UserReport {
private String reporterUserUuid;
private String reportWorldSlug;
/**
* Gets the reported user uuid.
*
* @return the reported user uuid
*/
public String getReportedUserUuid() {
return reportedUserUuid;
}
/**
* Sets the reported user uuid.
*
* @param reportedUserUuid the new reported user uuid
*/
public void setReportedUserUuid(String reportedUserUuid) {
this.reportedUserUuid = reportedUserUuid;
}
/**
* Gets the reported user comment.
*
* @return the reported user comment
*/
public String getReportedUserComment() {
return reportedUserComment;
}
/**
* Sets the reported user comment.
*
* @param reportedUserComment the new reported user comment
*/
public void setReportedUserComment(String reportedUserComment) {
this.reportedUserComment = reportedUserComment;
}
/**
* Gets the reporter user uuid.
*
* @return the reporter user uuid
*/
public String getReporterUserUuid() {
return reporterUserUuid;
}
/**
* Sets the reporter user uuid.
*
* @param reporterUserUuid the new reporter user uuid
*/
public void setReporterUserUuid(String reporterUserUuid) {
this.reporterUserUuid = reporterUserUuid;
}
/**
* Gets the report world slug.
*
* @return the report world slug
*/
public String getReportWorldSlug() {
return reportWorldSlug;
}
/**
* Sets the report world slug.
*
* @param reportWorldSlug the new report world slug
*/
public void setReportWorldSlug(String reportWorldSlug) {
this.reportWorldSlug = reportWorldSlug;
}
}
@@ -4,68 +4,18 @@
package de.bstly.we.partey.api.controller.model;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
/**
* The Class WokaCollection.
*/
@Getter
@Setter
public class WokaCollection {
private String name;
private int position;
private List<WokaTexture> textures;
/**
* Gets the name.
*
* @return the name
*/
public String getName() {
return name;
}
/**
* Sets the name.
*
* @param name the new name
*/
public void setName(String name) {
this.name = name;
}
/**
* Gets the position.
*
* @return the position
*/
public int getPosition() {
return position;
}
/**
* Sets the position.
*
* @param position the new position
*/
public void setPosition(int position) {
this.position = position;
}
/**
* Gets the textures.
*
* @return the textures
*/
public List<WokaTexture> getTextures() {
return textures;
}
/**
* Sets the textures.
*
* @param textures the new textures
*/
public void setTextures(List<WokaTexture> textures) {
this.textures = textures;
}
}
@@ -4,49 +4,16 @@
package de.bstly.we.partey.api.controller.model;
import java.util.List;
import lombok.Getter;
import lombok.Setter;
/**
* The Class WokaLayer.
*/
@Getter
@Setter
public class WokaLayer {
private boolean required;
private List<WokaCollection> collections;
/**
* Checks if is required.
*
* @return true, if is required
*/
public boolean isRequired() {
return required;
}
/**
* Sets the required.
*
* @param required the new required
*/
public void setRequired(boolean required) {
this.required = required;
}
/**
* Gets the collections.
*
* @return the collections
*/
public List<WokaCollection> getCollections() {
return collections;
}
/**
* Sets the collections.
*
* @param collections the new collections
*/
public void setCollections(List<WokaCollection> collections) {
this.collections = collections;
}
}
@@ -3,9 +3,14 @@
*/
package de.bstly.we.partey.api.controller.model;
import lombok.Getter;
import lombok.Setter;
/**
* The Class WokaTexture.
*/
@Getter
@Setter
public class WokaTexture {
private String id;
@@ -13,76 +18,4 @@ public class WokaTexture {
private String url;
private int position;
/**
* Gets the id.
*
* @return the id
*/
public String getId() {
return id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(String id) {
this.id = id;
}
/**
* Gets the name.
*
* @return the name
*/
public String getName() {
return name;
}
/**
* Sets the name.
*
* @param name the new name
*/
public void setName(String name) {
this.name = name;
}
/**
* Gets the url.
*
* @return the url
*/
public String getUrl() {
return url;
}
/**
* Sets the url.
*
* @param url the new url
*/
public void setUrl(String url) {
this.url = url;
}
/**
* Gets the position.
*
* @return the position
*/
public int getPosition() {
return position;
}
/**
* Sets the position.
*
* @param position the new position
*/
public void setPosition(int position) {
this.position = position;
}
}
@@ -3,9 +3,14 @@
*/
package de.bstly.we.partey.businesslogic.model;
import lombok.Getter;
import lombok.Setter;
/**
* The Class Room.
*/
@Getter
@Setter
public class Room {
private String url;
@@ -13,72 +18,4 @@ public class Room {
private String mapUrl;
private boolean authenticationMandatory;
/**
* Gets the url.
*
* @return the url
*/
public String getUrl() {
return url;
}
/**
* Sets the url.
*
* @param url the new url
*/
public void setUrl(String url) {
this.url = url;
}
/**
* Gets the map id.
*
* @return the map id
*/
public String getMapId() {
return mapId;
}
/**
* Sets the map id.
*
* @param mapId the new map id
*/
public void setMapId(String mapId) {
this.mapId = mapId;
}
/**
* Gets the map url.
*
* @return the map url
*/
public String getMapUrl() {
return mapUrl;
}
/**
* Sets the map url.
*
* @param mapUrl the new map url
*/
public void setMapUrl(String mapUrl) {
this.mapUrl = mapUrl;
}
/**
* @return the authenticationMandatory
*/
public boolean isAuthenticationMandatory() {
return authenticationMandatory;
}
/**
* @param authenticationMandatory the authenticationMandatory to set
*/
public void setAuthenticationMandatory(boolean authenticationMandatory) {
this.authenticationMandatory = authenticationMandatory;
}
}
@@ -15,12 +15,16 @@ import jakarta.persistence.Enumerated;
import jakarta.persistence.FetchType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
/**
* The Class ParteyMap.
*/
@Entity
@Table(name = "partey_maps")
@Getter
@Setter
public class ParteyMap {
@Id
@@ -31,58 +35,4 @@ public class ParteyMap {
@CollectionTable(name = "partey_maps_tags")
private List<String> tags = Lists.newArrayList();
/**
* Gets the id.
*
* @return the id
*/
public String getId() {
return id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(String id) {
this.id = id;
}
/**
* Gets the policy type.
*
* @return the policy type
*/
public GameRoomPolicyTypes getPolicyType() {
return policyType;
}
/**
* Sets the policy type.
*
* @param policyType the new policy type
*/
public void setPolicyType(GameRoomPolicyTypes policyType) {
this.policyType = policyType;
}
/**
* Gets the tags.
*
* @return the tags
*/
public List<String> getTags() {
return tags;
}
/**
* Sets the tags.
*
* @param tags the new tags
*/
public void setTags(List<String> tags) {
this.tags = tags;
}
}
@@ -11,11 +11,15 @@ import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Lob;
import lombok.Getter;
import lombok.Setter;
/**
* The Class ParteyUserReport.
*/
@Entity
@Getter
@Setter
public class ParteyUserReport {
@Id
@@ -30,112 +34,4 @@ public class ParteyUserReport {
private String world;
private Instant created;
/**
* Gets the id.
*
* @return the id
*/
public Long getId() {
return id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(Long id) {
this.id = id;
}
/**
* Gets the reporter.
*
* @return the reporter
*/
public Long getReporter() {
return reporter;
}
/**
* Sets the reporter.
*
* @param reporter the new reporter
*/
public void setReporter(Long reporter) {
this.reporter = reporter;
}
/**
* Gets the user.
*
* @return the user
*/
public Long getUser() {
return user;
}
/**
* Sets the user.
*
* @param user the new user
*/
public void setUser(Long user) {
this.user = user;
}
/**
* Gets the comment.
*
* @return the comment
*/
public String getComment() {
return comment;
}
/**
* Sets the comment.
*
* @param comment the new comment
*/
public void setComment(String comment) {
this.comment = comment;
}
/**
* Gets the world.
*
* @return the world
*/
public String getWorld() {
return world;
}
/**
* Sets the world.
*
* @param world the new world
*/
public void setWorld(String world) {
this.world = world;
}
/**
* Gets the created.
*
* @return the created
*/
public Instant getCreated() {
return created;
}
/**
* Sets the created.
*
* @param created the new created
*/
public void setCreated(Instant created) {
this.created = created;
}
}
@@ -8,11 +8,15 @@ import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.Setter;
/**
* The Class ParteyUserReportModerator.
*/
@Entity
@Getter
@Setter
public class ParteyUserReportModerator {
@Id
@@ -23,58 +27,4 @@ public class ParteyUserReportModerator {
@Column(columnDefinition = "boolean default false")
private boolean disabled;
/**
* Gets the id.
*
* @return the id
*/
public Long getId() {
return id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(Long id) {
this.id = id;
}
/**
* Gets the email.
*
* @return the email
*/
public String getEmail() {
return email;
}
/**
* Sets the email.
*
* @param email the new email
*/
public void setEmail(String email) {
this.email = email;
}
/**
* Checks if is disabled.
*
* @return true, if is disabled
*/
public boolean isDisabled() {
return disabled;
}
/**
* Sets the disabled.
*
* @param disabled the new disabled
*/
public void setDisabled(boolean disabled) {
this.disabled = disabled;
}
}
@@ -6,14 +6,17 @@ package de.bstly.we.partey.model;
import java.io.Serializable;
import java.time.Instant;
import de.bstly.we.model.UserData;
import de.bstly.we.partey.model.ParteyUserTag.ParteyUserTagId;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.IdClass;
import jakarta.persistence.Table;
import de.bstly.we.model.UserData;
import de.bstly.we.partey.model.ParteyUserTag.ParteyUserTagId;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* The Class ParteyUserTag.
@@ -21,6 +24,8 @@ import de.bstly.we.partey.model.ParteyUserTag.ParteyUserTagId;
@Entity
@IdClass(ParteyUserTagId.class)
@Table(name = "partey_user_tags")
@Getter
@Setter
public class ParteyUserTag implements UserData {
@Id
@@ -34,99 +39,10 @@ public class ParteyUserTag implements UserData {
@Column(name = "username", nullable = false)
private String username;
/**
* Gets the target.
*
* @return the target
*/
public Long getTarget() {
return target;
}
/**
* Sets the target.
*
* @param target the new target
*/
public void setTarget(Long target) {
this.target = target;
}
/**
* Gets the tag.
*
* @return the tag
*/
public String getTag() {
return tag;
}
/**
* Sets the tag.
*
* @param tag the new tag
*/
public void setTag(String tag) {
this.tag = tag;
}
/**
* Gets the starts.
*
* @return the starts
*/
public Instant getStarts() {
return starts;
}
/**
* Sets the starts.
*
* @param starts the new starts
*/
public void setStarts(Instant starts) {
this.starts = starts;
}
/**
* Gets the expires.
*
* @return the expires
*/
public Instant getExpires() {
return expires;
}
/**
* Sets the expires.
*
* @param expires the new expires
*/
public void setExpires(Instant expires) {
this.expires = expires;
}
/**
* Gets the username.
*
* @return the username
*/
public String getUsername() {
return username;
}
/**
* Sets the username.
*
* @param username the new username
*/
public void setUsername(String username) {
this.username = username;
}
/**
* The Class ParteyUserTagId.
*/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public static class ParteyUserTagId implements Serializable {
private static final long serialVersionUID = 1L;
@@ -134,61 +50,6 @@ public class ParteyUserTag implements UserData {
private Long target;
private String tag;
/**
* Instantiates a new partey user tag id.
*/
public ParteyUserTagId() {
super();
}
/**
* Instantiates a new partey user tag id.
*
* @param target the target
* @param tag the tag
*/
public ParteyUserTagId(Long target, String tag) {
super();
this.target = target;
this.tag = tag;
}
/**
* Gets the target.
*
* @return the target
*/
public Long getTarget() {
return target;
}
/**
* Sets the target.
*
* @param target the new target
*/
public void setTarget(Long target) {
this.target = target;
}
/**
* Gets the tag.
*
* @return the tag
*/
public String getTag() {
return tag;
}
/**
* Sets the tag.
*
* @param tag the new tag
*/
public void setTag(String tag) {
this.tag = tag;
}
/*
* @see java.lang.Object#equals(java.lang.Object)
*/
@@ -15,12 +15,16 @@ import jakarta.persistence.Entity;
import jakarta.persistence.FetchType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;
/**
* The Class ParteyUserTextures.
*/
@Entity
@Table(name = "partey_user_textures")
@Getter
@Setter
public class ParteyUserTextures implements UserData {
@Id
@@ -31,58 +35,4 @@ public class ParteyUserTextures implements UserData {
@CollectionTable(name = "partey_user_textures_list")
private List<String> textures = Lists.newArrayList();
/**
* Gets the target.
*
* @return the target
*/
public Long getTarget() {
return target;
}
/**
* Sets the target.
*
* @param target the new target
*/
public void setTarget(Long target) {
this.target = target;
}
/**
* Gets the username.
*
* @return the username
*/
public String getUsername() {
return username;
}
/**
* Sets the username.
*
* @param username the new username
*/
public void setUsername(String username) {
this.username = username;
}
/**
* Gets the textures.
*
* @return the textures
*/
public List<String> getTextures() {
return textures;
}
/**
* Sets the textures.
*
* @param textures the new textures
*/
public void setTextures(List<String> textures) {
this.textures = textures;
}
}
@@ -18,12 +18,16 @@ import jakarta.persistence.Transient;
import de.bstly.we.model.UserData;
import de.bstly.we.model.Visibility;
import lombok.Getter;
import lombok.Setter;
/**
* The Class Timeslot.
*/
@Entity
@Table(name = "timeslots")
@Getter
@Setter
public class Timeslot implements UserData {
@Id
@@ -57,238 +61,4 @@ public class Timeslot implements UserData {
@Transient
private String username;
/**
* Gets the id.
*
* @return the id
*/
public Long getId() {
return id;
}
/**
* Sets the id.
*
* @param id the new id
*/
public void setId(Long id) {
this.id = id;
}
/**
* Gets the owner.
*
* @return the owner
*/
public Long getOwner() {
return owner;
}
/**
* Sets the owner.
*
* @param owner the new owner
*/
public void setOwner(Long owner) {
this.owner = owner;
}
/**
* Gets the type.
*
* @return the type
*/
public TimeslotType getType() {
return type;
}
/**
* Sets the type.
*
* @param type the new type
*/
public void setType(TimeslotType type) {
this.type = type;
}
/**
* Gets the starts.
*
* @return the starts
*/
public Instant getStarts() {
return starts;
}
/**
* Sets the starts.
*
* @param starts the new starts
*/
public void setStarts(Instant starts) {
this.starts = starts;
}
/**
* Gets the ends.
*
* @return the ends
*/
public Instant getEnds() {
return ends;
}
/**
* Sets the ends.
*
* @param ends the new ends
*/
public void setEnds(Instant ends) {
this.ends = ends;
}
/**
* Gets the visibility.
*
* @return the visibility
*/
public Visibility getVisibility() {
return visibility;
}
/**
* Sets the visibility.
*
* @param visibility the new visibility
*/
public void setVisibility(Visibility visibility) {
this.visibility = visibility;
}
/**
* Gets the title.
*
* @return the title
*/
public String getTitle() {
return title;
}
/**
* Sets the title.
*
* @param title the new title
*/
public void setTitle(String title) {
this.title = title;
}
/**
* Gets the description.
*
* @return the description
*/
public String getDescription() {
return description;
}
/**
* Sets the description.
*
* @param description the new description
*/
public void setDescription(String description) {
this.description = description;
}
/**
* Gets the share.
*
* @return the share
*/
public String getShare() {
return share;
}
/**
* Sets the share.
*
* @param share the new share
*/
public void setShare(String share) {
this.share = share;
}
/**
* Gets the stream.
*
* @return the stream
*/
public String getStream() {
return stream;
}
/**
* Sets the stream.
*
* @param stream the new stream
*/
public void setStream(String stream) {
this.stream = stream;
}
/**
* Gets the secret.
*
* @return the secret
*/
public String getSecret() {
return secret;
}
/**
* Sets the secret.
*
* @param secret the new secret
*/
public void setSecret(String secret) {
this.secret = secret;
}
/**
* Checks if is clear after.
*
* @return true, if is clear after
*/
public boolean isClearAfter() {
return clearAfter;
}
/**
* Sets the clear after.
*
* @param clearAfter the new clear after
*/
public void setClearAfter(boolean clearAfter) {
this.clearAfter = clearAfter;
}
/**
* Gets the username.
*
* @return the username
*/
public String getUsername() {
return username;
}
/**
* Sets the username.
*
* @param username the new username
*/
public void setUsername(String username) {
this.username = username;
}
}