@Retention(value=SOURCE) @Target(value=FIELD) public @interface ToOne
Propertyto specify backing column name -
Uniqueto put the unique constraint on backing column during table creation -
NotNullto put the NOT NULL constraint on backing column during table creation
|Modifier and Type||Optional Element and Description|
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.