org.eclipse.gmt.umlx.ecore.links
Class AbstractLinkEnd
java.lang.Object
org.eclipse.gmt.umlx.ecore.links.AbstractLinkEnd
- All Implemented Interfaces:
- ILinkEnd
public class AbstractLinkEnd
- extends java.lang.Object
- implements ILinkEnd
An AbstractLinkEnd describes the end of a link, which for most links is just
a reference to the natural object at the end of the link, but for
associations must comprise both reference and containing class.
Method Summary |
boolean |
equals(java.lang.Object anotherEnd)
|
java.lang.Object |
getModel()
|
|
getModel(java.lang.Class<T> toClass)
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractLinkEnd
public AbstractLinkEnd(java.lang.Object model)
equals
public boolean equals(java.lang.Object anotherEnd)
- Specified by:
equals
in interface ILinkEnd
- Overrides:
equals
in class java.lang.Object
getModel
public java.lang.Object getModel()
- Specified by:
getModel
in interface ILinkEnd
getModel
public <T> T getModel(java.lang.Class<T> toClass)
- Specified by:
getModel
in interface ILinkEnd