public abstract class SimpleRelation extends AbstractRelation
| Constructor and Description |
|---|
SimpleRelation(Namer fromNamer,
Namer toNamer,
Attribute fromAttribute,
Entity fromEntity,
Entity toEntity,
Attribute toAttribute) |
| Modifier and Type | Method and Description |
|---|---|
Namer |
getFrom() |
Attribute |
getFromAttribute()
In most cases, a foreign key attribute.
|
Entity |
getFromEntity() |
List<Relation> |
getRelations() |
Namer |
getTo() |
Attribute |
getToAttribute()
The target attribute, often a primary key attribute.
|
Entity |
getToEntity() |
boolean |
isComposite()
A composite relation involves more than 1 foreign key.
|
boolean |
isSimple()
A simple relation is neither composite nor intermediate.
|
String |
toString() |
clear, containsKey, containsValue, createInverse, entrySet, get, getAttributePairs, getCascadeGetter, getFetchTypeGetter, getFromAttributes, getInverse, getKind, getLabels, getMiddleEntity, getMiddleToLeft, getMiddleToRight, getName, getOneLineComment, getOrderByGetter, getToAttributes, hasInverse, isCollection, isEmpty, isGenAutoComplete, isGenCreate, isGenEdit, isGenRemove, isGenSelect, isGenView, isIntermediate, isInverse, isMandatory, isManyToMany, isManyToOne, isOneToMany, isOneToOne, isOneToVirtualOne, isUnique, keySet, put, putAll, remove, setCascadeGetter, setFetchTypeGetter, setGenAutoComplete, setGenCreate, setGenEdit, setGenRemove, setGenSelect, setGenView, setLabels, setOrderByGetter, size, valuesequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLabelNamepublic final boolean isSimple()
RelationisSimple in interface RelationisSimple in class AbstractRelationpublic final boolean isComposite()
RelationisComposite in interface RelationisComposite in class AbstractRelationpublic Attribute getFromAttribute()
Relationpublic Entity getFromEntity()
public Entity getToEntity()
public Attribute getToAttribute()
Relationpublic Namer getFrom()
public Namer getTo()
public List<Relation> getRelations()
getRelations in interface RelationgetRelations in class AbstractRelationCopyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.