116 lines
2.5 KiB
Java
116 lines
2.5 KiB
Java
package org.gcube.application.geoportalcommon.shared.geoportalconfig;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.List;
|
|
|
|
public class GcubeProfileVO implements Serializable {
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private static final long serialVersionUID = -7910384776524845043L;
|
|
|
|
public static final int MIN_MAX_NOT_SPECIFIED = -1;
|
|
|
|
private String gcubeSecondaryType;
|
|
private String gcubeName;
|
|
private String sectionName;
|
|
private String sectionTitle;
|
|
|
|
/**
|
|
* 0: Not specified means Not Mandatory. The Gcube Profile is not mandatory and
|
|
* means that all its fields must be optional in the gCube Meta Profile. N: is
|
|
* the MIN number of Occurrences Default is 1 occurrence
|
|
*/
|
|
private int minOccurs = 1;
|
|
|
|
/**
|
|
* 0: Not specified means max number of Occurrences is arbitrary. N: is the MAX
|
|
* number of Occurrences
|
|
*/
|
|
private int maxOccurs = 1;
|
|
|
|
private List<FilePathVO> filePaths;
|
|
|
|
public GcubeProfileVO() {
|
|
}
|
|
|
|
public String getGcubeSecondaryType() {
|
|
return gcubeSecondaryType;
|
|
}
|
|
|
|
public String getGcubeName() {
|
|
return gcubeName;
|
|
}
|
|
|
|
public String getSectionName() {
|
|
return sectionName;
|
|
}
|
|
|
|
public String getSectionTitle() {
|
|
return sectionTitle;
|
|
}
|
|
|
|
public int getMinOccurs() {
|
|
return minOccurs;
|
|
}
|
|
|
|
public int getMaxOccurs() {
|
|
return maxOccurs;
|
|
}
|
|
|
|
public List<FilePathVO> getFilePaths() {
|
|
return filePaths;
|
|
}
|
|
|
|
public void setGcubeSecondaryType(String gcubeSecondaryType) {
|
|
this.gcubeSecondaryType = gcubeSecondaryType;
|
|
}
|
|
|
|
public void setGcubeName(String gcubeName) {
|
|
this.gcubeName = gcubeName;
|
|
}
|
|
|
|
public void setSectionName(String sectionName) {
|
|
this.sectionName = sectionName;
|
|
}
|
|
|
|
public void setSectionTitle(String sectionTitle) {
|
|
this.sectionTitle = sectionTitle;
|
|
}
|
|
|
|
public void setMinOccurs(int minOccurs) {
|
|
this.minOccurs = minOccurs;
|
|
}
|
|
|
|
public void setMaxOccurs(int maxOccurs) {
|
|
this.maxOccurs = maxOccurs;
|
|
}
|
|
|
|
public void setFilePaths(List<FilePathVO> filePaths) {
|
|
this.filePaths = filePaths;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("GcubeProfileVO [gcubeSecondaryType=");
|
|
builder.append(gcubeSecondaryType);
|
|
builder.append(", gcubeName=");
|
|
builder.append(gcubeName);
|
|
builder.append(", sectionName=");
|
|
builder.append(sectionName);
|
|
builder.append(", sectionTitle=");
|
|
builder.append(sectionTitle);
|
|
builder.append(", minOccurs=");
|
|
builder.append(minOccurs);
|
|
builder.append(", maxOccurs=");
|
|
builder.append(maxOccurs);
|
|
builder.append(", filePaths=");
|
|
builder.append(filePaths);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|