tabular-data-sdmx-export-wi.../src/main/java/org/gcube/portlets/user/sdmxexportwizardtd/shared/Agencies.java

110 lines
1.8 KiB
Java

/**
*
*/
package org.gcube.portlets.user.sdmxexportwizardtd.shared;
import java.io.Serializable;
/**
*
* @author "Giancarlo Panichi"
* <a href="mailto:g.panichi@isti.cnr.it">g.panichi@isti.cnr.it</a>
*
*/
public class Agencies implements Serializable {
private static final long serialVersionUID = -8353499109124097114L;
protected String id;
protected String name;
protected String description;
protected String nameLabel;
//protected boolean newAgency;
public Agencies(){}
/**
* @param id
* @param name
* @param agencyId
*/
public Agencies(String id, String name, String description) {
this.id = id;
this.name = name;
this.description = description;
this.nameLabel=id;
//this.newAgency=false;
}
/**
*
* @param id
* @param name
* @param description
* @param newAgency
*/
public Agencies(String id, String name, String description, boolean newAgency) {
this.id = id;
this.name = name;
this.description = description;
this.nameLabel=id;
//this.newAgency=newAgency;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getNameLabel() {
return nameLabel;
}
public void setNameLabel(String nameLabel) {
this.nameLabel = nameLabel;
}
/*
public boolean isNewAgency() {
return newAgency;
}
public void setNewAgency(boolean newAgency) {
this.newAgency = newAgency;
}
*/
@Override
public String toString() {
return "Agencies [id=" + id + ", name=" + name + ", description="
+ description + ", nameLabel=" + nameLabel + ", newAgency="
/*+ newAgency */+ "]";
}
}