Generation Framework

org.eclipse.gmf.mappings
Interface MappingEntry

All Superinterfaces:
EObject, Notifier
All Known Subinterfaces:
LinkMapping, NodeMapping
All Known Implementing Classes:
LinkMappingImpl, MappingEntryImpl, NodeMappingImpl

public interface MappingEntry
extends EObject

A representation of the model object 'Entry'.

The following features are supported:

See Also:
GMFMapPackage.getMappingEntry()
** Generated **
Model:
abstract="true"

Method Summary
 EClass getDomainContext()
           This method simplifies OCL expressions (makes it easy to write for both Node and Link)
 ElementInitializer getDomainInitializer()
          Returns the value of the 'Domain Initializer' containment reference.
 EClass getDomainMetaElement()
          Returns the value of the 'Domain Meta Element' reference
 Constraint getDomainSpecialization()
          Returns the value of the 'Domain Specialization' containment reference
 EList getLabelMappings()
          Returns the value of the 'Label Mappings' containment reference list.
 void setDomainInitializer(ElementInitializer value)
          Sets the value of the 'Domain Initializer' containment reference
 void setDomainMetaElement(EClass value)
          Sets the value of the 'Domain Meta Element' reference
 void setDomainSpecialization(Constraint value)
          Sets the value of the 'Domain Specialization' containment reference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getDomainMetaElement

public EClass getDomainMetaElement()
Returns the value of the 'Domain Meta Element' reference.

If the meaning of the 'Domain Meta Element' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Domain Meta Element' reference.
See Also:
MappingEntry.setDomainMetaElement(EClass), GMFMapPackage.getMappingEntry_DomainMetaElement()
** Generated **
Model:

setDomainMetaElement

public void setDomainMetaElement(EClass value)
Sets the value of the 'Domain Meta Element' reference.

Parameters:
value - the new value of the 'Domain Meta Element' reference.
See Also:
MappingEntry.getDomainMetaElement()
** Generated **

getDomainSpecialization

public Constraint getDomainSpecialization()
Returns the value of the 'Domain Specialization' containment reference. Specializes further the domain meta element EClass associated with this mapping and should be evaluated in this EClass context

Returns:
the value of the 'Domain Specialization' containment reference.
See Also:
MappingEntry.setDomainSpecialization(Constraint), GMFMapPackage.getMappingEntry_DomainSpecialization()
** Generated **
Model:
containment="true" annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='context' ocl='self.getDomainContext()'" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not domainSpecialization.oclIsUndefined() implies not domainMetaElement.oclIsUndefined()' description='Using \'Domain Specialization\' requires \'Domain Meta Element\' to be set'"

setDomainSpecialization

public void setDomainSpecialization(Constraint value)
Sets the value of the 'Domain Specialization' containment reference.

Parameters:
value - the new value of the 'Domain Specialization' containment reference.
See Also:
MappingEntry.getDomainSpecialization()
** Generated **

getDomainInitializer

public ElementInitializer getDomainInitializer()
Returns the value of the 'Domain Initializer' containment reference. It is bidirectional and its opposite is 'Mapping Entry'. Initializer for the domain model element associated with mapping

Returns:
the value of the 'Domain Initializer' containment reference.
See Also:
MappingEntry.setDomainInitializer(ElementInitializer), GMFMapPackage.getMappingEntry_DomainInitializer(), ElementInitializer.getMappingEntry()
** Generated **
Model:
opposite="mappingEntry" containment="true" annotation="http://www.eclipse.org/gmf/2005/constraints/meta def='context' ocl='self.getDomainContext()'" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='not domainInitializer.oclIsUndefined() implies not domainMetaElement.oclIsUndefined()' description='\'Domain Element\' must be set in mapping with \'Element Initializers\''"

setDomainInitializer

public void setDomainInitializer(ElementInitializer value)
Sets the value of the 'Domain Initializer' containment reference.

Parameters:
value - the new value of the 'Domain Initializer' containment reference.
See Also:
MappingEntry.getDomainInitializer()
** Generated **

getLabelMappings

public EList getLabelMappings()
Returns the value of the 'Label Mappings' containment reference list. The list contents are of type LabelMapping. It is bidirectional and its opposite is 'Map Entry'.

If the meaning of the 'Label Mappings' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Label Mappings' containment reference list.
See Also:
GMFMapPackage.getMappingEntry_LabelMappings(), LabelMapping.getMapEntry()
** Generated **
Model:
type="org.eclipse.gmf.mappings.LabelMapping" opposite="mapEntry" containment="true"

getDomainContext

public EClass getDomainContext()
This method simplifies OCL expressions (makes it easy to write for both Node and Link).

** Generated **
Model:
kind="operation"

Generation Framework

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.