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, valuespublic final boolean isIntermediate()
RelationisIntermediate in interface RelationisIntermediate in class AbstractRelationpublic Attribute getFromAttribute()
Relationpublic Attribute getToAttribute()
Relationpublic String getLabelName()
public Entity getMiddleEntity()
RelationgetMiddleEntity in interface RelationgetMiddleEntity in class AbstractRelationpublic Relation getMiddleToLeft()
RelationgetMiddleToLeft in interface RelationgetMiddleToLeft in class AbstractRelationpublic Relation getMiddleToRight()
RelationgetMiddleToRight in interface RelationgetMiddleToRight in class AbstractRelationpublic Entity getFromEntity()
public Entity getToEntity()
public Namer getFrom()
public Namer getTo()
public Namer getMiddle()
public Relation getInverse()
getInverse in interface RelationgetInverse in class AbstractRelationpublic AssociationDirection getAssociationDirection()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.