|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.wordhoard.model.annotations.AnnotationCategory
public class AnnotationCategory
An annotation category.
An annotation category has the following attribute:
| Constructor Summary | |
|---|---|
AnnotationCategory()
Creates a new annotation category. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns true if some other object is equal to this one. |
java.lang.Long |
getId()
Gets the unique id. |
java.lang.String |
getName()
Gets the name. |
int |
hashCode()
Returns a hash code for the object. |
void |
setName(java.lang.String name)
Sets the name. |
java.lang.String |
toString()
Gets a string representation of the category. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationCategory()
| Method Detail |
|---|
public java.lang.Long getId()
getId in interface PersistentObjectpublic java.lang.String getName()
public void setName(java.lang.String name)
name - The name. public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
The two categories are equal if their names are equal.
equals in class java.lang.Objectobj - The other object.
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 | ||||||||