|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthu.midori.kosmos.model.Identified
public abstract class Identified
Each identifiable entity class should extend this. The identifiable classes must pass a discriminator String to its ctor, that will be used to generate the integer ID.
Constructor Summary | |
---|---|
Identified(java.lang.String discriminator)
|
Method Summary | |
---|---|
int |
getId()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Identified(java.lang.String discriminator)
discriminator
- must be unique and will be used to generate the integer ID.getId()
Method Detail |
---|
public int getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |