org.eclipse.gmt.umlx.ecore2.util
Class OrphanageE2TransientLinksSiblingAccessor
java.lang.Object
org.eclipse.gmt.umlx.ecore.accessor.ParentAccessor<C,P,CM>
org.eclipse.gmt.umlx.ecore.accessor.SingleParentAccessor<C,P,CM>
org.eclipse.gmt.umlx.ecore.accessor.SimpleEObjectAccessor<E2TransientLink,Orphanage,java.lang.Object>
org.eclipse.gmt.umlx.ecore2.util.OrphanageE2TransientLinksSiblingAccessor
- All Implemented Interfaces:
- IParentAccessor<E2TransientLink,Orphanage,java.lang.Object>, ISiblingAccessor<E2TransientLink,Orphanage,java.lang.Object>
public class OrphanageE2TransientLinksSiblingAccessor
- extends SimpleEObjectAccessor<E2TransientLink,Orphanage,java.lang.Object>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static OrphanageE2TransientLinksSiblingAccessor getInstance()
getChildren
public java.util.List<? super E2TransientLink> getChildren(Orphanage parent)
- Description copied from interface:
ISiblingAccessor
- Return all child class children of parent. Note that the returned list
is the parenmt's list if the parent happens to maintain a suitable list,
otherwise a temporary list is constructed for the return. Changes to
the temporary do not affect the parent.
- Parameters:
parent
- parent of required children
- Returns:
- the non-null but possibly empty list of children
getParent
public Orphanage getParent(E2TransientLink child)
- Specified by:
getParent
in interface IParentAccessor<E2TransientLink,Orphanage,java.lang.Object>
- Specified by:
getParent
in class SingleParentAccessor<E2TransientLink,Orphanage,java.lang.Object>