|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.ac.ebi.intact.application.editor.struts.view.AbstractEditBean
|
+--uk.ac.ebi.intact.application.editor.struts.view.AbstractEditKeyBean
Generic edit bean with keys. Acts as a super class for CommentBean and XreferenceBean classes.
| Field Summary |
| Fields inherited from class uk.ac.ebi.intact.application.editor.struts.view.AbstractEditBean |
SAVE, VIEW |
| Constructor Summary | |
AbstractEditKeyBean()
Default constructor; the internal key is set to a default value. |
|
AbstractEditKeyBean(long key)
Constructs with given key. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares obj with this object according to
Java's equals() contract. |
long |
getKey()
Returns the key assigned to this bean. |
protected void |
reset()
Resets the internal key. |
| Methods inherited from class uk.ac.ebi.intact.application.editor.struts.view.AbstractEditBean |
equals, getEditState, getLink, setEditState |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractEditKeyBean()
public AbstractEditKeyBean(long key)
key - | Method Detail |
public final boolean equals(java.lang.Object obj)
obj with this object according to
Java's equals() contract. Only returns true if the internal
keys for both objects match. Made it final to allow slice comparision
without violating transitivity law for equals() method.
equals in class java.lang.Objectobj - the object to compare.public long getKey()
protected void reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||