se.unlogic.standardutils.dao.annotations
Annotation Type SimplifiedRelation
@Documented
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface SimplifiedRelation
This annotation is used in conjunction with the OneToMany
annotation to indicate the annotated field
is a relation to a table containing only two columns, key and value and therefore doesn't require a separate bean class.
- Author:
- Robert "Unlogic" Olofsson (unlogic@unlogic.se)
table
public abstract String table
remoteValueColumnName
public abstract String remoteValueColumnName
keyField
public abstract String keyField
- Default:
- ""
remoteKeyColumnName
public abstract String remoteKeyColumnName
- Default:
- ""
order
public abstract Order order
- Default:
- se.unlogic.standardutils.dao.enums.Order.ASC
addTablePrefix
public abstract boolean addTablePrefix
- Default:
- false
deplurifyTablePrefix
public abstract boolean deplurifyTablePrefix
- Default:
- false
preserveListOrder
public abstract boolean preserveListOrder
- Default:
- false
indexColumn
public abstract String indexColumn
- Default:
- ""
Copyright © 2011. All Rights Reserved.