cdmlib/cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/IVersionableEntity.java @ b5f21afa
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 |
import eu.etaxonomy.cdm.model.permission.User; |
15 |
|
16 |
/**
|
17 |
* @author n.hoffmann
|
18 |
* @since Sep 15, 2010
|
19 |
* @version 1.0
|
20 |
*/
|
21 |
public interface IVersionableEntity extends ICdmBase { |
22 |
|
23 |
public User getUpdatedBy(); |
24 |
|
25 |
/**
|
26 |
*
|
27 |
* @param updatedBy updatedBy
|
28 |
*/
|
29 |
public void setUpdatedBy(User updatedBy); |
30 |
|
31 |
/**
|
32 |
*
|
33 |
* @return
|
34 |
*/
|
35 |
public DateTime getUpdated(); |
36 |
|
37 |
/**
|
38 |
*
|
39 |
* @param updated updated
|
40 |
*/
|
41 |
public void setUpdated(DateTime updated); |
42 |
|
43 |
}
|