@Retention(value=RUNTIME)
@Target(value=TYPE)
@Inherited
public @interface RelationshipEntity
Identifies a domain entity as being backed by a relationship in the graph.
This annotation is always needed for relationship-backed entities.
The type attribute supplies the relatoionship-type in the graph, and
can be omitted if the domain entity's simple class name matches
exactly the relationship type.
- Author:
- Michal Bachman