org.chromattic.metamodel.mapping
Class RelationshipMapping.OneToOne.Hierarchic

java.lang.Object
  extended by org.chromattic.metamodel.mapping.PropertyMapping<P,BeanValueInfo,K>
      extended by org.chromattic.metamodel.mapping.RelationshipMapping<PropertyInfo<BeanValueInfo,ValueKind.Single>,R,ValueKind.Single>
          extended by org.chromattic.metamodel.mapping.RelationshipMapping.OneToOne<RelationshipMapping.OneToOne.Hierarchic>
              extended by org.chromattic.metamodel.mapping.RelationshipMapping.OneToOne.Hierarchic
Enclosing class:
RelationshipMapping.OneToOne<R extends RelationshipMapping.OneToOne>

public static class RelationshipMapping.OneToOne.Hierarchic
extends RelationshipMapping.OneToOne<RelationshipMapping.OneToOne.Hierarchic>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.chromattic.metamodel.mapping.RelationshipMapping.OneToOne
RelationshipMapping.OneToOne.Embedded, RelationshipMapping.OneToOne.Hierarchic
 
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.OneToOne.Hierarchic(PropertyInfo<BeanValueInfo,ValueKind.Single> property, boolean owner, java.lang.String declaredPrefix, java.lang.String prefix, java.lang.String localName, boolean mandatory, boolean autocreated)
           
 
Method Summary
 void accept(MappingVisitor visitor)
           
 boolean getAutocreated()
           
 java.lang.String getDeclaredPrefix()
           
 java.lang.String getLocalName()
           
 boolean getMandatory()
           
 java.lang.String getPrefix()
           
 boolean matches(RelationshipMapping.OneToOne.Hierarchic relationship)
           
 
Methods inherited from class org.chromattic.metamodel.mapping.RelationshipMapping.OneToOne
isOwner
 
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.OneToOne.Hierarchic

public RelationshipMapping.OneToOne.Hierarchic(PropertyInfo<BeanValueInfo,ValueKind.Single> property,
                                               boolean owner,
                                               java.lang.String declaredPrefix,
                                               java.lang.String prefix,
                                               java.lang.String localName,
                                               boolean mandatory,
                                               boolean autocreated)
Method Detail

getMandatory

public boolean getMandatory()

getAutocreated

public boolean getAutocreated()

getDeclaredPrefix

public java.lang.String getDeclaredPrefix()

getPrefix

public java.lang.String getPrefix()

getLocalName

public java.lang.String getLocalName()

accept

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

matches

public boolean matches(RelationshipMapping.OneToOne.Hierarchic relationship)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.