de.hunsicker.jalopy.storage
Class Project
java.lang.Object
|
+--de.hunsicker.jalopy.storage.Project
- All Implemented Interfaces:
- Serializable
- public final class Project
- extends Object
- implements Serializable
Represents a project to associate specific settings with.
- Since:
- 1.0b8
- Version:
- $Revision: 1.3 $
- Author:
- Marco Hunsicker
- See Also:
- Serialized Form
Project
public Project(String name,
String description)
- Creates a new Project object.
- Parameters:
name
- the project name. The name must not contain one of the following
characters: \ / : ? " ' < > |
.description
- the project description.
setDescription
public void setDescription(String description)
- Sets the project description.
- Parameters:
description
- new description.- Throws:
IllegalArgumentException
- if the given description exceeds the maximum
length of 256 characters.
getDescription
public String getDescription()
- Returns the project description.
- Returns:
- project description.
getName
public String getName()
- Returns the project name.
- Returns:
- project name.
equals
public boolean equals(Object o)
- DOCUMENT ME!
- Overrides:
equals
in class Object
- Parameters:
o
- DOCUMENT ME!- Returns:
- DOCUMENT ME!
hashCode
public int hashCode()
- DOCUMENT ME!
- Overrides:
hashCode
in class Object
- Returns:
- DOCUMENT ME!