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