001: /**
002: * LibreSource
003: * Copyright (C) 2004-2008 Artenum SARL / INRIA
004: * http://www.libresource.org - contact@artenum.com
005: *
006: * This file is part of the LibreSource software,
007: * which can be used and distributed under license conditions.
008: * The license conditions are provided in the LICENSE.TXT file
009: * at the root path of the packaging that enclose this file.
010: * More information can be found at
011: * - http://dev.libresource.org/home/license
012: *
013: * Initial authors :
014: *
015: * Guillaume Bort / INRIA
016: * Francois Charoy / Universite Nancy 2
017: * Julien Forest / Artenum
018: * Claude Godart / Universite Henry Poincare
019: * Florent Jouille / INRIA
020: * Sebastien Jourdain / INRIA / Artenum
021: * Yves Lerumeur / Artenum
022: * Pascal Molli / Universite Henry Poincare
023: * Gerald Oster / INRIA
024: * Mariarosa Penzi / Artenum
025: * Gerard Sookahet / Artenum
026: * Raphael Tani / INRIA
027: *
028: * Contributors :
029: *
030: * Stephane Bagnier / Artenum
031: * Amadou Dia / Artenum-IUP Blois
032: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
033: */package org.libresource.core;
034:
035: import java.io.Serializable;
036:
037: import java.net.URI;
038:
039: import java.util.Date;
040:
041: public class TimelineItem implements Serializable {
042: private String type;
043: private URI uri;
044: private String resourceName;
045: private String user;
046: private Date date;
047: private String args;
048:
049: public TimelineItem(String type, URI uri, String resourceName,
050: String user, Date date, String args) {
051: this .type = type;
052: this .uri = uri;
053: this .resourceName = resourceName;
054: this .user = user;
055: this .date = date;
056: this .args = args;
057: }
058:
059: public Date getDate() {
060: return date;
061: }
062:
063: public String getResourceName() {
064: return resourceName;
065: }
066:
067: public String getType() {
068: return type;
069: }
070:
071: public URI getUri() {
072: return uri;
073: }
074:
075: public String getUser() {
076: return user;
077: }
078:
079: public void setDate(Date date) {
080: this .date = date;
081: }
082:
083: public void setResourceName(String string) {
084: resourceName = string;
085: }
086:
087: public void setType(String string) {
088: type = string;
089: }
090:
091: public void setUri(URI uri) {
092: this .uri = uri;
093: }
094:
095: public void setUser(String string) {
096: user = string;
097: }
098:
099: public String getArgs() {
100: return args;
101: }
102:
103: public void setArgs(String string) {
104: args = string;
105: }
106: }
|