| .. | .. |
|---|
| 1 | +/* |
|---|
| 2 | +* Copyright @ 2013 CurisTEC, S.A.S. All Rights Reserved. |
|---|
| 3 | +*/ |
|---|
| 1 | 4 | package net.curisit.securis.db.common; |
|---|
| 2 | 5 | |
|---|
| 3 | 6 | import java.util.Date; |
|---|
| 4 | 7 | |
|---|
| 8 | +/** |
|---|
| 9 | +* CreationTimestampEntity |
|---|
| 10 | +* <p> |
|---|
| 11 | +* Contract for entities that expose a creation timestamp property. |
|---|
| 12 | +*/ |
|---|
| 5 | 13 | public interface CreationTimestampEntity { |
|---|
| 6 | 14 | |
|---|
| 7 | | - public Date getCreationTimestamp(); |
|---|
| 15 | + /** |
|---|
| 16 | + * getCreationTimestamp<p> |
|---|
| 17 | + * Return creation timestamp. |
|---|
| 18 | + * |
|---|
| 19 | + * @return creationTimeStamp |
|---|
| 20 | + */ |
|---|
| 21 | + Date getCreationTimestamp(); |
|---|
| 8 | 22 | |
|---|
| 9 | | - public void setCreationTimestamp(Date creationTimestamp); |
|---|
| 23 | + /** |
|---|
| 24 | + * setCreationTimestamp<p> |
|---|
| 25 | + * Set creation timestamp. |
|---|
| 26 | + * |
|---|
| 27 | + * @param creationTimestamp |
|---|
| 28 | + */ |
|---|
| 29 | + void setCreationTimestamp(Date creationTimestamp); |
|---|
| 10 | 30 | } |
|---|
| 31 | + |
|---|