source: FederatedSearch/mpi-endpoint/src/main/java/nl/mpi/annot/search/cqlsearch2/DefaultDataView.java @ 6059

Last change on this file since 6059 was 6059, checked in by olhsha@mpi.nl, 9 years ago

importing the impi endpoint with the example of usage jaxb for generating java classes from schemata,and usage of guava library for cache

File size: 1.0 KB
Line 
1/*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5package nl.mpi.annot.search.cqlsearch2;
6
7import de.clarin.fcs.schema.EndpointDescriptionType.SupportedDataViews.SupportedDataView;
8
9/**
10 * Representing a data view that corresponds to a data view "hits".
11 * @author olhsha
12 */
13public class DefaultDataView extends SupportedDataView{
14   
15    private final String _defaultDataViewId = CQLConstants.hits;
16    private final String _defaultDeliveryPolicy = CQLConstants.send_by_default;
17    private final String _defaultDataView = CQLConstants.hits_type;
18   
19    /**
20     * Creates a DefaultDataView instance and setss up the fields
21     * "_defaultDataViewId", "_defaultDeliveryPolicy" and "_defaultDataView" to
22     * "hits", "send-by-default", and "application/x-clarin-fcs-hits+xml" respectively.
23     */
24    public DefaultDataView(){
25        this.id = _defaultDataViewId;
26        this.deliveryPolicy = _defaultDeliveryPolicy;
27        this.value = _defaultDataView;
28    }
29}
Note: See TracBrowser for help on using the repository browser.