org.chromattic.metamodel.mapping
Class ValueMapping<P extends PropertyInfo<SimpleValueInfo>>

java.lang.Object
  extended by org.chromattic.metamodel.mapping.PropertyMapping<P,SimpleValueInfo>
      extended by org.chromattic.metamodel.mapping.ValueMapping<P>
Direct Known Subclasses:
ValueMapping.Multi, ValueMapping.Single

public abstract class ValueMapping<P extends PropertyInfo<SimpleValueInfo>>
extends PropertyMapping<P,SimpleValueInfo>

Version:
$Revision$
Author:
Julien Viet

Nested Class Summary
static class ValueMapping.Multi
           
static class ValueMapping.Single
           
 
Constructor Summary
ValueMapping(P property, PropertyDefinitionMapping propertyDefinition)
           
 
Method Summary
 PropertyDefinitionMapping<?> getPropertyDefinition()
           
 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 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

ValueMapping

public ValueMapping(P property,
                    PropertyDefinitionMapping propertyDefinition)
Method Detail

isTypeCovariant

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

Specified by:
isTypeCovariant in class PropertyMapping<P extends PropertyInfo<SimpleValueInfo>,SimpleValueInfo>
Returns:
true if the property is type covariant

getPropertyDefinition

public PropertyDefinitionMapping<?> getPropertyDefinition()


Copyright © 2011 eXo Platform SAS. All Rights Reserved.