Project

General

Profile

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

    
11
import eu.etaxonomy.cdm.model.common.VerbatimTimePeriod;
12

    
13
/**
14
 * @author a.kohlbecker
15
 * @since May 17, 2018
16
 *
17
 */
18
public class VerbatimTimePeriodField extends AbstractTimePeriodField<VerbatimTimePeriod> {
19

    
20
    private static final long serialVersionUID = -8399562684225562651L;
21

    
22

    
23

    
24
    /**
25
     *
26
     */
27
    public VerbatimTimePeriodField() {
28
        super();
29
    }
30

    
31
    /**
32
     * @param string
33
     */
34
    public VerbatimTimePeriodField(String string) {
35
        super(string);
36
    }
37

    
38
    /**
39
     * {@inheritDoc}
40
     */
41
    @Override
42
    public Class<? extends VerbatimTimePeriod> getType() {
43
        return VerbatimTimePeriod.class;
44
    }
45

    
46
    /**
47
     * {@inheritDoc}
48
     */
49
    @Override
50
    protected VerbatimTimePeriod newModelInstance() {
51

    
52
        return VerbatimTimePeriod.NewVerbatimInstance();
53
    }
54

    
55
}
(8-8/8)