blob: b754fbff2d8c49956ac467482a9cd3dc4427dff3 [file] [log] [blame]
/**
* Copyright (c) 2010, 2012 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Obeo - initial API and implementation
*/
package org.eclipse.mylyn.docs.intent.bridge.java;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Method</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getSimpleName <em>Simple Name</em>}</li>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getReturnType <em>Return Type</em>}</li>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getParameters <em>Parameters</em>}</li>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getContent <em>Content</em>}</li>
* <li>{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getExceptions <em>Exceptions</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.mylyn.docs.intent.bridge.java.JavaPackage#getMethod()
* @model
* @generated
*/
public interface Method extends AbstractCapableElement {
/**
* Returns the value of the '<em><b>Simple Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Simple Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Simple Name</em>' attribute.
* @see #setSimpleName(String)
* @see org.eclipse.mylyn.docs.intent.bridge.java.JavaPackage#getMethod_SimpleName()
* @model required="true"
* @generated
*/
String getSimpleName();
/**
* Sets the value of the '{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getSimpleName <em>Simple Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Simple Name</em>' attribute.
* @see #getSimpleName()
* @generated
*/
void setSimpleName(String value);
/**
* Returns the value of the '<em><b>Return Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Return Type</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Return Type</em>' attribute.
* @see #setReturnType(String)
* @see org.eclipse.mylyn.docs.intent.bridge.java.JavaPackage#getMethod_ReturnType()
* @model
* @generated
*/
String getReturnType();
/**
* Sets the value of the '{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getReturnType <em>Return Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Return Type</em>' attribute.
* @see #getReturnType()
* @generated
*/
void setReturnType(String value);
/**
* Returns the value of the '<em><b>Parameters</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.mylyn.docs.intent.bridge.java.Parameter}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Parameters</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Parameters</em>' containment reference list.
* @see org.eclipse.mylyn.docs.intent.bridge.java.JavaPackage#getMethod_Parameters()
* @model containment="true"
* @generated
*/
EList<Parameter> getParameters();
/**
* Returns the value of the '<em><b>Content</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Content</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Content</em>' attribute.
* @see #setContent(String)
* @see org.eclipse.mylyn.docs.intent.bridge.java.JavaPackage#getMethod_Content()
* @model
* @generated
*/
String getContent();
/**
* Sets the value of the '{@link org.eclipse.mylyn.docs.intent.bridge.java.Method#getContent <em>Content</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Content</em>' attribute.
* @see #getContent()
* @generated
*/
void setContent(String value);
/**
* Returns the value of the '<em><b>Exceptions</b></em>' attribute list.
* The list contents are of type {@link java.lang.String}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Exceptions</em>' attribute list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Exceptions</em>' attribute list.
* @see org.eclipse.mylyn.docs.intent.bridge.java.JavaPackage#getMethod_Exceptions()
* @model
* @generated
*/
EList<String> getExceptions();
} // Method