|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chromattic.metamodel.mapping.PropertyMapping<PropertyInfo<SimpleValueInfo<K>,ValueKind.Single>,SimpleValueInfo<K>,ValueKind.Single>
org.chromattic.metamodel.mapping.ValueMapping<K>
public class ValueMapping<K extends ValueKind>
| Constructor Summary | |
|---|---|
ValueMapping(PropertyInfo<SimpleValueInfo<K>,ValueKind.Single> property,
PropertyDefinitionMapping propertyDefinition)
|
|
| Method Summary | |
|---|---|
void |
accept(MappingVisitor visitor)
|
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 |
|---|
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 |
|---|
public ValueMapping(PropertyInfo<SimpleValueInfo<K>,ValueKind.Single> property,
PropertyDefinitionMapping propertyDefinition)
| Method Detail |
|---|
public boolean isTypeCovariant()
PropertyMapping
isTypeCovariant in class PropertyMapping<PropertyInfo<SimpleValueInfo<K extends ValueKind>,ValueKind.Single>,SimpleValueInfo<K extends ValueKind>,ValueKind.Single>public PropertyDefinitionMapping<?> getPropertyDefinition()
public void accept(MappingVisitor visitor)
accept in class PropertyMapping<PropertyInfo<SimpleValueInfo<K extends ValueKind>,ValueKind.Single>,SimpleValueInfo<K extends ValueKind>,ValueKind.Single>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||