1 /**
2 * <copyright>
3 * </copyright>
4 *
5 * $Id$
6 */
7 package org.mod4j.dsl.service.mm.ServiceDsl;
8
9
10 /**
11 * <!-- begin-user-doc -->
12 * A representation of the model object '<em><b>Parameter</b></em>'.
13 * <!-- end-user-doc -->
14 *
15 * <p>
16 * The following features are supported:
17 * <ul>
18 * <li>{@link org.mod4j.dsl.service.mm.ServiceDsl.Parameter#getType <em>Type</em>}</li>
19 * <li>{@link org.mod4j.dsl.service.mm.ServiceDsl.Parameter#getMethod <em>Method</em>}</li>
20 * <li>{@link org.mod4j.dsl.service.mm.ServiceDsl.Parameter#getCollection <em>Collection</em>}</li>
21 * </ul>
22 * </p>
23 *
24 * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getParameter()
25 * @model
26 * @generated
27 */
28 public interface Parameter extends ModelElement {
29 /**
30 * Returns the value of the '<em><b>Type</b></em>' reference.
31 * <!-- begin-user-doc -->
32 * <p>
33 * If the meaning of the '<em>Type</em>' reference isn't clear,
34 * there really should be more of a description here...
35 * </p>
36 * <!-- end-user-doc -->
37 * @return the value of the '<em>Type</em>' reference.
38 * @see #setType(DtoReference)
39 * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getParameter_Type()
40 * @model
41 * @generated
42 */
43 DtoReference getType();
44
45 /**
46 * Sets the value of the '{@link org.mod4j.dsl.service.mm.ServiceDsl.Parameter#getType <em>Type</em>}' reference.
47 * <!-- begin-user-doc -->
48 * <!-- end-user-doc -->
49 * @param value the new value of the '<em>Type</em>' reference.
50 * @see #getType()
51 * @generated
52 */
53 void setType(DtoReference value);
54
55 /**
56 * Returns the value of the '<em><b>Method</b></em>' container reference.
57 * It is bidirectional and its opposite is '{@link org.mod4j.dsl.service.mm.ServiceDsl.CustomMethod#getInParameters <em>In Parameters</em>}'.
58 * <!-- begin-user-doc -->
59 * <p>
60 * If the meaning of the '<em>Method</em>' container reference isn't clear,
61 * there really should be more of a description here...
62 * </p>
63 * <!-- end-user-doc -->
64 * @return the value of the '<em>Method</em>' container reference.
65 * @see #setMethod(CustomMethod)
66 * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getParameter_Method()
67 * @see org.mod4j.dsl.service.mm.ServiceDsl.CustomMethod#getInParameters
68 * @model opposite="inParameters" transient="false"
69 * @generated
70 */
71 CustomMethod getMethod();
72
73 /**
74 * Sets the value of the '{@link org.mod4j.dsl.service.mm.ServiceDsl.Parameter#getMethod <em>Method</em>}' container reference.
75 * <!-- begin-user-doc -->
76 * <!-- end-user-doc -->
77 * @param value the new value of the '<em>Method</em>' container reference.
78 * @see #getMethod()
79 * @generated
80 */
81 void setMethod(CustomMethod value);
82
83 /**
84 * Returns the value of the '<em><b>Collection</b></em>' attribute.
85 * The default value is <code>"SINGLE"</code>.
86 * The literals are from the enumeration {@link org.mod4j.dsl.service.mm.ServiceDsl.CollectionType}.
87 * <!-- begin-user-doc -->
88 * <p>
89 * If the meaning of the '<em>Collection</em>' attribute isn't clear,
90 * there really should be more of a description here...
91 * </p>
92 * <!-- end-user-doc -->
93 * @return the value of the '<em>Collection</em>' attribute.
94 * @see org.mod4j.dsl.service.mm.ServiceDsl.CollectionType
95 * @see #setCollection(CollectionType)
96 * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getParameter_Collection()
97 * @model default="SINGLE"
98 * @generated
99 */
100 CollectionType getCollection();
101
102 /**
103 * Sets the value of the '{@link org.mod4j.dsl.service.mm.ServiceDsl.Parameter#getCollection <em>Collection</em>}' attribute.
104 * <!-- begin-user-doc -->
105 * <!-- end-user-doc -->
106 * @param value the new value of the '<em>Collection</em>' attribute.
107 * @see org.mod4j.dsl.service.mm.ServiceDsl.CollectionType
108 * @see #getCollection()
109 * @generated
110 */
111 void setCollection(CollectionType value);
112
113 } // Parameter