EclipseLink 2.0.0, build 'v20091127-r5931' API Reference

org.eclipse.persistence.annotations
Annotation Type Properties


@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface Properties

Annotation for user defined properties. A single Property may be specified directly on a mapped attribute or its get/set method. Multiple Properties should be wrapped into Properties annotation. Properties may be assigned to either a mapped attribute (or its get/set method) within Entity, MappedSuperclass and Embeddable class; or to Entity, MappedSuperclass and Embeddable class. In case orm xml is used Property an Properties annotations specified on mapped attributes are ignored, specified on a class are merged with the ones specified in orm xml with the latter taking precedence in case of conflicts. Properties defined in MappedSuperclass are passed to all inheriting Entities and MappedSuperclasses. In case of a conflict property value defined directly on a class always overrides the value passed from class's parent.

See Also:
Embeddable, Entity, Id, Basic, ManyToMany, ManyToOne, MappedSuperclass, OneToMany, OneToOne, BasicCollection, BasicMap, Property, Transformation, VariableOneToOne
Author:
Andrei Ilitchev
Since:
EclipseLink 1.0

Required Element Summary
 Property[] value
           
 

Element Detail

value

public abstract Property[] value

EclipseLink 2.0.0, build 'v20091127-r5931' API Reference