org.chromattic.metamodel.mapping
Class PropertyMapping<P extends PropertyInfo<V,K>,V extends ValueInfo,K extends ValueKind>

java.lang.Object
  extended by org.chromattic.metamodel.mapping.PropertyMapping<P,V,K>
Direct Known Subclasses:
AttributeMapping, PropertiesMapping, RelationshipMapping, ValueMapping

public abstract class PropertyMapping<P extends PropertyInfo<V,K>,V extends ValueInfo,K extends ValueKind>
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
PropertyMapping(P property)
           
 
Method Summary
abstract  void accept(MappingVisitor visitor)
           
 java.lang.String getName()
           
 BeanMapping getOwner()
           
 PropertyMapping getParent()
           
 P getProperty()
           
 V getValue()
           
abstract  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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyMapping

public PropertyMapping(P property)
Method Detail

getParent

public PropertyMapping getParent()

getOwner

public BeanMapping getOwner()

getName

public java.lang.String getName()

getProperty

public P getProperty()

getValue

public V getValue()

accept

public abstract void accept(MappingVisitor visitor)

isTypeCovariant

public abstract boolean isTypeCovariant()
Returns true if the property type is covariant, meaning that it redefines the type from an ancestor with a subclass.

Returns:
true if the property is type covariant


Copyright © 2012 eXo Platform SAS. All Rights Reserved.