org.proteios.core.data
Class DirectoryData
java.lang.Object
org.proteios.core.data.BasicData
org.proteios.core.data.OwnedData
org.proteios.core.data.SharedData
org.proteios.core.data.CommonData
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"
DirectoryData
public DirectoryData()
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)