Skip to content

Package: Book

Book

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2011-2013 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: * Johannes Faltermeier
14: *
15: *******************************************************************************/
16: package org.eclipse.emf.ecp.validation.test.test;
17:
18: import org.eclipse.emf.ecore.EObject;
19:
20: /**
21: * <!-- begin-user-doc -->
22: * A representation of the model object '<em><b>Book</b></em>'.
23: * <!-- end-user-doc -->
24: *
25: * <p>
26: * The following features are supported:
27: * <ul>
28: * <li>{@link org.eclipse.emf.ecp.validation.test.test.Book#getTitle <em>Title</em>}</li>
29: * <li>{@link org.eclipse.emf.ecp.validation.test.test.Book#getPages <em>Pages</em>}</li>
30: * <li>{@link org.eclipse.emf.ecp.validation.test.test.Book#getWriters <em>Writers</em>}</li>
31: * </ul>
32: * </p>
33: *
34: * @see org.eclipse.emf.ecp.validation.test.test.TestPackage#getBook()
35: * @model
36: * @generated
37: */
38: public interface Book extends EObject {
39:         /**
40:          * Returns the value of the '<em><b>Title</b></em>' attribute.
41:          * <!-- begin-user-doc -->
42:          * <p>
43:          * If the meaning of the '<em>Title</em>' attribute isn't clear, there really should be more of a description
44:          * here...
45:          * </p>
46:          * <!-- end-user-doc -->
47:          *
48:          * @return the value of the '<em>Title</em>' attribute.
49:          * @see #setTitle(String)
50:          * @see org.eclipse.emf.ecp.validation.test.test.TestPackage#getBook_Title()
51:          * @model
52:          * @generated
53:          */
54:         String getTitle();
55:
56:         /**
57:          * Sets the value of the '{@link org.eclipse.emf.ecp.validation.test.test.Book#getTitle <em>Title</em>}' attribute.
58:          * <!-- begin-user-doc -->
59:          * <!-- end-user-doc -->
60:          *
61:          * @param value the new value of the '<em>Title</em>' attribute.
62:          * @see #getTitle()
63:          * @generated
64:          */
65:         void setTitle(String value);
66:
67:         /**
68:          * Returns the value of the '<em><b>Pages</b></em>' attribute.
69:          * The default value is <code>"100"</code>.
70:          * <!-- begin-user-doc -->
71:          * <p>
72:          * If the meaning of the '<em>Pages</em>' attribute isn't clear, there really should be more of a description
73:          * here...
74:          * </p>
75:          * <!-- end-user-doc -->
76:          *
77:          * @return the value of the '<em>Pages</em>' attribute.
78:          * @see #setPages(int)
79:          * @see org.eclipse.emf.ecp.validation.test.test.TestPackage#getBook_Pages()
80:          * @model default="100"
81:          * @generated
82:          */
83:         int getPages();
84:
85:         /**
86:          * Sets the value of the '{@link org.eclipse.emf.ecp.validation.test.test.Book#getPages <em>Pages</em>}' attribute.
87:          * <!-- begin-user-doc -->
88:          * <!-- end-user-doc -->
89:          *
90:          * @param value the new value of the '<em>Pages</em>' attribute.
91:          * @see #getPages()
92:          * @generated
93:          */
94:         void setPages(int value);
95:
96:         /**
97:          * Returns the value of the '<em><b>Writers</b></em>' reference.
98:          * It is bidirectional and its opposite is '{@link org.eclipse.emf.ecp.validation.test.test.Writer#getBooks
99:          * <em>Books</em>}'.
100:          * <!-- begin-user-doc -->
101:          * <p>
102:          * If the meaning of the '<em>Writers</em>' reference isn't clear, there really should be more of a description
103:          * here...
104:          * </p>
105:          * <!-- end-user-doc -->
106:          *
107:          * @return the value of the '<em>Writers</em>' reference.
108:          * @see #setWriters(Writer)
109:          * @see org.eclipse.emf.ecp.validation.test.test.TestPackage#getBook_Writers()
110:          * @see org.eclipse.emf.ecp.validation.test.test.Writer#getBooks
111:          * @model opposite="books"
112:          * @generated
113:          */
114:         Writer getWriters();
115:
116:         /**
117:          * Sets the value of the '{@link org.eclipse.emf.ecp.validation.test.test.Book#getWriters <em>Writers</em>}'
118:          * reference.
119:          * <!-- begin-user-doc -->
120:          * <!-- end-user-doc -->
121:          *
122:          * @param value the new value of the '<em>Writers</em>' reference.
123:          * @see #getWriters()
124:          * @generated
125:          */
126:         void setWriters(Writer value);
127:
128: } // Book