/**
* Copyright (c) Codice Foundation
* <p>
* This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser
* General Public License as published by the Free Software Foundation, either version 3 of the
* License, or any later version.
* <p>
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. A copy of the GNU Lesser General Public License
* is distributed along with this program and can be found at
* <http://www.gnu.org/licenses/lgpl.html>.
**/
package org.codice.ddf.spatial.ogc.csw.catalog.common;
/**
* JAX-RS Parameter Bean Class for the DescribeRecord request. The member variables will be
* automatically injected by the JAX-RS annotations.
*
*/
public class DescribeRecordRequest extends CswRequest {
private String version;
private String namespace;
// The following parameters are optional for the DescribeRecord Request
private String typeName;
private String outputFormat;
private String schemaLanguage;
public DescribeRecordRequest() {
super(CswConstants.DESCRIBE_RECORD);
}
public DescribeRecordRequest(String service, String version) {
this();
setService(service);
setVersion(version);
}
public String getVersion() {
return version;
}
public void setVersion(String version) {
this.version = version;
}
public String getNamespace() {
return namespace;
}
public void setNamespace(String namespace) {
this.namespace = namespace;
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public String getOutputFormat() {
return outputFormat;
}
public void setOutputFormat(String outputFormat) {
this.outputFormat = outputFormat;
}
public String getSchemaLanguage() {
return schemaLanguage;
}
public void setSchemaLanguage(String schemaLanguage) {
this.schemaLanguage = schemaLanguage;
}
}