|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- Should have the @Entity attributepublic interface Identifiable
Used to mark an Entity object as exportable. Right now, we have to have an identifier, which is usually a Long value in our system.
This will generally not work with inheritance. This is rarely required in our system, and can be implemented later.
We may want to use a different mechanism for marking something as an exportable entity, like attributes. The current exporter could just infer that we have an ID that is a long by searching for the @Id attribute.
Method Summary | |
---|---|
java.lang.Long |
getId()
Returns the Hibernate identity of the object. |
Method Detail |
---|
java.lang.Long getId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |