@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface JoinEntity
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?> |
entity
Reference to join-entity class, which holds the source and the target properties
|
java.lang.String |
sourceProperty
Name of the property inside the join entity which holds id of the source (current) entity
|
java.lang.String |
targetProperty
Name of the property inside the join entity which holds id of the target entity
|
Available under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.