Skip to content

Package: Template

Template

Coverage

1: /**
2: * Copyright (c) 2011-2018 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: * EclipseSource Muenchen GmbH - initial API and implementation
13: */
14: package org.eclipse.emfforms.datatemplate;
15:
16: import org.eclipse.emf.ecore.EObject;
17:
18: /**
19: * <!-- begin-user-doc -->
20: * A representation of the model object '<em><b>Template</b></em>'.
21: * <!-- end-user-doc -->
22: *
23: * <p>
24: * The following features are supported:
25: * </p>
26: * <ul>
27: * <li>{@link org.eclipse.emfforms.datatemplate.Template#getName <em>Name</em>}</li>
28: * <li>{@link org.eclipse.emfforms.datatemplate.Template#getInstance <em>Instance</em>}</li>
29: * </ul>
30: *
31: * @see org.eclipse.emfforms.datatemplate.DataTemplatePackage#getTemplate()
32: * @model
33: * @generated
34: */
35: public interface Template extends EObject {
36:         /**
37:          * Returns the value of the '<em><b>Name</b></em>' attribute.
38:          * <!-- begin-user-doc -->
39:          * <p>
40:          * If the meaning of the '<em>Name</em>' attribute isn't clear,
41:          * there really should be more of a description here...
42:          * </p>
43:          * <!-- end-user-doc -->
44:          *
45:          * @return the value of the '<em>Name</em>' attribute.
46:          * @see #setName(String)
47:          * @see org.eclipse.emfforms.datatemplate.DataTemplatePackage#getTemplate_Name()
48:          * @model
49:          * @generated
50:          */
51:         String getName();
52:
53:         /**
54:          * Sets the value of the '{@link org.eclipse.emfforms.datatemplate.Template#getName <em>Name</em>}' attribute.
55:          * <!-- begin-user-doc -->
56:          * <!-- end-user-doc -->
57:          *
58:          * @param value the new value of the '<em>Name</em>' attribute.
59:          * @see #getName()
60:          * @generated
61:          */
62:         void setName(String value);
63:
64:         /**
65:          * Returns the value of the '<em><b>Instance</b></em>' containment reference.
66:          * <!-- begin-user-doc -->
67:          * <p>
68:          * If the meaning of the '<em>Instance</em>' containment reference isn't clear,
69:          * there really should be more of a description here...
70:          * </p>
71:          * <!-- end-user-doc -->
72:          *
73:          * @return the value of the '<em>Instance</em>' containment reference.
74:          * @see #setInstance(EObject)
75:          * @see org.eclipse.emfforms.datatemplate.DataTemplatePackage#getTemplate_Instance()
76:          * @model containment="true" required="true"
77:          * @generated
78:          */
79:         EObject getInstance();
80:
81:         /**
82:          * Sets the value of the '{@link org.eclipse.emfforms.datatemplate.Template#getInstance <em>Instance</em>}'
83:          * containment reference.
84:          * <!-- begin-user-doc -->
85:          * <!-- end-user-doc -->
86:          *
87:          * @param value the new value of the '<em>Instance</em>' containment reference.
88:          * @see #getInstance()
89:          * @generated
90:          */
91:         void setInstance(EObject value);
92:
93: } // Template