|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmt.umlx.ecore.accessor.SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
org.eclipse.gmt.umlx.ucore.util.UClassVariableUAttributeVariablesSiblingAccessor
public class UClassVariableUAttributeVariablesSiblingAccessor
Method Summary | |
---|---|
org.eclipse.emf.ecore.resource.Resource |
eResource(UAttributeVariable child)
|
java.util.List<? super UAttributeVariable> |
getChildren(UClassVariable parent)
Return all child class children of parent. |
static UClassVariableUAttributeVariablesSiblingAccessor |
getInstance()
|
java.lang.String |
getLabel(UAttributeVariable child)
Get the label (name/text/whetever) of the child. |
UClassVariable |
getParent(UAttributeVariable child)
|
java.util.List<? super UAttributeVariable> |
getSiblings(UAttributeVariable child)
Return all siblings of and with the same class as child. |
boolean |
hasLabel()
Test whether the child class has a label field. |
void |
setLabel(UAttributeVariable child,
java.lang.String label)
Set the label (name/text/whetever) of the child. |
Methods inherited from class org.eclipse.gmt.umlx.ecore.accessor.SiblingAccessor |
---|
basicGetParent, getBaseParentClass, getChildClass, getCoModel, getCoModelClass, getParentClass, getSiblingAccessor, removeChild, setCoModel, setParent |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static UClassVariableUAttributeVariablesSiblingAccessor getInstance()
public org.eclipse.emf.ecore.resource.Resource eResource(UAttributeVariable child)
public java.util.List<? super UAttributeVariable> getChildren(UClassVariable parent)
ISiblingAccessor
getChildren
in interface ISiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
getChildren
in class SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
parent
- parent of required children
public java.lang.String getLabel(UAttributeVariable child)
ISiblingAccessor
getLabel
in interface ISiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
getLabel
in class SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
child
- providing the label
public UClassVariable getParent(UAttributeVariable child)
getParent
in interface IParentAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
getParent
in class SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
public java.util.List<? super UAttributeVariable> getSiblings(UAttributeVariable child)
ISiblingAccessor
getSiblings
in interface ISiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
getSiblings
in class SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
public boolean hasLabel()
ISiblingAccessor
hasLabel
in interface ISiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
hasLabel
in class SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
public void setLabel(UAttributeVariable child, java.lang.String label)
ISiblingAccessor
setLabel
in interface ISiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
setLabel
in class SiblingAccessor<UAttributeVariable,UClassVariable,org.eclipse.emf.ecore.EAttribute>
child
- providing the labellabel
- the label
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |