org.chromattic.metamodel.mapping
Class RelationshipMapping.OneToMany.Reference<K extends ValueKind.Multi>

java.lang.Object
  extended by org.chromattic.metamodel.mapping.PropertyMapping<P,BeanValueInfo,K>
      extended by org.chromattic.metamodel.mapping.RelationshipMapping<PropertyInfo<BeanValueInfo,K>,R,K>
          extended by org.chromattic.metamodel.mapping.RelationshipMapping.OneToMany<RelationshipMapping.ManyToOne.Reference,K>
              extended by org.chromattic.metamodel.mapping.RelationshipMapping.OneToMany.Reference<K>
Enclosing class:
RelationshipMapping.OneToMany<R extends RelationshipMapping.ManyToOne,K extends ValueKind.Multi>

public static class RelationshipMapping.OneToMany.Reference<K extends ValueKind.Multi>
extends RelationshipMapping.OneToMany<RelationshipMapping.ManyToOne.Reference,K>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.chromattic.metamodel.mapping.RelationshipMapping.OneToMany
RelationshipMapping.OneToMany.Hierarchic<K extends ValueKind.Multi>, RelationshipMapping.OneToMany.Reference<K extends ValueKind.Multi>
 
Nested classes/interfaces inherited from class org.chromattic.metamodel.mapping.RelationshipMapping
RelationshipMapping.ManyToOne<R extends RelationshipMapping.OneToMany>, RelationshipMapping.OneToMany<R extends RelationshipMapping.ManyToOne,K extends ValueKind.Multi>, RelationshipMapping.OneToOne<R extends RelationshipMapping.OneToOne>
 
Constructor Summary
RelationshipMapping.OneToMany.Reference(PropertyInfo<BeanValueInfo,K> property, java.lang.String mappedBy, RelationshipType type)
           
 
Method Summary
 void accept(MappingVisitor visitor)
           
 java.lang.String getMappedBy()
           
 RelationshipType getType()
           
 boolean matches(RelationshipMapping.ManyToOne.Reference relationship)
           
 
Methods inherited from class org.chromattic.metamodel.mapping.RelationshipMapping
getRelatedBean, getRelatedBeanMapping, getRelatedRelationshipMapping, isTypeCovariant
 
Methods inherited from class org.chromattic.metamodel.mapping.PropertyMapping
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.OneToMany.Reference

public RelationshipMapping.OneToMany.Reference(PropertyInfo<BeanValueInfo,K> property,
                                               java.lang.String mappedBy,
                                               RelationshipType type)
Method Detail

getMappedBy

public java.lang.String getMappedBy()

getType

public RelationshipType getType()

accept

public void accept(MappingVisitor visitor)
Specified by:
accept in class PropertyMapping<PropertyInfo<BeanValueInfo,K extends ValueKind.Multi>,BeanValueInfo,K extends ValueKind.Multi>

matches

public boolean matches(RelationshipMapping.ManyToOne.Reference relationship)


Copyright © 2011 eXo Platform SAS. All Rights Reserved.