org.eclipse.gmt.umlx.ucore.util
Class URelationUExpressionVariableDeclarationsSiblingAccessor
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<UExpressionVariable,URelation,UExpression>
org.eclipse.gmt.umlx.ucore.util.URelationUExpressionVariableDeclarationsSiblingAccessor
- All Implemented Interfaces:
- IParentAccessor<UExpressionVariable,URelation,UExpression>, ISiblingAccessor<UExpressionVariable,URelation,UExpression>
public class URelationUExpressionVariableDeclarationsSiblingAccessor
- extends SimpleENamedElementAccessor<UExpressionVariable,URelation,UExpression>
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static URelationUExpressionVariableDeclarationsSiblingAccessor getInstance()
getChildren
public java.util.List<? super UVariable> getChildren(URelation 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
getCoModel
public UExpression getCoModel(UExpressionVariable child)
- Specified by:
getCoModel
in interface IParentAccessor<UExpressionVariable,URelation,UExpression>
- Overrides:
getCoModel
in class ParentAccessor<UExpressionVariable,URelation,UExpression>
setCoModel
public void setCoModel(UExpressionVariable child,
UExpression coModel)
- Specified by:
setCoModel
in interface IParentAccessor<UExpressionVariable,URelation,UExpression>
- Overrides:
setCoModel
in class ParentAccessor<UExpressionVariable,URelation,UExpression>
getParent
public URelation getParent(UExpressionVariable child)
- Specified by:
getParent
in interface IParentAccessor<UExpressionVariable,URelation,UExpression>
- Specified by:
getParent
in class SingleParentAccessor<UExpressionVariable,URelation,UExpression>