View Javadoc

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>Service Method</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.ServiceMethod#getType <em>Type</em>}</li>
19   *   <li>{@link org.mod4j.dsl.service.mm.ServiceDsl.ServiceMethod#getModel <em>Model</em>}</li>
20   * </ul>
21   * </p>
22   *
23   * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getServiceMethod()
24   * @model
25   * @generated
26   */
27  public interface ServiceMethod extends ModelElement {
28      /**
29       * Returns the value of the '<em><b>Type</b></em>' attribute.
30       * The default value is <code>"Custom"</code>.
31       * The literals are from the enumeration {@link org.mod4j.dsl.service.mm.ServiceDsl.MethodType}.
32       * <!-- begin-user-doc -->
33       * <p>
34       * If the meaning of the '<em>Type</em>' attribute isn't clear,
35       * there really should be more of a description here...
36       * </p>
37       * <!-- end-user-doc -->
38       * @return the value of the '<em>Type</em>' attribute.
39       * @see org.mod4j.dsl.service.mm.ServiceDsl.MethodType
40       * @see #setType(MethodType)
41       * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getServiceMethod_Type()
42       * @model default="Custom"
43       * @generated
44       */
45      MethodType getType();
46  
47      /**
48       * Sets the value of the '{@link org.mod4j.dsl.service.mm.ServiceDsl.ServiceMethod#getType <em>Type</em>}' attribute.
49       * <!-- begin-user-doc -->
50       * <!-- end-user-doc -->
51       * @param value the new value of the '<em>Type</em>' attribute.
52       * @see org.mod4j.dsl.service.mm.ServiceDsl.MethodType
53       * @see #getType()
54       * @generated
55       */
56      void setType(MethodType value);
57  
58      /**
59       * Returns the value of the '<em><b>Model</b></em>' container reference.
60       * It is bidirectional and its opposite is '{@link org.mod4j.dsl.service.mm.ServiceDsl.ServiceModel#getMethods <em>Methods</em>}'.
61       * <!-- begin-user-doc -->
62       * <p>
63       * If the meaning of the '<em>Model</em>' container reference isn't clear,
64       * there really should be more of a description here...
65       * </p>
66       * <!-- end-user-doc -->
67       * @return the value of the '<em>Model</em>' container reference.
68       * @see #setModel(ServiceModel)
69       * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceDslPackage#getServiceMethod_Model()
70       * @see org.mod4j.dsl.service.mm.ServiceDsl.ServiceModel#getMethods
71       * @model opposite="methods" transient="false"
72       * @generated
73       */
74      ServiceModel getModel();
75  
76      /**
77       * Sets the value of the '{@link org.mod4j.dsl.service.mm.ServiceDsl.ServiceMethod#getModel <em>Model</em>}' container reference.
78       * <!-- begin-user-doc -->
79       * <!-- end-user-doc -->
80       * @param value the new value of the '<em>Model</em>' container reference.
81       * @see #getModel()
82       * @generated
83       */
84      void setModel(ServiceModel value);
85  
86  } // ServiceMethod