Interface CustomReferenceField

All Superinterfaces:
CustomField, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier

public interface CustomReferenceField extends CustomField
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 Type
    Method
    Description
    Returns the value of the 'Classifier Name' attribute.
    org.eclipse.emf.ecore.EObject
    Returns the value of the 'Containment Value' containment reference.
    org.eclipse.emf.ecore.EObject
    Returns the value of the 'Value' reference.
    void
    Sets the value of the 'Classifier Name' attribute.
    void
    setContainmentValue(org.eclipse.emf.ecore.EObject value)
    Sets the value of the 'Containment Value' containment reference.
    void
    setValue(org.eclipse.emf.ecore.EObject value)
    Sets the value of the 'Value' reference.

    Methods inherited from interface com.amalgamasimulation.ecoreutils.CustomField

    getContainer, getName, setContainer, setName

    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 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

      void setClassifierName(String value)
      Sets the value of the 'Classifier Name' attribute.
      Parameters:
      value - the new value of the 'Classifier Name' attribute.
      See Also: