|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=TYPE) public @interface EntityAnnotation
This Annotation can be used to describe your JavaObjects that
you would use for JSON binding.
EntityAnnotation
is a Class annotation and can be use
only for Objects.
For object attributes you have to use FieldAnnotation
If you don't use the EntityAnnotation
for your Bean,
all of used FieldAnnotation
for the Bean will be ignored
and there will be a mirror binding between json and bean.
Optional Element Summary | |
---|---|
java.lang.String |
extend
If your bean extends another bean, you should initialize this attribute with the "id" of the father bean (for example '$mouse' if mapped in xml context, or '@it.example.Mouse' if mapped with annotation or '#it.example.Mouse' if you don't want to use any mapping for the father bean). |
public abstract java.lang.String extend
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |