Interface ChangeableElementDescription
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,de.uka.ipd.sdq.featuremodel.NamedElement
,Notifier
- All Known Implementing Classes:
ChangeableElementDescriptionImpl
public interface ChangeableElementDescription
extends de.uka.ipd.sdq.featuremodel.NamedElement
A representation of the model object '
Changeable Element Description'.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Changeable' reference.Returns the value of the 'Selection Rule' containment reference.Returns the value of the 'Value Rule' containment reference.void
setChangeable
(EStructuralFeature value) Sets the value of the 'Changeable
' reference.void
setSelectionRule
(SelectionRule value) Sets the value of the 'Selection Rule
' containment reference.void
setValueRule
(ValueRule value) Sets the value of the 'Value Rule
' containment reference.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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface de.uka.ipd.sdq.featuremodel.NamedElement
getName, setName
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getChangeable
EStructuralFeature getChangeable()Returns the value of the 'Changeable' reference.If the meaning of the 'Changeable' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Changeable' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setChangeable
Sets the value of the 'Changeable
' reference.- Parameters:
value
- the new value of the 'Changeable' reference.- See Also:
- Generated class or method.
-
getValueRule
ValueRule getValueRule()Returns the value of the 'Value Rule' containment reference. "The value rules are defined in the context of the selected instance of $p_i$'s container class." For each $p_i$, rules describe the set of all potential new values that $p_i$ may take in combination with any other change of the other change types for the metamodel at hand. For $p_i$, the description of all potential new values is an OCL query \function{valueRule}{$p_i$} which returns a range $R$ of possible values for \texttt{Properties} of \texttt{Type} \texttt{DataType}, or a set of model elements for \texttt{Properties} of \texttt{Type} \texttt{Class}. The value rules are defined in the context of the selected instance of $p_i$'s container class. The value rules may also refer to other changeable elements $p_j, j < i$. The restriction $j < i$ here ensures that the allowed values can be determined by one pass through all \texttt{Properties}. While the new values of \texttt{Properties} of \texttt{Type} \texttt{Class} can always be defined generically on the meta model level, the values for \texttt{Properties} of \texttt{Type} \texttt{DataType} may depend on the model instance at hand. Then, a generic range is given on the meta model level, which can be restricted on the model instance level.- Returns:
- the value of the 'Value Rule' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" required="true" ordered="false"
-
setValueRule
Sets the value of the 'Value Rule
' containment reference.- Parameters:
value
- the new value of the 'Value Rule' containment reference.- See Also:
- Generated class or method.
-
getSelectionRule
SelectionRule getSelectionRule()Returns the value of the 'Selection Rule' containment reference. "The selection rules for the primary element can be defined in any context."- Returns:
- the value of the 'Selection Rule' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" ordered="false"
-
setSelectionRule
Sets the value of the 'Selection Rule
' containment reference.- Parameters:
value
- the new value of the 'Selection Rule' containment reference.- See Also:
- Generated class or method.
-