org.chromattic.metamodel.mapping
Class PropertiesMapping<V extends ValueInfo>

java.lang.Object
  extended by org.chromattic.metamodel.mapping.PropertyMapping<PropertyInfo<V,ValueKind.Map>,V,ValueKind.Map>
      extended by org.chromattic.metamodel.mapping.PropertiesMapping<V>

public class PropertiesMapping<V extends ValueInfo>
extends PropertyMapping<PropertyInfo<V,ValueKind.Map>,V,ValueKind.Map>

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
PropertiesMapping(PropertyInfo<V,ValueKind.Map> property, java.lang.String prefix, PropertyMetaType<?> metaType, ValueKind valueKind)
           
 
Method Summary
 void accept(MappingVisitor visitor)
           
 PropertyMetaType<?> getMetaType()
           
 java.lang.String getPrefix()
           
 ValueKind getValueKind()
           
 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
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

PropertiesMapping

public PropertiesMapping(PropertyInfo<V,ValueKind.Map> property,
                         java.lang.String prefix,
                         PropertyMetaType<?> metaType,
                         ValueKind valueKind)
Method Detail

getPrefix

public java.lang.String getPrefix()

getMetaType

public PropertyMetaType<?> getMetaType()

getValueKind

public ValueKind getValueKind()

accept

public void accept(MappingVisitor visitor)
Specified by:
accept in class PropertyMapping<PropertyInfo<V extends ValueInfo,ValueKind.Map>,V extends ValueInfo,ValueKind.Map>

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<PropertyInfo<V extends ValueInfo,ValueKind.Map>,V extends ValueInfo,ValueKind.Map>
Returns:
true if the property is type covariant


Copyright © 2013 eXo Platform SAS. All Rights Reserved.