org.chromattic.metamodel.mapping
Class RelationshipMapping<P extends PropertyInfo<BeanValueInfo>,R extends RelationshipMapping>

java.lang.Object
  extended by org.chromattic.metamodel.mapping.PropertyMapping<P,BeanValueInfo>
      extended by org.chromattic.metamodel.mapping.RelationshipMapping<P,R>
Direct Known Subclasses:
RelationshipMapping.ManyToOne, RelationshipMapping.OneToMany, RelationshipMapping.OneToOne

public abstract class RelationshipMapping<P extends PropertyInfo<BeanValueInfo>,R extends RelationshipMapping>
extends PropertyMapping<P,BeanValueInfo>

Version:
$Revision$
Author:
Julien Viet

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 isNew()
           
 
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

RelationshipMapping

public RelationshipMapping(P property)
Method Detail

getRelatedBean

public BeanInfo getRelatedBean()

getRelatedBeanMapping

public BeanMapping getRelatedBeanMapping()

getRelatedRelationshipMapping

public R getRelatedRelationshipMapping()

isNew

public boolean isNew()
Specified by:
isNew in class PropertyMapping<P extends PropertyInfo<BeanValueInfo>,BeanValueInfo>


Copyright © 2011 eXo Platform SAS. All Rights Reserved.