ws-thredds-sync-widget/src/main/java/org/gcube/portlets/widgets/wsthreddssync/shared/GcubeVRE.java

112 lines
1.7 KiB
Java

package org.gcube.portlets.widgets.wsthreddssync.shared;
import java.io.Serializable;
import com.google.gwt.user.client.rpc.IsSerializable;
// TODO: Auto-generated Javadoc
/**
* The Class GcubeVRE.
*
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* Feb 14, 2018
*/
public class GcubeVRE implements Serializable, IsSerializable{
/**
*
*/
private static final long serialVersionUID = -6427520549519606384L;
/** The vre name. */
private String vreName;
/** The vre scope. */
private String vreScope;
/**
* Instantiates a new gcube VRE.
*/
public GcubeVRE() {
}
/**
* Instantiates a new gcube VRE.
*
* @param vreName the vre name
* @param vreScope the vre scope
*/
public GcubeVRE(String vreName, String vreScope) {
super();
this.vreName = vreName;
this.vreScope = vreScope;
}
/**
* Gets the vre name.
*
* @return the vreName
*/
public String getVreName() {
return vreName;
}
/**
* Gets the vre scope.
*
* @return the vreScope
*/
public String getVreScope() {
return vreScope;
}
/**
* Sets the vre name.
*
* @param vreName the vreName to set
*/
public void setVreName(String vreName) {
this.vreName = vreName;
}
/**
* Sets the vre scope.
*
* @param vreScope the vreScope to set
*/
public void setVreScope(String vreScope) {
this.vreScope = vreScope;
}
/* (non-Javadoc)
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("GcubeVRE [vreName=");
builder.append(vreName);
builder.append(", vreScope=");
builder.append(vreScope);
builder.append("]");
return builder.toString();
}
}