/* (c) 2017 Open Source Geospatial Foundation - all rights reserved * This code is licensed under the GPL 2.0 license, available at the root * application directory. */ package org.geoserver.opensearch.eo; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; /** * A generic request by collection and product id * * @author Andrea Aime - GeoSolutions */ public class AbstractProductRequest { String parentId; String id; String httpAccept; transient String baseUrl; public String getBaseUrl() { return baseUrl; } public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } public String getParentId() { return parentId; } public void setParentId(String parentId) { this.parentId = parentId; } public String getHttpAccept() { return httpAccept; } public void setHttpAccept(String httpAccept) { this.httpAccept = httpAccept; } public String getId() { return id; } public void setId(String id) { this.id = id; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE); } }