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, buildFrom
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–2017 Atlassian. All rights reserved.