org.eclipse.gmt.umlx.mm.util
Class GClassOperationsSiblingAccessor
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<C,P,CM>
org.eclipse.gmt.umlx.gcore.util.GModelElementAccessor<GClassOperation,GClass,org.eclipse.emf.ecore.EOperation>
org.eclipse.gmt.umlx.mm.util.GClassOperationsSiblingAccessor
- All Implemented Interfaces:
- IParentAccessor<GClassOperation,GClass,org.eclipse.emf.ecore.EOperation>, ISiblingAccessor<GClassOperation,GClass,org.eclipse.emf.ecore.EOperation>
public class GClassOperationsSiblingAccessor
- extends GModelElementAccessor<GClassOperation,GClass,org.eclipse.emf.ecore.EOperation>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static GClassOperationsSiblingAccessor getInstance()
getChildren
public java.util.List<? super GClassOperation> getChildren(GClass 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 GClass getParent(GClassOperation child)
- Specified by:
getParent
in interface IParentAccessor<GClassOperation,GClass,org.eclipse.emf.ecore.EOperation>
- Specified by:
getParent
in class SingleParentAccessor<GClassOperation,GClass,org.eclipse.emf.ecore.EOperation>