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.setMimetype(wContent.getMimetype());
|
||||||
theWSDV.setStorageID(wContent.getStorageID());
|
theWSDV.setStorageID(wContent.getStorageID());
|
||||||
theWSDV.setId(wContent.getId());
|
theWSDV.setId(wContent.getId());
|
||||||
|
theWSDV.setName(wContent.getName());
|
||||||
|
|
||||||
return theWSDV;
|
return theWSDV;
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,8 @@ public class WorkspaceContentDV implements Serializable {
|
||||||
|
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
public WorkspaceContentDV() {
|
public WorkspaceContentDV() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -63,6 +65,14 @@ public class WorkspaceContentDV implements Serializable {
|
||||||
this.link = link;
|
this.link = link;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
|
@ -74,10 +84,10 @@ public class WorkspaceContentDV implements Serializable {
|
||||||
builder.append(link);
|
builder.append(link);
|
||||||
builder.append(", id=");
|
builder.append(", id=");
|
||||||
builder.append(id);
|
builder.append(id);
|
||||||
|
builder.append(", name=");
|
||||||
|
builder.append(name);
|
||||||
builder.append("]");
|
builder.append("]");
|
||||||
return builder.toString();
|
return builder.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue