LibresourceResourceValue.java :  » Groupware » LibreSource » org » libresource » Java Open Source

Java Open Source » Groupware » LibreSource 
LibreSource » org » libresource » LibresourceResourceValue.java
/**
 * LibreSource
 * Copyright (C) 2004-2008 Artenum SARL / INRIA
 * http://www.libresource.org - contact@artenum.com
 *
 * This file is part of the LibreSource software, 
 * which can be used and distributed under license conditions.
 * The license conditions are provided in the LICENSE.TXT file 
 * at the root path of the packaging that enclose this file. 
 * More information can be found at 
 * - http://dev.libresource.org/home/license
 *
 * Initial authors :
 *
 * Guillaume Bort / INRIA
 * Francois Charoy / Universite Nancy 2
 * Julien Forest / Artenum
 * Claude Godart / Universite Henry Poincare
 * Florent Jouille / INRIA
 * Sebastien Jourdain / INRIA / Artenum
 * Yves Lerumeur / Artenum
 * Pascal Molli / Universite Henry Poincare
 * Gerald Oster / INRIA
 * Mariarosa Penzi / Artenum
 * Gerard Sookahet / Artenum
 * Raphael Tani / INRIA
 *
 * Contributors :
 *
 * Stephane Bagnier / Artenum
 * Amadou Dia / Artenum-IUP Blois
 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 */
package org.libresource;

import java.io.Serializable;

import java.net.URI;

import java.util.Date;


/**
 * LibreSource
 *
 * @author <a href="mailto:bort@loria.fr">Guillaume Bort</a> - <a
 *         href="http://www.inria.fr">INRIA Lorraine</a>
 */
public class LibresourceResourceValue implements Serializable {
    private URI uri;
    private String shortName;
    private LibresourceResourceIdentifier resourceIdentifier;
    private boolean isEmpty = false;
    private Date creationDate;
    private Date updateDate;
    private URI owner;

    public URI getUri() {
        return uri;
    }

    public void setUri(URI uri) {
        this.uri = uri;
    }

    public String getShortResourceName() {
        return shortName;
    }

    public void setShortResourceName(String string) {
        this.shortName = string;
    }

    public LibresourceResourceIdentifier getLibresourceResourceIdentifier() {
        return resourceIdentifier;
    }

    public void setLibresourceResourceIdentifier(LibresourceResourceIdentifier resourceIdentifier) {
        this.resourceIdentifier = resourceIdentifier;
    }

    public boolean getIsEmpty() {
        return isEmpty;
    }

    public void setIsEmpty(boolean value) {
        this.isEmpty = value;
    }

    public String toString() {
        return uri + "; " + shortName;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public URI getOwner() {
        return owner;
    }

    public void setOwner(URI owner) {
        this.owner = owner;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.