cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IVersionableEntity.java @ 2540fa1d
1 |
/**
|
---|---|
2 |
* Copyright (C) 2007 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 |
|
10 |
package eu.etaxonomy.cdm.model.common; |
11 |
|
12 |
import org.joda.time.DateTime; |
13 |
|
14 |
/**
|
15 |
* @author n.hoffmann
|
16 |
* @since Sep 15, 2010
|
17 |
* @version 1.0
|
18 |
*/
|
19 |
public interface IVersionableEntity extends ICdmBase { |
20 |
|
21 |
public User getUpdatedBy(); |
22 |
|
23 |
/**
|
24 |
*
|
25 |
* @param updatedBy updatedBy
|
26 |
*/
|
27 |
public void setUpdatedBy(User updatedBy); |
28 |
|
29 |
/**
|
30 |
*
|
31 |
* @return
|
32 |
*/
|
33 |
public DateTime getUpdated(); |
34 |
|
35 |
/**
|
36 |
*
|
37 |
* @param updated updated
|
38 |
*/
|
39 |
public void setUpdated(DateTime updated); |
40 |
|
41 |
}
|