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.TimePeriod;
|
12
|
|
13
|
/**
|
14
|
* @author a.kohlbecker
|
15
|
* @since May 17, 2018
|
16
|
*
|
17
|
*/
|
18
|
public class TimePeriodField extends AbstractTimePeriodField<TimePeriod> {
|
19
|
|
20
|
private static final long serialVersionUID = -8399562684225562651L;
|
21
|
|
22
|
/**
|
23
|
* {@inheritDoc}
|
24
|
*/
|
25
|
@Override
|
26
|
public Class<? extends TimePeriod> getType() {
|
27
|
return TimePeriod.class;
|
28
|
}
|
29
|
|
30
|
/**
|
31
|
* {@inheritDoc}
|
32
|
*/
|
33
|
@Override
|
34
|
protected TimePeriod newModelInstance() {
|
35
|
|
36
|
return TimePeriod.NewInstance();
|
37
|
}
|
38
|
|
39
|
}
|