|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ComposedAttribute<T>
Nested Class Summary | |
---|---|
static class |
ComposedAttribute.Relation
Enum represanting the relation between tables. |
Method Summary | |
---|---|
ComposedAttribute |
getOpposedAttribute()
Return the opposed attribute defined in the target entity type. |
EntityType |
getTargetType()
Return the entity type of the value that can be assigned to this composed attribute. |
boolean |
isAggregateByValue()
|
boolean |
isLazyLoad()
Return true if the value of this attribute is loaded on demand else false. |
boolean |
isMainAttribute()
In an 1:n or 1:1 relation there is a main attribute in the parent entity type which defines or owns the foreign key. |
boolean |
isToMany()
|
boolean |
isToOne()
|
void |
setAggregateByValue(boolean flag)
|
void |
setLazyLoad(boolean lazyLoad)
|
Methods inherited from interface de.espirit.or.schema.Attribute |
---|
getDisplayText, getName, getOwner, getType, getValidator, isKey, isReadOnly, isRequired, isValid, isVisible, setName, setReadOnly, setRequired, setValidator |
Method Detail |
---|
EntityType getTargetType()
ComposedAttribute getOpposedAttribute()
boolean isLazyLoad()
void setLazyLoad(boolean lazyLoad)
void setAggregateByValue(boolean flag)
boolean isAggregateByValue()
boolean isMainAttribute()
boolean isToOne()
boolean isToMany()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |