@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface ToOne
Property
to specify backing column name
- Unique
to put the unique constraint on backing column during table creation
- NotNull
to put the NOT NULL constraint on backing column during table creationModifier and Type | Optional Element and Description |
---|---|
java.lang.String |
joinProperty
Name of the property inside the current entity which holds the key of related entity.
|
Available under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.