blob: 55a6bd1e0cac584a625c72ab7c68f6abca7f834b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
/**
*/
package familytree;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Member</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link familytree.Member#getName <em>Name</em>}</li>
* <li>{@link familytree.Member#getAge <em>Age</em>}</li>
* <li>{@link familytree.Member#getChildren <em>Children</em>}</li>
* <li>{@link familytree.Member#getParents <em>Parents</em>}</li>
* </ul>
*
* @see familytree.FamilytreePackage#getMember()
* @model
* @generated
*/
public interface Member extends EObject {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see familytree.FamilytreePackage#getMember_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link familytree.Member#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Age</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Age</em>' attribute.
* @see #setAge(int)
* @see familytree.FamilytreePackage#getMember_Age()
* @model default="0"
* @generated
*/
int getAge();
/**
* Sets the value of the '{@link familytree.Member#getAge <em>Age</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Age</em>' attribute.
* @see #getAge()
* @generated
*/
void setAge(int value);
/**
* Returns the value of the '<em><b>Children</b></em>' reference list.
* The list contents are of type {@link familytree.Member}.
* It is bidirectional and its opposite is '{@link familytree.Member#getParents <em>Parents</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Children</em>' reference list.
* @see familytree.FamilytreePackage#getMember_Children()
* @see familytree.Member#getParents
* @model opposite="parents"
* @generated
*/
EList<Member> getChildren();
/**
* Returns the value of the '<em><b>Parents</b></em>' reference list.
* The list contents are of type {@link familytree.Member}.
* It is bidirectional and its opposite is '{@link familytree.Member#getChildren <em>Children</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Parents</em>' reference list.
* @see familytree.FamilytreePackage#getMember_Parents()
* @see familytree.Member#getChildren
* @model opposite="children" upper="2"
* @generated
*/
EList<Member> getParents();
} // Member
|