Generation Framework

org.eclipse.gmf.mappings
Interface Mapping

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
MappingImpl

public interface Mapping
extends EObject

A representation of the model object 'Mapping'.

The following features are supported:

See Also:
GMFMapPackage.getMapping()
** Generated **
Model:
annotation="http://www.eclipse.org/gmf/2005/constraints ocl='nodes->forAll(n|n.containmentFeature.oclIsUndefined() and not n.child.domainMetaElement.oclIsUndefined() implies links->exists(let r:ecore::EReference= linkMetaFeature.oclAsType(ecore::EReference) in r.containment and r.eReferenceType.isSuperTypeOf(n.child.domainMetaElement)))' description='Phantom nodes that are not targeted by a link mapping exist'"

Method Summary
 EList getAppearanceStyles()
          Returns the value of the 'Appearance Styles' containment reference list.
 AuditContainer getAudits()
          Returns the value of the 'Audits' containment reference
 CanvasMapping getDiagram()
          Returns the value of the 'Diagram' containment reference
 EList getLinks()
          Returns the value of the 'Links' containment reference list.
 MetricContainer getMetrics()
          Returns the value of the 'Metrics' containment reference
 EList getNodes()
          Returns the value of the 'Nodes' containment reference list.
 void setAudits(AuditContainer value)
          Sets the value of the 'Audits' containment reference
 void setDiagram(CanvasMapping value)
          Sets the value of the 'Diagram' containment reference
 void setMetrics(MetricContainer value)
          Sets the value of the 'Metrics' 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

getNodes

public EList getNodes()
Returns the value of the 'Nodes' containment reference list. The list contents are of type TopNodeReference.

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

Returns:
the value of the 'Nodes' containment reference list.
See Also:
GMFMapPackage.getMapping_Nodes()
** Generated **
Model:
type="org.eclipse.gmf.mappings.TopNodeReference" containment="true"

getLinks

public EList getLinks()
Returns the value of the 'Links' containment reference list. The list contents are of type LinkMapping.

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

Returns:
the value of the 'Links' containment reference list.
See Also:
GMFMapPackage.getMapping_Links()
** Generated **
Model:
type="org.eclipse.gmf.mappings.LinkMapping" containment="true"

getDiagram

public CanvasMapping getDiagram()
Returns the value of the 'Diagram' containment reference.

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

Returns:
the value of the 'Diagram' containment reference.
See Also:
Mapping.setDiagram(CanvasMapping), GMFMapPackage.getMapping_Diagram()
** Generated **
Model:
containment="true" required="true"

setDiagram

public void setDiagram(CanvasMapping value)
Sets the value of the 'Diagram' containment reference.

Parameters:
value - the new value of the 'Diagram' containment reference.
See Also:
Mapping.getDiagram()
** Generated **

getAppearanceStyles

public EList getAppearanceStyles()
Returns the value of the 'Appearance Styles' containment reference list. The list contents are of type StyleSelector.

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

Returns:
the value of the 'Appearance Styles' containment reference list.
See Also:
GMFMapPackage.getMapping_AppearanceStyles()
** Generated **
Model:
type="org.eclipse.gmf.tooldef.StyleSelector" containment="true"

getAudits

public AuditContainer getAudits()
Returns the value of the 'Audits' containment reference.

Returns:
the value of the 'Audits' containment reference.
See Also:
Mapping.setAudits(AuditContainer), GMFMapPackage.getMapping_Audits()
** Generated **
Model:
containment="true"

setAudits

public void setAudits(AuditContainer value)
Sets the value of the 'Audits' containment reference.

Parameters:
value - the new value of the 'Audits' containment reference.
See Also:
Mapping.getAudits()
** Generated **

getMetrics

public MetricContainer getMetrics()
Returns the value of the 'Metrics' containment reference.

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

Returns:
the value of the 'Metrics' containment reference.
See Also:
Mapping.setMetrics(MetricContainer), GMFMapPackage.getMapping_Metrics()
** Generated **
Model:
containment="true"

setMetrics

public void setMetrics(MetricContainer value)
Sets the value of the 'Metrics' containment reference.

Parameters:
value - the new value of the 'Metrics' containment reference.
See Also:
Mapping.getMetrics()
** Generated **

Generation Framework

Guidelines for using Eclipse APIs.

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