Compare commits
3 Commits
9cf5046064
...
3307e10a52
Author | SHA1 | Date |
---|---|---|
Alfredo Oliviero | 3307e10a52 | |
Alfredo Oliviero | 8aa3ece0f5 | |
Alfredo Oliviero | 840734d7ba |
28
.classpath
28
.classpath
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" output="target/classes" path="src/main/java">
|
||||
<attributes>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
|
||||
<attributes>
|
||||
<attribute name="test" value="true"/>
|
||||
<attribute name="optional" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
|
||||
<attributes>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="output" path="target/classes"/>
|
||||
</classpath>
|
|
@ -1 +1,174 @@
|
|||
/target/
|
||||
#
|
||||
ignore_me
|
||||
tomcat
|
||||
|
||||
target
|
||||
.classpath
|
||||
.visual
|
||||
.project
|
||||
.settings
|
||||
/**/.DS_Store
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/java,macos,linux,visualstudiocode,eclipse
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=java,macos,linux,visualstudiocode,eclipse
|
||||
|
||||
### Eclipse ###
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.settings/
|
||||
.loadpath
|
||||
.recommenders
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# PyDev specific (Python IDE for Eclipse)
|
||||
*.pydevproject
|
||||
|
||||
# CDT-specific (C/C++ Development Tooling)
|
||||
.cproject
|
||||
|
||||
# CDT- autotools
|
||||
.autotools
|
||||
|
||||
# Java annotation processor (APT)
|
||||
.factorypath
|
||||
|
||||
# PDT-specific (PHP Development Tools)
|
||||
.buildpath
|
||||
|
||||
# sbteclipse plugin
|
||||
.target
|
||||
|
||||
# Tern plugin
|
||||
.tern-project
|
||||
|
||||
# TeXlipse plugin
|
||||
.texlipse
|
||||
|
||||
# STS (Spring Tool Suite)
|
||||
.springBeans
|
||||
|
||||
# Code Recommenders
|
||||
.recommenders/
|
||||
|
||||
# Annotation Processing
|
||||
.apt_generated/
|
||||
.apt_generated_test/
|
||||
|
||||
# Scala IDE specific (Scala & Java development for Eclipse)
|
||||
.cache-main
|
||||
.scala_dependencies
|
||||
.worksheet
|
||||
|
||||
# Uncomment this line if you wish to ignore the project description file.
|
||||
# Typically, this file would be tracked if it contains build/dependency configurations:
|
||||
#.project
|
||||
|
||||
### Eclipse Patch ###
|
||||
# Spring Boot Tooling
|
||||
.sts4-cache/
|
||||
|
||||
### Java ###
|
||||
# Compiled class file
|
||||
*.class
|
||||
|
||||
# Log file
|
||||
*.log
|
||||
|
||||
# BlueJ files
|
||||
*.ctxt
|
||||
|
||||
# Mobile Tools for Java (J2ME)
|
||||
.mtj.tmp/
|
||||
|
||||
# Package Files #
|
||||
*.jar
|
||||
*.war
|
||||
*.nar
|
||||
*.ear
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
replay_pid*
|
||||
|
||||
### Linux ###
|
||||
*~
|
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||
.fuse_hidden*
|
||||
|
||||
# KDE directory preferences
|
||||
.directory
|
||||
|
||||
# Linux trash folder which might appear on any partition or disk
|
||||
.Trash-*
|
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed
|
||||
.nfs*
|
||||
|
||||
### macOS ###
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
### macOS Patch ###
|
||||
# iCloud generated files
|
||||
*.icloud
|
||||
|
||||
### VisualStudioCode ###
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
### VisualStudioCode Patch ###
|
||||
# Ignore all local history of files
|
||||
.history
|
||||
.ionide
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/java,macos,linux,visualstudiocode,eclipse
|
||||
|
|
36
.project
36
.project
|
@ -1,36 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>social-networking-service-model</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.m2e.core.maven2Builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.m2e.core.maven2Nature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -1,4 +0,0 @@
|
|||
eclipse.preferences.version=1
|
||||
encoding//src/main/java=UTF-8
|
||||
encoding//src/test/java=UTF-8
|
||||
encoding/<project>=UTF-8
|
|
@ -1,11 +0,0 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
|
||||
org.eclipse.jdt.core.compiler.compliance=1.8
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
|
||||
org.eclipse.jdt.core.compiler.release=disabled
|
||||
org.eclipse.jdt.core.compiler.source=1.8
|
|
@ -1,4 +0,0 @@
|
|||
activeProfiles=
|
||||
eclipse.preferences.version=1
|
||||
resolveWorkspaceProjects=true
|
||||
version=1
|
|
@ -1,13 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||
|
||||
|
||||
<wb-module deploy-name="social-networking-service-model">
|
||||
|
||||
|
||||
<wb-resource deploy-path="/" source-path="/src/main/java"/>
|
||||
|
||||
|
||||
</wb-module>
|
||||
|
||||
|
||||
</project-modules>
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<faceted-project>
|
||||
<installed facet="jst.utility" version="1.0"/>
|
||||
<installed facet="java" version="1.8"/>
|
||||
</faceted-project>
|
|
@ -1,2 +0,0 @@
|
|||
disabled=06target
|
||||
eclipse.preferences.version=1
|
|
@ -1,6 +1,6 @@
|
|||
# Changelog
|
||||
|
||||
## [v2.0.0] - 2022-05-02
|
||||
## [v2.0.0-SNAPSHOT] - 2022-05-02
|
||||
|
||||
- Feature #26396 added the socialnetworking.model.shared package which was previously in SNL which includes the main objects upon which the social service is based like posts, notifications, likes etc
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ import java.io.Serializable;
|
|||
import org.jsonmaker.gwt.client.Jsonizer;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Attachment implements Serializable {
|
||||
public class Attachment implements Serializable, IdResource {
|
||||
|
||||
public interface AttachmentJsonizer extends Jsonizer {}
|
||||
|
||||
|
@ -42,9 +42,11 @@ public class Attachment implements Serializable {
|
|||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getUri() {
|
||||
return uri;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.Date;
|
|||
*
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Comment implements Serializable, Comparable<Comment> {
|
||||
public class Comment implements Serializable, Comparable<Comment>, IdResource {
|
||||
|
||||
private String key;
|
||||
private String userid;
|
||||
|
@ -21,13 +21,14 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
private String thumbnailURL;
|
||||
private boolean isEdit; // false default
|
||||
private Date lastEditTime; // null default
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public Comment() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param key
|
||||
|
@ -50,11 +51,12 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
this.thumbnailURL = thumbnailURL;
|
||||
this.isEdit = false;
|
||||
this.lastEditTime = null;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Constructor for edited comment
|
||||
*
|
||||
* @param key
|
||||
* @param userid
|
||||
* @param time
|
||||
|
@ -78,7 +80,7 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
this.isEdit = isEdit;
|
||||
this.lastEditTime = editDate;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the text
|
||||
|
@ -86,6 +88,7 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
public String getText() {
|
||||
return text;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param text text to add as string
|
||||
|
@ -93,6 +96,7 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
public void setText(String text) {
|
||||
this.text = text;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return the uuid
|
||||
|
@ -148,15 +152,19 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
public boolean isEdit() {
|
||||
return isEdit;
|
||||
}
|
||||
|
||||
public void setEdit(boolean isEdit) {
|
||||
this.isEdit = isEdit;
|
||||
}
|
||||
|
||||
public Date getLastEditTime() {
|
||||
return lastEditTime;
|
||||
}
|
||||
|
||||
public void setLastEditTime(Date lastEditTime) {
|
||||
this.lastEditTime = lastEditTime;
|
||||
}
|
||||
|
||||
public int compareTo(Comment toCompare) {
|
||||
if (this.time.after(toCompare.getTime()))
|
||||
return 1;
|
||||
|
@ -164,7 +172,7 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Comment [key=" + key + ", userid=" + userid + ", time=" + time
|
||||
|
@ -172,4 +180,9 @@ public class Comment implements Serializable, Comparable<Comment> {
|
|||
+ fullName + ", thumbnailURL=" + thumbnailURL + ", isEdit="
|
||||
+ isEdit + ", lastEditTime=" + lastEditTime + "]";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.social_networking.socialnetworking.model.shared;
|
|||
import java.io.Serializable;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Hashtag extends Resource implements Serializable{
|
||||
public class Hashtag implements IdResource, Serializable{
|
||||
|
||||
private String hashtag;
|
||||
private int occurrence;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
package org.gcube.social_networking.socialnetworking.model.shared;
|
||||
|
||||
public abstract class Resource {
|
||||
|
||||
public abstract String getId();
|
||||
public interface IdResource {
|
||||
public String getId();
|
||||
|
||||
}
|
|
@ -2,13 +2,14 @@ package org.gcube.social_networking.socialnetworking.model.shared;
|
|||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Massimiliano Assante, ISTI-CNR
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Invite implements Serializable {
|
||||
public class Invite implements Serializable, IdResource {
|
||||
|
||||
private String key;
|
||||
private String senderUserId;
|
||||
|
@ -18,15 +19,16 @@ public class Invite implements Serializable {
|
|||
private InviteStatus status;
|
||||
private Date time;
|
||||
private String senderFullName;
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
public Invite() {
|
||||
super();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public Invite(String key, String senderUserId, String vreid,
|
||||
String invitedEmail, String controlCode, InviteStatus status,
|
||||
Date time, String senderFullName) {
|
||||
|
@ -41,95 +43,70 @@ public class Invite implements Serializable {
|
|||
this.senderFullName = senderFullName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public String getKey() {
|
||||
return key;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public void setKey(String key) {
|
||||
this.key = key;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public String getSenderUserId() {
|
||||
return senderUserId;
|
||||
}
|
||||
|
||||
|
||||
public void setSenderUserId(String senderUserId) {
|
||||
this.senderUserId = senderUserId;
|
||||
}
|
||||
|
||||
|
||||
public String getVreid() {
|
||||
return vreid;
|
||||
}
|
||||
|
||||
|
||||
public void setVreid(String vreid) {
|
||||
this.vreid = vreid;
|
||||
}
|
||||
|
||||
|
||||
public String getInvitedEmail() {
|
||||
return invitedEmail;
|
||||
}
|
||||
|
||||
|
||||
public void setInvitedEmail(String invitedEmail) {
|
||||
this.invitedEmail = invitedEmail;
|
||||
}
|
||||
|
||||
|
||||
public String getControlCode() {
|
||||
return controlCode;
|
||||
}
|
||||
|
||||
|
||||
public void setControlCode(String controlCode) {
|
||||
this.controlCode = controlCode;
|
||||
}
|
||||
|
||||
|
||||
public InviteStatus getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
|
||||
public void setStatus(InviteStatus status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
||||
public Date getTime() {
|
||||
return time;
|
||||
}
|
||||
|
||||
|
||||
public void setTime(Date time) {
|
||||
this.time = time;
|
||||
}
|
||||
|
||||
|
||||
public String getSenderFullName() {
|
||||
return senderFullName;
|
||||
}
|
||||
|
||||
|
||||
public void setSenderFullName(String senderFullName) {
|
||||
this.senderFullName = senderFullName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Invite [key=" + key + ", senderUserId=" + senderUserId
|
||||
|
@ -138,7 +115,4 @@ public class Invite implements Serializable {
|
|||
+ ", time=" + time + ", senderFullName=" + senderFullName + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Date;
|
|||
*
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Like implements Serializable {
|
||||
public class Like implements Serializable, IdResource {
|
||||
|
||||
private String key;
|
||||
private String userid;
|
||||
|
@ -18,6 +18,11 @@ public class Like implements Serializable {
|
|||
private String fullName;
|
||||
private String thumbnailURL;
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return this.key;
|
||||
}
|
||||
|
||||
public Like() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Date;
|
|||
*
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Notification implements Serializable {
|
||||
public class Notification implements Serializable, IdResource {
|
||||
|
||||
private String key;
|
||||
private NotificationType type;
|
||||
|
@ -190,4 +190,11 @@ public class Notification implements Serializable {
|
|||
+ senderFullName + ", senderThumbnail=" + senderThumbnail
|
||||
+ ", commentKey=" + commentKey + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return this.key;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@ package org.gcube.social_networking.socialnetworking.model.shared;
|
|||
import java.io.Serializable;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class NotificationPreference extends Resource implements Serializable {
|
||||
public class NotificationPreference implements Serializable, IdResource {
|
||||
private String notificationType;
|
||||
private String[] notificationChannelType;
|
||||
|
||||
|
@ -13,6 +13,7 @@ public class NotificationPreference extends Resource implements Serializable {
|
|||
public NotificationPreference() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param notificationType
|
||||
|
@ -24,11 +25,10 @@ public class NotificationPreference extends Resource implements Serializable {
|
|||
this.notificationChannelType = notificationChannelType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "NotificationPreference [notificationtype=" + notificationType + ", notificationChannelType=" + Arrays.toString(notificationChannelType) + "]";
|
||||
return "NotificationPreference [notificationtype=" + notificationType + ", notificationChannelType="
|
||||
+ Arrays.toString(notificationChannelType) + "]";
|
||||
}
|
||||
|
||||
public String getNotificationType() {
|
||||
|
|
|
@ -9,7 +9,7 @@ import java.util.Date;
|
|||
*
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Post implements Serializable, Comparable<Post> {
|
||||
public class Post implements Serializable, Comparable<Post>, IdResource {
|
||||
|
||||
private String key;
|
||||
private PostType type;
|
||||
|
@ -29,6 +29,10 @@ public class Post implements Serializable, Comparable<Post> {
|
|||
private String linkDescription;
|
||||
private String linkHost;
|
||||
boolean applicationPost;
|
||||
|
||||
public String getId(){
|
||||
return this.key;
|
||||
}
|
||||
/**
|
||||
* this boolean indicates that the attachments to the post are > 1
|
||||
*/
|
||||
|
|
|
@ -4,10 +4,14 @@ import java.io.Serializable;
|
|||
import java.util.List;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class PostWithAttachment implements Serializable {
|
||||
public class PostWithAttachment implements IdResource, Serializable{
|
||||
private Post post;
|
||||
private List<Attachment> attachments;
|
||||
|
||||
public String getId(){
|
||||
return this.post.getId();
|
||||
}
|
||||
|
||||
public PostWithAttachment(Post post, List<Attachment> attachments){
|
||||
super();
|
||||
this.post = post;
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
package org.gcube.social_networking.socialnetworking.model.shared;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
public class Vre extends Resource implements Serializable{
|
||||
public class Vre implements IdResource, Serializable {
|
||||
|
||||
private String vreid;
|
||||
|
||||
|
@ -14,6 +13,7 @@ public class Vre extends Resource implements Serializable{
|
|||
public Vre() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @param vreid
|
||||
|
@ -24,20 +24,17 @@ public class Vre extends Resource implements Serializable{
|
|||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Vre [vreid=" + vreid + "]";
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return vreid;
|
||||
}
|
||||
|
||||
public void setId(String vreid){
|
||||
public void setId(String vreid) {
|
||||
this.vreid = vreid;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue