001: /*
002: * $Id: ArchiveSubject.java 574 2005-11-04 16:43:26Z hengels $
003: * (c) Copyright 2004 con:cern development team.
004: *
005: * This file is part of con:cern (http://concern.sf.net).
006: *
007: * con:cern is free software; you can redistribute it and/or modify
008: * it under the terms of the GNU Lesser General Public License
009: * as published by the Free Software Foundation; either version 2.1
010: * of the License, or (at your option) any later version.
011: *
012: * Please see COPYING for the complete licence.
013: */
014: package org.concern.controller;
015:
016: import java.util.*;
017: import java.sql.Timestamp;
018:
019: /**
020: * @version $Revision: 574 $
021: */
022: public class ArchiveSubject {
023: private Integer id;
024: private String process;
025:
026: private String userValue;
027: private String originator;
028: private Set subjectLines;
029: private List logs;
030: private Timestamp created;
031:
032: public ArchiveSubject() {
033: }
034:
035: public ArchiveSubject(String userValue) {
036: this .userValue = userValue;
037: }
038:
039: public Integer getId() {
040: return id;
041: }
042:
043: public void setId(Integer id) {
044: this .id = id;
045: }
046:
047: public String getProcess() {
048: return process;
049: }
050:
051: public void setProcess(String process) {
052: this .process = process;
053: }
054:
055: public String getUserValue() {
056: return userValue;
057: }
058:
059: public void setUserValue(String userValue) {
060: this .userValue = userValue;
061: }
062:
063: public String getOriginator() {
064: return originator;
065: }
066:
067: public void setOriginator(String originator) {
068: this .originator = originator;
069: }
070:
071: public Timestamp getCreated() {
072: return created;
073: }
074:
075: public void setCreated(Timestamp created) {
076: this .created = created;
077: }
078:
079: public Set getSubjectLines() {
080: if (subjectLines == null)
081: subjectLines = new HashSet();
082: return subjectLines;
083: }
084:
085: public void setSubjectLines(Set subjectLines) {
086: this .subjectLines = subjectLines;
087: }
088:
089: public List getLogs() {
090: if (logs == null)
091: logs = new LinkedList();
092: return logs;
093: }
094:
095: public void setLogs(List logs) {
096: this .logs = logs;
097: }
098:
099: public String toString() {
100: return userValue;
101: }
102: }
|