|
||||||||||
| 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,ValueKind.Single>,SimpleValueInfo,ValueKind.Single>
org.chromattic.metamodel.mapping.AttributeMapping
public class AttributeMapping
| Constructor Summary | |
|---|---|
AttributeMapping(PropertyInfo<SimpleValueInfo,ValueKind.Single> property,
NodeAttributeType type)
|
|
| Method Summary | |
|---|---|
void |
accept(MappingVisitor visitor)
|
NodeAttributeType |
getType()
|
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 AttributeMapping(PropertyInfo<SimpleValueInfo,ValueKind.Single> property,
NodeAttributeType type)
| Method Detail |
|---|
public boolean isTypeCovariant()
PropertyMapping
isTypeCovariant in class PropertyMapping<PropertyInfo<SimpleValueInfo,ValueKind.Single>,SimpleValueInfo,ValueKind.Single>public NodeAttributeType getType()
public void accept(MappingVisitor visitor)
accept in class PropertyMapping<PropertyInfo<SimpleValueInfo,ValueKind.Single>,SimpleValueInfo,ValueKind.Single>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||