/** */ package familytree; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Member'. * * *

* The following features are supported: *

* * * @see familytree.FamilytreePackage#getMember() * @model * @generated */ public interface Member extends EObject { /** * Returns the value of the 'Name' attribute. * * * @return the value of the 'Name' attribute. * @see #setName(String) * @see familytree.FamilytreePackage#getMember_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link familytree.Member#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Age' attribute. * The default value is "0". * * * @return the value of the 'Age' attribute. * @see #setAge(int) * @see familytree.FamilytreePackage#getMember_Age() * @model default="0" * @generated */ int getAge(); /** * Sets the value of the '{@link familytree.Member#getAge Age}' attribute. * * * @param value the new value of the 'Age' attribute. * @see #getAge() * @generated */ void setAge(int value); /** * Returns the value of the 'Children' reference list. * The list contents are of type {@link familytree.Member}. * It is bidirectional and its opposite is '{@link familytree.Member#getParents Parents}'. * * * @return the value of the 'Children' reference list. * @see familytree.FamilytreePackage#getMember_Children() * @see familytree.Member#getParents * @model opposite="parents" * @generated */ EList getChildren(); /** * Returns the value of the 'Parents' reference list. * The list contents are of type {@link familytree.Member}. * It is bidirectional and its opposite is '{@link familytree.Member#getChildren Children}'. * * * @return the value of the 'Parents' reference list. * @see familytree.FamilytreePackage#getMember_Parents() * @see familytree.Member#getChildren * @model opposite="children" upper="2" * @generated */ EList getParents(); } // Member