public interface Relation extends Named
Modifier and Type | Method and Description |
---|---|
Relation |
createInverse() |
List<AttributePair> |
getAttributePairs()
AttributePairs that form the relation.
|
CascadeGetter |
getCascadeGetter() |
FetchTypeGetter |
getFetchTypeGetter() |
Namer |
getFrom() |
Attribute |
getFromAttribute()
In most cases, a foreign key attribute.
|
List<Attribute> |
getFromAttributes()
In case of a composite relation, the foreign key attributes.
|
Entity |
getFromEntity() |
Relation |
getInverse() |
String |
getKind() |
String |
getLabelName() |
Labels |
getLabels() |
Entity |
getMiddleEntity()
For intermediate relation only.
|
Relation |
getMiddleToLeft()
For intermediate relation only.
|
Relation |
getMiddleToRight()
For intermediate relation only.
|
String |
getOneLineComment() |
OrderByGetter |
getOrderByGetter() |
List<Relation> |
getRelations() |
Namer |
getTo() |
Attribute |
getToAttribute()
The target attribute, often a primary key attribute.
|
List<Attribute> |
getToAttributes()
In case of a composite relation, the target attributes, often a composite pk.
|
Entity |
getToEntity() |
boolean |
hasInverse() |
boolean |
isCollection() |
boolean |
isComposite()
A composite relation involves more than 1 foreign key.
|
boolean |
isGenAutoComplete() |
boolean |
isGenCreate() |
boolean |
isGenEdit() |
boolean |
isGenRemove() |
boolean |
isGenSelect() |
boolean |
isGenView() |
boolean |
isIntermediate()
An intermediate relation is a relation involving an intermediate table.
|
boolean |
isInverse() |
boolean |
isMandatory() |
boolean |
isManyToMany() |
boolean |
isManyToOne() |
boolean |
isOneToMany() |
boolean |
isOneToOne() |
boolean |
isOneToVirtualOne() |
boolean |
isSimple()
A simple relation is neither composite nor intermediate.
|
boolean |
isUnique() |
void |
setGenAutoComplete(boolean value) |
void |
setGenCreate(boolean value) |
void |
setGenEdit(boolean value) |
void |
setGenRemove(boolean value) |
void |
setGenSelect(boolean value) |
void |
setGenView(boolean value) |
String getKind()
Attribute getFromAttribute()
Attribute getToAttribute()
List<Attribute> getFromAttributes()
List<Attribute> getToAttributes()
List<AttributePair> getAttributePairs()
AttributePair
.Entity getFromEntity()
Entity getToEntity()
Namer getFrom()
Namer getTo()
boolean hasInverse()
boolean isInverse()
Relation getInverse()
Relation createInverse()
boolean isMandatory()
boolean isUnique()
boolean isSimple()
boolean isComposite()
boolean isIntermediate()
Entity getMiddleEntity()
Relation getMiddleToLeft()
Relation getMiddleToRight()
boolean isOneToOne()
boolean isOneToVirtualOne()
boolean isOneToMany()
boolean isManyToMany()
boolean isManyToOne()
boolean isCollection()
String getLabelName()
Labels getLabels()
String getOneLineComment()
CascadeGetter getCascadeGetter()
FetchTypeGetter getFetchTypeGetter()
OrderByGetter getOrderByGetter()
boolean isGenCreate()
void setGenCreate(boolean value)
boolean isGenEdit()
void setGenEdit(boolean value)
boolean isGenView()
void setGenView(boolean value)
boolean isGenSelect()
void setGenSelect(boolean value)
boolean isGenAutoComplete()
void setGenAutoComplete(boolean value)
boolean isGenRemove()
void setGenRemove(boolean value)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.