[Join-cvs] join1/src/main/org/figure8/join/services/remoting/beans RemoteResourceVersion.java, NONE
Brought to you by:
lbroudoux
|
From: Laurent B. <lbr...@us...> - 2008-02-03 22:43:39
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/services/remoting/beans In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2931/services/remoting/beans Added Files: RemoteResourceVersion.java Log Message: Add feature for remote interaction with resources and their versions --- NEW FILE: RemoteResourceVersion.java --- /** * Copyright 2005-2007 the original author or authors. * * Licensed under the Gnu General Pubic License, Version 2.0 (the * "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.opensource.org/licenses/gpl-license.php * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * See the Gnu General Public License for more details. */ package org.figure8.join.services.remoting.beans; import java.util.Date; import java.io.Serializable; /** * @author <a href="mailto:lau...@fr...">Laurent Broudoux</a> * @version $Revision: 1.1 $ */ public class RemoteResourceVersion implements Serializable{ // Attributes --------------------------------------------------------------- /** This resource version name (should be unique) */ private String name; /** This resource version description */ private String description; /** This resource version creation date */ private Date creationDate; /** The key of corresponding resource type */ private String resourceTypeKey; // Constructors ------------------------------------------------------------- /** * Creates a new instance of RemoteResourceVersion * @param name The resource version name * @param description The resource version description * @paramt resourceTypeKey The resource type this version applies to */ public RemoteResourceVersion(String name, String description, String resourceTypeKey){ this.name = name; this.description = description; this.resourceTypeKey = resourceTypeKey; } // Public ------------------------------------------------------------------- /** @return This resource version name */ public String getName(){ return name; } /** @param name This resource version name */ public void setName(String name){ this.name = name; } /** @return This resource version description */ public String getDescription(){ return description; } /** @param description This resource version description */ public void setDescription(String description){ this.description = description; } /** @return This resource version type unique key */ public String getResourceTypeKey(){ return resourceTypeKey; } } |