org.chromattic.metamodel.mapping
Class PropertyMapping<P extends PropertyInfo<V,K>,V extends ValueInfo,K extends ValueKind>
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyMapping
public PropertyMapping(P property)
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.