org.chromattic.metamodel.mapping.value
Class RelationshipMapping<T extends RelationshipMapping<U,T>,U extends RelationshipMapping<T,U>>

java.lang.Object
  extended by org.chromattic.metamodel.mapping.value.ValueMapping
      extended by org.chromattic.metamodel.mapping.value.RelationshipMapping<T,U>
Direct Known Subclasses:
AbstractManyToOneMapping, AbstractOneToManyMapping, AbstractOneToOneMapping

public abstract class RelationshipMapping<T extends RelationshipMapping<U,T>,U extends RelationshipMapping<T,U>>
extends ValueMapping

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
RelationshipMapping(org.reflext.api.ClassTypeInfo definer, NodeTypeMapping owner, NodeTypeMapping relatedMapping, Multiplicity multiplicity, Multiplicity relatedMultiplicity, RelationshipType type)
           
 
Method Summary
 Multiplicity getMultiplicity()
           
 NodeTypeMapping getOwner()
           
 NodeTypeMapping getRelatedMapping()
           
 Multiplicity getRelatedMultiplicity()
           
 U getRelatedRelationship()
           
 RelationshipType getType()
           
 
Methods inherited from class org.chromattic.metamodel.mapping.value.ValueMapping
getDefiner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipMapping

public RelationshipMapping(org.reflext.api.ClassTypeInfo definer,
                           NodeTypeMapping owner,
                           NodeTypeMapping relatedMapping,
                           Multiplicity multiplicity,
                           Multiplicity relatedMultiplicity,
                           RelationshipType type)
Method Detail

getOwner

public NodeTypeMapping getOwner()

getRelatedRelationship

public U getRelatedRelationship()

getType

public RelationshipType getType()

getRelatedMapping

public NodeTypeMapping getRelatedMapping()

getMultiplicity

public Multiplicity getMultiplicity()

getRelatedMultiplicity

public Multiplicity getRelatedMultiplicity()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.