Interface MappingEntry
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,org.palladiosimulator.pcm.core.entity.Entity
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
,org.palladiosimulator.pcm.PCMBaseClass
,org.palladiosimulator.pcm.PCMClass
- All Known Implementing Classes:
MappingEntryImpl
public interface MappingEntry extends EObject, org.palladiosimulator.pcm.core.entity.Entity
A representation of the model object 'Mapping Entry'.The following features are supported:
- See Also:
QualityModelPackage.getMappingEntry()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList
getKey()
Returns the value of the 'Key' containment reference list.ValueLiteral
getValue()
Returns the value of the 'Value' containment reference.void
setValue(ValueLiteral value)
Sets the value of the 'Value
' containment reference.String
toString()
-
Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption
-
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.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getValue
ValueLiteral getValue()
Returns the value of the 'Value' containment reference.If the meaning of the 'Value' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Value' containment reference.
- See Also:
setValue(ValueLiteral)
,QualityModelPackage.getMappingEntry_Value()
- Generated class or method.
- EMF model class or method.
- containment="true" required="true"
-
setValue
void setValue(ValueLiteral value)
Sets the value of the 'Value
' containment reference.- Parameters:
value
- the new value of the 'Value' containment reference.- See Also:
getValue()
- Generated class or method.
-
getKey
EList getKey()
Returns the value of the 'Key' containment reference list. The list contents are of typeValueLiteral
.If the meaning of the 'Key' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Key' containment reference list.
- See Also:
QualityModelPackage.getMappingEntry_Key()
- Generated class or method.
- EMF model class or method.
- type="de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.ValueLiteral" containment="true" required="true"
-
toString
String toString()
- Overrides:
toString
in classObject
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/GenModel body='if (eIsProxy()) return super.toString(); final StringBuilder builder = new StringBuilder(key.size() * 3); String prefix = \"\"; for (final Object object : key) { builder.append(prefix); prefix = \",\"; builder.append(object instanceof de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.SetLiteral ? ((de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.SetLiteral) object).getValues().get(0).getEntityName() : ((ValueLiteral) object).getId()); } return builder.append(\"=\").append( (value instanceof de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.SetLiteral ? ((de.uka.ipd.sdq.dsexplore.qml.contract.QMLContract.SetLiteral) value).getValues().get(0).getEntityName() : value.getId())) .toString();'"
-
-