de.hunsicker.jalopy.storage
Class Project

java.lang.Object
  |
  +--de.hunsicker.jalopy.storage.Project
All Implemented Interfaces:
java.io.Serializable

public final class Project
extends java.lang.Object
implements java.io.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(java.lang.String name, java.lang.String description)
          Creates a new Project object.
 
Method Summary
 boolean equals(java.lang.Object o)
          DOCUMENT ME!
 java.lang.String getDescription()
          Returns the project description.
 java.lang.String getName()
          Returns the project name.
 int hashCode()
          DOCUMENT ME!
 void setDescription(java.lang.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(java.lang.String name,
               java.lang.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(java.lang.String description)
Sets the project description.

Parameters:
description - new description.
Throws:
java.lang.IllegalArgumentException - if the given description exceeds the maximum length of 256 characters.

getDescription

public java.lang.String getDescription()
Returns the project description.

Returns:
project description.

getName

public java.lang.String getName()
Returns the project name.

Returns:
project name.

equals

public boolean equals(java.lang.Object o)
DOCUMENT ME!

Overrides:
equals in class java.lang.Object
Parameters:
o - DOCUMENT ME!
Returns:
DOCUMENT ME!

hashCode

public int hashCode()
DOCUMENT ME!

Overrides:
hashCode in class java.lang.Object
Returns:
DOCUMENT ME!


Copyright © 1997-2005 Jalopy. All Rights Reserved.