org.eclipse.gmt.umlx.ecore.links
Class AbstractLinkEnd

java.lang.Object
  extended by 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.


Constructor Summary
AbstractLinkEnd(java.lang.Object model)
           
 
Method Summary
 boolean equals(java.lang.Object anotherEnd)
           
 java.lang.Object getModel()
           
<T> T
getModel(java.lang.Class<T> toClass)
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLinkEnd

public AbstractLinkEnd(java.lang.Object model)
Method Detail

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