Interface HasType

All Superinterfaces:
AbstractCodeRelationship, Element, org.eclipse.emf.ecore.EObject, KDMRelationship, ModelElement, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
HasTypeImpl

public interface HasType
extends AbstractCodeRelationship
A representation of the model object 'Has Type'.

The following features are supported:

See Also:
CodePackage.getHasType()
  • Method Summary

    Modifier and Type Method Description
    CodeItem getFrom()
    Returns the value of the 'From' reference.
    Datatype getTo()
    Returns the value of the 'To' reference.
    void setFrom​(CodeItem value)
    Sets the value of the 'From' reference.
    void setTo​(Datatype value)
    Sets the value of the 'To' reference.

    Methods inherited from interface org.eclipse.gmt.modisco.omg.kdm.core.Element

    getAnnotation, getAttribute

    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.gmt.modisco.omg.kdm.core.ModelElement

    getStereotype, getTaggedValue

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver