|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.hunsicker.jalopy.storage.Project
public final class Project
Represents a project to associate specific settings with.
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 |
---|
public Project(java.lang.String name, java.lang.String description)
name
- the project name. The name must not contain one of the following
characters: \ / : ? " ' < > |
.description
- the project description.Method Detail |
---|
public void setDescription(java.lang.String description)
description
- new description.
java.lang.IllegalArgumentException
- if the given description exceeds the maximum
length of 256 characters.public java.lang.String getDescription()
public java.lang.String getName()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- DOCUMENT ME!
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |