it.negro.jajb.annotation
Annotation Type EntityAnnotation


@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.

Author:
Gabriele Negro

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).
 

extend

public abstract 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). It's optional.

Returns:
Default:
""


Copyright © 2008. All Rights Reserved.