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