H
- M
- public abstract class ModelFactory<H,M> extends Object
Constructor and Description |
---|
ModelFactory() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<H,M> |
asFunction(Expansions expansions)
produces a Function that can be used to convert a list of hibernate objects to a list of
model objects that this factory produces
|
abstract M |
buildFrom(H hibernateObject,
Expansions expansions) |
public abstract M buildFrom(H hibernateObject, Expansions expansions)
public final com.google.common.base.Function<H,M> asFunction(Expansions expansions)
expansions
- - the expansions to apply when converting the hibernate object, be careful these will be
expanded on each and every objectCopyright © 2003–2015 Atlassian. All rights reserved.
View cookie preferences