public class RelationInstanceFactory extends ModelFactory<RelationEntity,RelationInstance>
Constructor and Description |
---|
RelationInstanceFactory(RelatableFactory relatableFactory) |
Modifier and Type | Method and Description |
---|---|
RelationInstance |
buildFrom(RelatableEntity sourceEntity,
String relationName,
RelatableEntity targetEntity,
Expansions expansions) |
RelationInstance |
buildFrom(RelationEntity hibernateObject,
Expansions expansions) |
asFunction
public RelationInstanceFactory(RelatableFactory relatableFactory)
public RelationInstance buildFrom(RelationEntity hibernateObject, Expansions expansions)
buildFrom
in class ModelFactory<RelationEntity,RelationInstance>
public RelationInstance buildFrom(RelatableEntity sourceEntity, String relationName, RelatableEntity targetEntity, Expansions expansions)
Copyright © 2003–2016 Atlassian. All rights reserved.