org.eclipse.gmf.mappings
Interface OclChoiceLabelMapping

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LabelMapping, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
OclChoiceLabelMappingImpl

public interface OclChoiceLabelMapping
extends LabelMapping

A representation of the model object 'Ocl Choice Label Mapping'. Label based on a feature (reference or attribute) from domain model and list of choices

The following features are supported:

See Also:
GMFMapPackage.getOclChoiceLabelMapping()
Generated
Model Properties:

Method Summary
 org.eclipse.emf.ecore.EStructuralFeature getFeature()
          Returns the value of the 'Feature' reference.
 ValueExpression getItemsExpression()
          Returns the value of the 'Items Expression' containment reference.
 ValueExpression getShowExpression()
          Returns the value of the 'Show Expression' containment reference.
 void setFeature(org.eclipse.emf.ecore.EStructuralFeature value)
          Sets the value of the 'Feature' reference.
 void setItemsExpression(ValueExpression value)
          Sets the value of the 'Items Expression' containment reference.
 void setShowExpression(ValueExpression value)
          Sets the value of the 'Show Expression' containment reference.
 
Methods inherited from interface org.eclipse.gmf.mappings.LabelMapping
getDiagramLabel, getMapEntry, isReadOnly, setDiagramLabel, setReadOnly
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getFeature

org.eclipse.emf.ecore.EStructuralFeature getFeature()
Returns the value of the 'Feature' reference.

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

Returns:
the value of the 'Feature' reference.
See Also:
setFeature(EStructuralFeature), GMFMapPackage.getOclChoiceLabelMapping_Feature()
Generated
Model Properties:
required="true" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='feature.eContainingClass.isSuperTypeOf(mapEntry.domainMetaElement)' description='Label reference must be available in \'Domain Element\' EClass of the labeled mapping entry'" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='feature.oclIsKindOf(ecore::EReference) implies (not(feature.oclAsType(ecore::EReference).containment) and (feature.oclAsType(ecore::EReference).upperBound = 1))' description='Reference feature should not be containment and don\'t be multiple'" annotation="http://www.eclipse.org/gmf/2005/constraints ocl='feature.oclIsKindOf(ecore::EAttribute) implies (itemsExpression <> null)' description='Items expression should be set if feature is an EAttribute'"

setFeature

void setFeature(org.eclipse.emf.ecore.EStructuralFeature value)
Sets the value of the 'Feature' reference.

Parameters:
value - the new value of the 'Feature' reference.
See Also:
getFeature()
Generated

getItemsExpression

ValueExpression getItemsExpression()
Returns the value of the 'Items Expression' containment reference.

If the meaning of the 'Items Expression' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Items Expression' containment reference.
See Also:
setItemsExpression(ValueExpression), GMFMapPackage.getOclChoiceLabelMapping_ItemsExpression()
Generated
Model Properties:
containment="true"

setItemsExpression

void setItemsExpression(ValueExpression value)
Sets the value of the 'Items Expression' containment reference.

Parameters:
value - the new value of the 'Items Expression' containment reference.
See Also:
getItemsExpression()
Generated

getShowExpression

ValueExpression getShowExpression()
Returns the value of the 'Show Expression' containment reference.

If the meaning of the 'Show Expression' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Show Expression' containment reference.
See Also:
setShowExpression(ValueExpression), GMFMapPackage.getOclChoiceLabelMapping_ShowExpression()
Generated
Model Properties:
containment="true"

setShowExpression

void setShowExpression(ValueExpression value)
Sets the value of the 'Show Expression' containment reference.

Parameters:
value - the new value of the 'Show Expression' containment reference.
See Also:
getShowExpression()
Generated


Copyright © 2012. All Rights Reserved.