Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@97791 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3bd4da5d31
commit
43611e02a3
|
@ -5,17 +5,14 @@ import java.io.Serializable;
|
|||
import org.gcube.portlets.user.td.gwtservice.shared.share.Contacts;
|
||||
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @author "Giancarlo Panichi"
|
||||
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
* @author "Giancarlo Panichi" <a
|
||||
* href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
|
||||
*
|
||||
*/
|
||||
public class TabResource implements Serializable {
|
||||
|
||||
|
||||
|
||||
private static final long serialVersionUID = -8353499109124097114L;
|
||||
|
||||
protected TRId trId;
|
||||
|
@ -29,10 +26,11 @@ public class TabResource implements Serializable {
|
|||
protected boolean valid;
|
||||
protected boolean finalized;
|
||||
|
||||
public TabResource() {
|
||||
}
|
||||
|
||||
public TabResource(){}
|
||||
|
||||
public TabResource(String id, String name, String description,String agency, String date, String right, TRId trId){
|
||||
public TabResource(String id, String name, String description,
|
||||
String agency, String date, String right, TRId trId) {
|
||||
this.id = id;
|
||||
this.name = name;
|
||||
this.description = description;
|
||||
|
@ -114,6 +112,14 @@ public class TabResource implements Serializable {
|
|||
this.owner = owner;
|
||||
}
|
||||
|
||||
public String getOwnerLogin() {
|
||||
String login = null;
|
||||
if (owner != null) {
|
||||
login = owner.getLogin();
|
||||
}
|
||||
return login;
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return valid;
|
||||
}
|
||||
|
@ -138,9 +144,4 @@ public class TabResource implements Serializable {
|
|||
+ ", valid=" + valid + ", finalized=" + finalized + "]";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue