|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chromattic.metamodel.mapping.PropertyMapping<P,BeanValueInfo>
org.chromattic.metamodel.mapping.RelationshipMapping<P,R>
public abstract class RelationshipMapping<P extends PropertyInfo<BeanValueInfo>,R extends RelationshipMapping>
| Nested Class Summary | |
|---|---|
static class |
RelationshipMapping.ManyToOne<R extends RelationshipMapping.OneToMany>
|
static class |
RelationshipMapping.OneToMany<R extends RelationshipMapping.ManyToOne>
|
static class |
RelationshipMapping.OneToOne<R extends RelationshipMapping.OneToOne>
|
| Constructor Summary | |
|---|---|
RelationshipMapping(P property)
|
|
| Method Summary | |
|---|---|
BeanInfo |
getRelatedBean()
|
BeanMapping |
getRelatedBeanMapping()
|
R |
getRelatedRelationshipMapping()
|
boolean |
isTypeCovariant()
Returns true if the property type is covariant, meaning that it redefines the type from an ancestor with a subclass. |
| Methods inherited from class org.chromattic.metamodel.mapping.PropertyMapping |
|---|
accept, getName, getOwner, getParent, getProperty, getValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationshipMapping(P property)
| Method Detail |
|---|
public BeanInfo getRelatedBean()
public BeanMapping getRelatedBeanMapping()
public R getRelatedRelationshipMapping()
public boolean isTypeCovariant()
PropertyMapping
isTypeCovariant in class PropertyMapping<P extends PropertyInfo<BeanValueInfo>,BeanValueInfo>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||