Last update: 2011-06-23

org.proteios.core.data
Class DirectoryData

java.lang.Object
  extended by org.proteios.core.data.BasicData
      extended by org.proteios.core.data.OwnedData
          extended by org.proteios.core.data.SharedData
              extended by org.proteios.core.data.CommonData
                  extended by org.proteios.core.data.DirectoryData
All Implemented Interfaces:
CreationInterface, IdentifiableData, NameableData, OwnableData, RemovableData, ShareableData, SystemData

public class DirectoryData
extends CommonData
implements SystemData, CreationInterface

This class holds information about directories.

Version:
2.0
Author:
enell
See Also:
Directory, File and directory overview
Last modified
$Date: 2009-04-09 08:48:11 +0200 (Thu, 09 Apr 2009) $
Hibernate: class
table="`Directories`" lazy="false"

Field Summary
 
Fields inherited from interface org.proteios.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
 
Constructor Summary
DirectoryData()
           
 
Method Summary
 Date getCreated()
          Get the creation date and time
 String getName()
          Get the name of the item.
 DirectoryData getParent()
          Get the parent directory of this directory.
 String getSystemId()
          Get the system id for the item.
 void setCreated(Date created)
           
 void setParent(DirectoryData parent)
           
 void setSystemId(String systemId)
           
 
Methods inherited from class org.proteios.core.data.CommonData
getDescription, isRemoved, setDescription, setName, setRemoved
 
Methods inherited from class org.proteios.core.data.SharedData
getItemKey, getProjectKey, setItemKey, setProjectKey
 
Methods inherited from class org.proteios.core.data.OwnedData
getOwner, setOwner
 
Methods inherited from class org.proteios.core.data.BasicData
equals, getId, getVersion, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.proteios.core.data.IdentifiableData
getId, getVersion
 
Methods inherited from interface org.proteios.core.data.OwnableData
getOwner, setOwner
 

Constructor Detail

DirectoryData

public DirectoryData()
Method Detail

getCreated

public Date getCreated()
Description copied from interface: CreationInterface
Get the creation date and time

Specified by:
getCreated in interface CreationInterface

setCreated

public void setCreated(Date created)
Specified by:
setCreated in interface CreationInterface

getName

public String getName()
Get the name of the item.

Specified by:
getName in interface NameableData
Overrides:
getName in class CommonData
Returns:
A String with the name of the item
Hibernate: property
type="string"
Hibernate: column
name="`name`" length="255" not-null="true" index="name_idx" unique-key="uniquedirectory"

getSystemId

public String getSystemId()
Description copied from interface: SystemData
Get the system id for the item.

Specified by:
getSystemId in interface SystemData
Returns:
The id of the item or null

setSystemId

public void setSystemId(String systemId)

getParent

public DirectoryData getParent()
Get the parent directory of this directory.

Hibernate: column
name="`parent_id`" unique-key="uniquedirectory" not-null="false"
Hibernate: many-to-one
outer-join="false"

setParent

public void setParent(DirectoryData parent)

Last update: 2011-06-23