1 package org.splat.dal.bo.som;
4 * @author Daniel Brunier-Coulin
5 * @copyright OPEN CASCADE 2012-2015
8 import org.splat.dal.bo.kernel.Persistent;
9 import org.splat.dal.bo.kernel.Relation;
12 public class StampRelation extends Relation {
14 private Timestamp refer;
16 // ==============================================================================================================================
18 // ==============================================================================================================================
20 // Database fetch constructor
21 protected StampRelation () {
23 // Internal constructor
24 protected StampRelation (final Document from, final Timestamp to) {
25 // -----------------------------------------------------
30 // ==============================================================================================================================
31 // Public member functions
32 // ==============================================================================================================================
35 public Timestamp getTo () {
36 // -------------------------
40 public ValidationStep getStampType () {
41 // -------------------------------------
42 return refer.getType();
46 public void setTo (final Persistent to) {
47 // ------------------------------------
48 refer = (Timestamp)to;