org.eclipse.gmt.umlx.ucore.util
Class URelationUClassVariableDeclarationsSiblingAccessor

java.lang.Object
  extended by org.eclipse.gmt.umlx.ecore.accessor.ParentAccessor<C,P,CM>
      extended by org.eclipse.gmt.umlx.ecore.accessor.SingleParentAccessor<C,P,CM>
          extended by org.eclipse.gmt.umlx.ecore.accessor.SimpleEObjectAccessor<C,P,CM>
              extended by org.eclipse.gmt.umlx.ecore.accessor.SimpleENamedElementAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>
                  extended by org.eclipse.gmt.umlx.ucore.util.URelationUClassVariableDeclarationsSiblingAccessor
All Implemented Interfaces:
IParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>, ISiblingAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>

public class URelationUClassVariableDeclarationsSiblingAccessor
extends SimpleENamedElementAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>


Method Summary
 java.util.List<? super UVariable> getChildren(URelation parent)
          Return all child class children of parent.
 org.eclipse.emf.ecore.EClass getCoModel(UClassVariable child)
           
static URelationUClassVariableDeclarationsSiblingAccessor getInstance()
           
 URelation getParent(UClassVariable child)
           
 void setCoModel(UClassVariable child, org.eclipse.emf.ecore.EClass coModel)
           
 
Methods inherited from class org.eclipse.gmt.umlx.ecore.accessor.SimpleENamedElementAccessor
getLabel, hasLabel, setLabel
 
Methods inherited from class org.eclipse.gmt.umlx.ecore.accessor.SimpleEObjectAccessor
eResource
 
Methods inherited from class org.eclipse.gmt.umlx.ecore.accessor.SingleParentAccessor
basicGetParent, getParentClass, getSiblingAccessor, getSiblings, removeChild, setParent
 
Methods inherited from class org.eclipse.gmt.umlx.ecore.accessor.ParentAccessor
getBaseParentClass, getChildClass, getCoModelClass, getParentAccessor, getParentAccessor
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.ecore.accessor.IParentAccessor
getBaseParentClass, getChildClass, getCoModelClass
 

Method Detail

getInstance

public static URelationUClassVariableDeclarationsSiblingAccessor 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 org.eclipse.emf.ecore.EClass getCoModel(UClassVariable child)
Specified by:
getCoModel in interface IParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>
Overrides:
getCoModel in class ParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>

setCoModel

public void setCoModel(UClassVariable child,
                       org.eclipse.emf.ecore.EClass coModel)
Specified by:
setCoModel in interface IParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>
Overrides:
setCoModel in class ParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>

getParent

public URelation getParent(UClassVariable child)
Specified by:
getParent in interface IParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>
Specified by:
getParent in class SingleParentAccessor<UClassVariable,URelation,org.eclipse.emf.ecore.EClass>