@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface ToMany
Modifier and Type | Optional Element and Description |
---|---|
JoinProperty[] |
joinProperties
Array of matching source -> target properties
Required unless
referencedJoinProperty() or JoinEntity is specified |
java.lang.String |
referencedJoinProperty
Name of the property inside the target entity which holds id of the source (current) entity
Required unless no
JoinProperty or JoinEntity is specified |
public abstract java.lang.String referencedJoinProperty
JoinProperty
or JoinEntity
is specifiedpublic abstract JoinProperty[] joinProperties
referencedJoinProperty()
or JoinEntity
is specifiedAvailable under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.