Interface CustomReferenceField
- All Superinterfaces:
CustomField,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
A representation of the model object 'Custom Reference Field'.
Custom field referring to some EObject. May also act as the 'container' (in EMF terms) for the referenced EObject, in which case the 'containmentValue' field should refer to the same EObject as the 'value' field.
The following features are supported:
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Classifier Name' attribute.org.eclipse.emf.ecore.EObjectReturns the value of the 'Containment Value' containment reference.org.eclipse.emf.ecore.EObjectgetValue()Returns the value of the 'Value' reference.voidsetClassifierName(String value) Sets the value of the 'Classifier Name' attribute.voidsetContainmentValue(org.eclipse.emf.ecore.EObject value) Sets the value of the 'Containment Value' containment reference.voidsetValue(org.eclipse.emf.ecore.EObject value) Sets the value of the 'Value' reference.Methods inherited from interface com.amalgamasimulation.ecoreutils.CustomField
getContainer, getName, setContainer, setNameMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getValue
org.eclipse.emf.ecore.EObject getValue()Returns the value of the 'Value' reference. Referenced EObject. See also the 'containmentValue' field.- Returns:
- the value of the 'Value' reference.
- See Also:
-
setValue
void setValue(org.eclipse.emf.ecore.EObject value) Sets the value of the 'Value' reference.- Parameters:
value- the new value of the 'Value' reference.- See Also:
-
getContainmentValue
org.eclipse.emf.ecore.EObject getContainmentValue()Returns the value of the 'Containment Value' containment reference. If the EObject referenced by the 'value' field must be "contained" (in EMF terms) in the custom field container, then this field contains the same value as the 'value' field. Otherwise, this field is null.- Returns:
- the value of the 'Containment Value' containment reference.
- See Also:
-
setContainmentValue
void setContainmentValue(org.eclipse.emf.ecore.EObject value) Sets the value of the 'Containment Value' containment reference.- Parameters:
value- the new value of the 'Containment Value' containment reference.- See Also:
-
getClassifierName
String getClassifierName()Returns the value of the 'Classifier Name' attribute. Name of the EClass of the EObject referred to by the 'value' field- Returns:
- the value of the 'Classifier Name' attribute.
- See Also:
-
setClassifierName
Sets the value of the 'Classifier Name' attribute.- Parameters:
value- the new value of the 'Classifier Name' attribute.- See Also:
-