74 lines
1.4 KiB
Java
74 lines
1.4 KiB
Java
package org.gcube.portlets.user.uriresolvermanager.resolvers.query;
|
|
|
|
/**
|
|
* The Class GeoportalResolverQueryString.
|
|
*
|
|
* @author Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it
|
|
*
|
|
* Mar 27, 2023
|
|
*/
|
|
public class GeoportalResolverQueryString {
|
|
|
|
private final String itemType;
|
|
private String itemId;
|
|
private String gcubeScope;
|
|
|
|
/**
|
|
* Instantiates a new geoportal resolver query string.
|
|
*
|
|
* @param builder the builder
|
|
*/
|
|
public GeoportalResolverQueryString(GeoportalResolverQueryStringBuilder builder) {
|
|
this.itemType = builder.getItemType();
|
|
this.itemId = builder.getItemId();
|
|
this.gcubeScope = builder.getGcubeScope();
|
|
|
|
}
|
|
|
|
/**
|
|
* Gets the item type.
|
|
*
|
|
* @return the item type
|
|
*/
|
|
public String getItemType() {
|
|
return itemType;
|
|
}
|
|
|
|
/**
|
|
* Gets the item id.
|
|
*
|
|
* @return the item id
|
|
*/
|
|
public String getItemId() {
|
|
return itemId;
|
|
}
|
|
|
|
/**
|
|
* Gets the gcube scope.
|
|
*
|
|
* @return the gcube scope
|
|
*/
|
|
public String getGcubeScope() {
|
|
return gcubeScope;
|
|
}
|
|
|
|
/**
|
|
* To string.
|
|
*
|
|
* @return the string
|
|
*/
|
|
@Override
|
|
public String toString() {
|
|
StringBuilder builder = new StringBuilder();
|
|
builder.append("GeoportalResolverQueryString [itemType=");
|
|
builder.append(itemType);
|
|
builder.append(", itemId=");
|
|
builder.append(itemId);
|
|
builder.append(", gcubeScope=");
|
|
builder.append(gcubeScope);
|
|
builder.append("]");
|
|
return builder.toString();
|
|
}
|
|
|
|
}
|