T - the entity bean type (normal entity bean type e.g. Customer)R - the specific root query bean type (e.g. QCustomer)public abstract class TQAssocBean<T,R> extends Object
| Constructor and Description |
|---|
TQAssocBean(String name,
R root)
Construct with a property name and root instance.
|
TQAssocBean(String name,
R root,
String prefix)
Construct with additional path prefix.
|
| Modifier and Type | Method and Description |
|---|---|
R |
equalTo(T other)
Is equal to by ID property.
|
R |
fetchAll()
Eagerly fetch this association fetching all the properties.
|
R |
filterMany(com.avaje.ebean.ExpressionList<T> filter)
Apply a filter when fetching these beans.
|
R |
notEqualTo(T other)
Is not equal to by ID property.
|
public TQAssocBean(String name, R root)
name - the name of the propertyroot - the root query bean instancepublic TQAssocBean(String name, R root, String prefix)
public R notEqualTo(T other)
public R filterMany(com.avaje.ebean.ExpressionList<T> filter)
Copyright © 2016. All rights reserved.