public class RelationDescription extends Object
Modifier and Type | Method and Description |
---|---|
PropertyMapper |
getFakeBidirectionalRelationIndexMapper() |
PropertyMapper |
getFakeBidirectionalRelationMapper() |
String |
getFromPropertyName() |
IdMapper |
getIdMapper() |
String |
getMappedByPropertyName() |
RelationType |
getRelationType() |
String |
getToEntityName() |
boolean |
isBidirectional() |
boolean |
isIgnoreNotFound() |
boolean |
isInsertable() |
static RelationDescription |
toMany(String fromPropertyName,
RelationType relationType,
String toEntityName,
String mappedByPropertyName,
IdMapper idMapper,
PropertyMapper fakeBidirectionalRelationMapper,
PropertyMapper fakeBidirectionalRelationIndexMapper,
boolean insertable) |
static RelationDescription |
toOne(String fromPropertyName,
RelationType relationType,
String toEntityName,
String mappedByPropertyName,
IdMapper idMapper,
PropertyMapper fakeBidirectionalRelationMapper,
PropertyMapper fakeBidirectionalRelationIndexMapper,
boolean insertable,
boolean ignoreNotFound) |
public static RelationDescription toOne(String fromPropertyName, RelationType relationType, String toEntityName, String mappedByPropertyName, IdMapper idMapper, PropertyMapper fakeBidirectionalRelationMapper, PropertyMapper fakeBidirectionalRelationIndexMapper, boolean insertable, boolean ignoreNotFound)
public static RelationDescription toMany(String fromPropertyName, RelationType relationType, String toEntityName, String mappedByPropertyName, IdMapper idMapper, PropertyMapper fakeBidirectionalRelationMapper, PropertyMapper fakeBidirectionalRelationIndexMapper, boolean insertable)
public String getFromPropertyName()
public RelationType getRelationType()
public String getToEntityName()
public String getMappedByPropertyName()
public boolean isIgnoreNotFound()
public IdMapper getIdMapper()
public PropertyMapper getFakeBidirectionalRelationMapper()
public PropertyMapper getFakeBidirectionalRelationIndexMapper()
public boolean isInsertable()
public boolean isBidirectional()
Copyright © 2017 JBoss by Red Hat. All rights reserved.