1 /*
2 * Copyright (c) 2003
3 * Information Desire GmbH
4 * All rights reserved.
5 */
6 package com.infodesire.infobit.data;
7
8 import java.util.Date;
9 import java.util.Set;
10 /***
11 * represents certain infobit version. version has an author, creation time and
12 * certain workflow status - created / checked / approved /
13 *
14 * @author konstantin
15 * @created August 6, 2003
16 * @version $Revision: 1.6 $
17 */
18 public interface Version {
19 /***
20 * I do not like idea of exposing this to user, but somehow we have to
21 * expose this to content objects belonging to version...
22 *
23 * @return The Id value
24 */
25 Integer getId();
26
27
28 /***
29 * Gets the Name attribute of the Version object
30 *
31 * @return The Name value
32 */
33 String getName();
34
35
36 /***
37 * Gets the Author attribute of the Version object
38 *
39 * @return The Author value
40 */
41 String getAuthor();
42
43
44
45 /***
46 * Gets the Infobit attribute of the Version object
47 *
48 * @return The Infobit value
49 * @hibernate.many-to-one cascade="none" column="infobitId"
50 * not-null="true" outer-join="true"
51 */
52 Infobit getInfobit();
53
54
55 /***
56 * Gets the Date attribute of the Version object
57 *
58 * @return The Date value
59 */
60 Date getDate();
61
62
63 /***
64 * Sets the Name attribute of the Version object
65 *
66 * @param name The new Name value
67 */
68 void setName(String name);
69
70
71 /***
72 * Sets the Author attribute of the Version object
73 *
74 * @param author The new Author value
75 */
76 void setAuthor(String author);
77
78
79 /***
80 * Sets the Date attribute of the Version object
81 *
82 * @param date The new Date value
83 */
84 void setDate(Date date);
85
86
87
88 /***
89 * Gets the Content attribute of the Version object
90 *
91 * @return The Content value
92 */
93 Content getContent();
94
95 }
This page was automatically generated by Maven