001/**
002 * ******************************************************************************
003 * Copyright (c) 2018 Red Hat Inc
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *  *
009 * Contributors:
010 *     Jens Reimann - initial API and implementation
011 *  ******************************************************************************
012 */
013package de.dentrassi.varlink.idl.varlinkIdl;
014
015
016/**
017 * <!-- begin-user-doc -->
018 * A representation of the model object '<em><b>Method</b></em>'.
019 * <!-- end-user-doc -->
020 *
021 * <p>
022 * The following features are supported:
023 * </p>
024 * <ul>
025 *   <li>{@link de.dentrassi.varlink.idl.varlinkIdl.Method#getArguments <em>Arguments</em>}</li>
026 *   <li>{@link de.dentrassi.varlink.idl.varlinkIdl.Method#getResult <em>Result</em>}</li>
027 * </ul>
028 *
029 * @see de.dentrassi.varlink.idl.varlinkIdl.VarlinkIdlPackage#getMethod()
030 * @model
031 * @generated
032 */
033public interface Method extends Member
034{
035  /**
036   * Returns the value of the '<em><b>Arguments</b></em>' containment reference.
037   * <!-- begin-user-doc -->
038   * <p>
039   * If the meaning of the '<em>Arguments</em>' containment reference isn't clear,
040   * there really should be more of a description here...
041   * </p>
042   * <!-- end-user-doc -->
043   * @return the value of the '<em>Arguments</em>' containment reference.
044   * @see #setArguments(Arguments)
045   * @see de.dentrassi.varlink.idl.varlinkIdl.VarlinkIdlPackage#getMethod_Arguments()
046   * @model containment="true"
047   * @generated
048   */
049  Arguments getArguments();
050
051  /**
052   * Sets the value of the '{@link de.dentrassi.varlink.idl.varlinkIdl.Method#getArguments <em>Arguments</em>}' containment reference.
053   * <!-- begin-user-doc -->
054   * <!-- end-user-doc -->
055   * @param value the new value of the '<em>Arguments</em>' containment reference.
056   * @see #getArguments()
057   * @generated
058   */
059  void setArguments(Arguments value);
060
061  /**
062   * Returns the value of the '<em><b>Result</b></em>' containment reference.
063   * <!-- begin-user-doc -->
064   * <p>
065   * If the meaning of the '<em>Result</em>' containment reference isn't clear,
066   * there really should be more of a description here...
067   * </p>
068   * <!-- end-user-doc -->
069   * @return the value of the '<em>Result</em>' containment reference.
070   * @see #setResult(Result)
071   * @see de.dentrassi.varlink.idl.varlinkIdl.VarlinkIdlPackage#getMethod_Result()
072   * @model containment="true"
073   * @generated
074   */
075  Result getResult();
076
077  /**
078   * Sets the value of the '{@link de.dentrassi.varlink.idl.varlinkIdl.Method#getResult <em>Result</em>}' containment reference.
079   * <!-- begin-user-doc -->
080   * <!-- end-user-doc -->
081   * @param value the new value of the '<em>Result</em>' containment reference.
082   * @see #getResult()
083   * @generated
084   */
085  void setResult(Result value);
086
087} // Method