org.figure8.join.businessobjects.environment
Class ResourceVersion

java.lang.Object
  extended by org.figure8.join.core.EntityObject
      extended by org.figure8.join.businessobjects.environment.ResourceVersion
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ResourceVersion
extends EntityObject

This is the representation of a resource version. Such version can only be applied to VersionedResource (so that is uses VersionedResourceType in its constructor).

Version:
$Revision: 1.2 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Constructor Summary
ResourceVersion()
          Creates a new instance of ResourceVersion
ResourceVersion(java.lang.String name, java.lang.String description, VersionedResourceType resourceType)
          Creates a new instance of ResourceVersion with mandatory attributes
 
Method Summary
 java.util.Date getCreationDate()
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 VersionedResourceType getResourceType()
           
 void setCreationDate(java.util.Date creationDate)
           
 void setDescription(java.lang.String description)
           
 void setName(java.lang.String name)
           
 void setResourceType(VersionedResourceType resourceType)
           
 
Methods inherited from class org.figure8.join.core.EntityObject
clone, equals, getId, hashCode, isTransient
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceVersion

public ResourceVersion()
Creates a new instance of ResourceVersion


ResourceVersion

public ResourceVersion(java.lang.String name,
                       java.lang.String description,
                       VersionedResourceType resourceType)
Creates a new instance of ResourceVersion with mandatory attributes

Parameters:
name - The name of this resource version
description - The description of this resource version
Method Detail

getName

public java.lang.String getName()
Returns:
The name of this resource version

setName

public void setName(java.lang.String name)
Parameters:
name - The name of this resource version

getDescription

public java.lang.String getDescription()
Returns:
The description of this resource version

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description of this resource version

getCreationDate

public java.util.Date getCreationDate()
Returns:
The date of creation of this resource version

setCreationDate

public void setCreationDate(java.util.Date creationDate)
Parameters:
creationDate - The date of creation of this resource version

getResourceType

public VersionedResourceType getResourceType()
Returns:
The type of this resource

setResourceType

public void setResourceType(VersionedResourceType resourceType)
Parameters:
resourceType - The type of this resource


Copyright © 2005-2008 Join. All Rights Reserved.