public abstract class AbstractIntermediateRelation extends AbstractRelation
Constructor and Description |
---|
AbstractIntermediateRelation(Namer from,
Namer to,
Entity middleEntity,
Relation middleToLeft,
Relation middleToRight) |
Modifier and Type | Method and Description |
---|---|
AssociationDirection |
getAssociationDirection() |
Namer |
getFrom() |
Attribute |
getFromAttribute()
In most cases, a foreign key attribute.
|
Entity |
getFromEntity() |
Relation |
getInverse() |
String |
getLabelName() |
Namer |
getMiddle() |
Entity |
getMiddleEntity()
For intermediate relation only.
|
Relation |
getMiddleToLeft()
For intermediate relation only.
|
Relation |
getMiddleToRight()
For intermediate relation only.
|
Namer |
getTo() |
Attribute |
getToAttribute()
The target attribute, often a primary key attribute.
|
Entity |
getToEntity() |
boolean |
isIntermediate()
An intermediate relation is a relation involving an intermediate table.
|
String |
toString() |
clear, containsKey, containsValue, createInverse, entrySet, get, getAttributePairs, getCascadeGetter, getFetchTypeGetter, getFromAttributes, getKind, getLabels, getName, getOneLineComment, getOrderByGetter, getRelations, getToAttributes, hasInverse, isCollection, isComposite, isEmpty, isGenAutoComplete, isGenCreate, isGenEdit, isGenRemove, isGenSelect, isGenView, isInverse, isMandatory, isManyToMany, isManyToOne, isOneToMany, isOneToOne, isOneToVirtualOne, isSimple, isUnique, keySet, put, putAll, remove, setCascadeGetter, setFetchTypeGetter, setGenAutoComplete, setGenCreate, setGenEdit, setGenRemove, setGenSelect, setGenView, setLabels, setOrderByGetter, size, values
public final boolean isIntermediate()
Relation
isIntermediate
in interface Relation
isIntermediate
in class AbstractRelation
public Attribute getFromAttribute()
Relation
public Attribute getToAttribute()
Relation
public String getLabelName()
public Entity getMiddleEntity()
Relation
getMiddleEntity
in interface Relation
getMiddleEntity
in class AbstractRelation
public Relation getMiddleToLeft()
Relation
getMiddleToLeft
in interface Relation
getMiddleToLeft
in class AbstractRelation
public Relation getMiddleToRight()
Relation
getMiddleToRight
in interface Relation
getMiddleToRight
in class AbstractRelation
public Entity getFromEntity()
public Entity getToEntity()
public Namer getFrom()
public Namer getTo()
public Namer getMiddle()
public Relation getInverse()
getInverse
in interface Relation
getInverse
in class AbstractRelation
public AssociationDirection getAssociationDirection()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.