use of net.opengis.ows.v_1_0_0.CodeType in project ddf by codice.
the class CswEndpoint method buildServiceIdentification.
/**
* Creates the ServiceIdentification portion of the GetCapabilities response TODO: Add more
* DDF-specific information if desired (Fees, Keywords, and AccessConstraints are all currently
* empty, and the abstract is very basic)
*
* @return The constructed ServiceIdentification object
*/
private ServiceIdentification buildServiceIdentification() {
ServiceIdentification si = new ServiceIdentification();
si.setTitle(SERVICE_TITLE);
si.setServiceTypeVersion(SERVICE_TYPE_VERSION);
CodeType type = new CodeType();
type.setValue(CswConstants.CSW);
si.setServiceType(type);
si.setAbstract(SERVICE_ABSTRACT);
return si;
}
Aggregations