added property Name to WorkspaceContent
This commit is contained in:
parent
e64549fd2b
commit
f5fd25759a
|
@ -475,6 +475,7 @@ public class ConvertToDataViewModel {
|
|||
theWSDV.setMimetype(wContent.getMimetype());
|
||||
theWSDV.setStorageID(wContent.getStorageID());
|
||||
theWSDV.setId(wContent.getId());
|
||||
theWSDV.setName(wContent.getName());
|
||||
|
||||
return theWSDV;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,8 @@ public class WorkspaceContentDV implements Serializable {
|
|||
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
public WorkspaceContentDV() {
|
||||
|
||||
}
|
||||
|
@ -63,6 +65,14 @@ public class WorkspaceContentDV implements Serializable {
|
|||
this.link = link;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
@ -74,10 +84,10 @@ public class WorkspaceContentDV implements Serializable {
|
|||
builder.append(link);
|
||||
builder.append(", id=");
|
||||
builder.append(id);
|
||||
builder.append(", name=");
|
||||
builder.append(name);
|
||||
builder.append("]");
|
||||
return builder.toString();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue