Jalopy 1.0b10

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

Constructor Summary
Project(String name, String description)
          Creates a new Project object.
 
Method Summary
 boolean equals(Object o)
          DOCUMENT ME!
 String getDescription()
          Returns the project description.
 String getName()
          Returns the project name.
 int hashCode()
          DOCUMENT ME!
 void setDescription(String description)
          Sets the project description.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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!

Jalopy 1.0b10

Submit a bug or feature.

For further information and documentation, visit the official Jalopy website.
This page generated: November 14 2002