Project

General

Profile

Download (1.28 KB) Statistics
| Branch: | Tag: | Revision:
1
// $Id$
2
/**
3
* Copyright (C) 2007 EDIT
4
* European Distributed Institute of Taxonomy
5
* http://www.e-taxonomy.eu
6
*
7
* The contents of this file are subject to the Mozilla Public License Version 1.1
8
* See LICENSE.TXT at the top of this package for the full license terms.
9
*/
10

    
11
package eu.etaxonomy.cdm.remote.controller;
12

    
13
import io.swagger.annotations.Api;
14

    
15
import org.apache.log4j.Logger;
16
import org.springframework.beans.factory.annotation.Autowired;
17
import org.springframework.stereotype.Controller;
18
import org.springframework.web.bind.annotation.RequestMapping;
19

    
20
import eu.etaxonomy.cdm.api.service.IFeatureNodeService;
21
import eu.etaxonomy.cdm.model.description.FeatureNode;
22

    
23
/**
24
 * @author n.hoffmann
25
 * @created Aug 6, 2010
26
 * @version 1.0
27
 */
28
@Controller
29
@Api("featureNode")
30
@RequestMapping(value = {"/featureNode/{uuid}"})
31
public class FeatureNodeController extends BaseController<FeatureNode, IFeatureNodeService> {
32
    @SuppressWarnings("unused")
33
    private static final Logger logger = Logger.getLogger(FeatureNodeController.class);
34

    
35
    /* (non-Javadoc)
36
     * @see eu.etaxonomy.cdm.remote.controller.BaseController#setService(eu.etaxonomy.cdm.api.service.IService)
37
     */
38
    @Override
39
    @Autowired
40
    public void setService(IFeatureNodeService service) {
41
        this.service = service;
42
    }
43
}
(25-25/63)