org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation Maven / Gradle / Ivy
/**
* generated by Xtext 2.21.0
*/
package org.contextmapper.tactic.dsl.tacticdsl;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
*
* A representation of the model object 'Resource Operation'.
*
*
*
* The following features are supported:
*
*
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getDoc Doc}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getVisibility Visibility}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getReturnType Return Type}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getName Name}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getParameters Parameters}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getThrows Throws}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getHint Hint}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getHttpMethod Http Method}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getPath Path}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getReturnString Return String}
* - {@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getDelegateHolder Delegate Holder}
*
*
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation()
* @model
* @generated
*/
public interface ResourceOperation extends EObject
{
/**
* Returns the value of the 'Doc' attribute.
*
*
* @return the value of the 'Doc' attribute.
* @see #setDoc(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Doc()
* @model
* @generated
*/
String getDoc();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getDoc Doc}' attribute.
*
*
* @param value the new value of the 'Doc' attribute.
* @see #getDoc()
* @generated
*/
void setDoc(String value);
/**
* Returns the value of the 'Visibility' attribute.
* The literals are from the enumeration {@link org.contextmapper.tactic.dsl.tacticdsl.Visibility}.
*
*
* @return the value of the 'Visibility' attribute.
* @see org.contextmapper.tactic.dsl.tacticdsl.Visibility
* @see #setVisibility(Visibility)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Visibility()
* @model
* @generated
*/
Visibility getVisibility();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getVisibility Visibility}' attribute.
*
*
* @param value the new value of the 'Visibility' attribute.
* @see org.contextmapper.tactic.dsl.tacticdsl.Visibility
* @see #getVisibility()
* @generated
*/
void setVisibility(Visibility value);
/**
* Returns the value of the 'Return Type' containment reference.
*
*
* @return the value of the 'Return Type' containment reference.
* @see #setReturnType(ComplexType)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_ReturnType()
* @model containment="true"
* @generated
*/
ComplexType getReturnType();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getReturnType Return Type}' containment reference.
*
*
* @param value the new value of the 'Return Type' containment reference.
* @see #getReturnType()
* @generated
*/
void setReturnType(ComplexType value);
/**
* Returns the value of the 'Name' attribute.
*
*
* @return the value of the 'Name' attribute.
* @see #setName(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getName Name}' attribute.
*
*
* @param value the new value of the 'Name' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the 'Parameters' containment reference list.
* The list contents are of type {@link org.contextmapper.tactic.dsl.tacticdsl.Parameter}.
*
*
* @return the value of the 'Parameters' containment reference list.
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Parameters()
* @model containment="true"
* @generated
*/
EList getParameters();
/**
* Returns the value of the 'Throws' attribute.
*
*
* @return the value of the 'Throws' attribute.
* @see #setThrows(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Throws()
* @model
* @generated
*/
String getThrows();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getThrows Throws}' attribute.
*
*
* @param value the new value of the 'Throws' attribute.
* @see #getThrows()
* @generated
*/
void setThrows(String value);
/**
* Returns the value of the 'Hint' attribute.
*
*
* @return the value of the 'Hint' attribute.
* @see #setHint(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Hint()
* @model
* @generated
*/
String getHint();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getHint Hint}' attribute.
*
*
* @param value the new value of the 'Hint' attribute.
* @see #getHint()
* @generated
*/
void setHint(String value);
/**
* Returns the value of the 'Http Method' attribute.
* The literals are from the enumeration {@link org.contextmapper.tactic.dsl.tacticdsl.HttpMethod}.
*
*
* @return the value of the 'Http Method' attribute.
* @see org.contextmapper.tactic.dsl.tacticdsl.HttpMethod
* @see #setHttpMethod(HttpMethod)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_HttpMethod()
* @model
* @generated
*/
HttpMethod getHttpMethod();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getHttpMethod Http Method}' attribute.
*
*
* @param value the new value of the 'Http Method' attribute.
* @see org.contextmapper.tactic.dsl.tacticdsl.HttpMethod
* @see #getHttpMethod()
* @generated
*/
void setHttpMethod(HttpMethod value);
/**
* Returns the value of the 'Path' attribute.
*
*
* @return the value of the 'Path' attribute.
* @see #setPath(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_Path()
* @model
* @generated
*/
String getPath();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getPath Path}' attribute.
*
*
* @param value the new value of the 'Path' attribute.
* @see #getPath()
* @generated
*/
void setPath(String value);
/**
* Returns the value of the 'Return String' attribute.
*
*
* @return the value of the 'Return String' attribute.
* @see #setReturnString(String)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_ReturnString()
* @model
* @generated
*/
String getReturnString();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getReturnString Return String}' attribute.
*
*
* @param value the new value of the 'Return String' attribute.
* @see #getReturnString()
* @generated
*/
void setReturnString(String value);
/**
* Returns the value of the 'Delegate Holder' containment reference.
*
*
* @return the value of the 'Delegate Holder' containment reference.
* @see #setDelegateHolder(ResourceOperationDelegate)
* @see org.contextmapper.tactic.dsl.tacticdsl.TacticdslPackage#getResourceOperation_DelegateHolder()
* @model containment="true"
* @generated
*/
ResourceOperationDelegate getDelegateHolder();
/**
* Sets the value of the '{@link org.contextmapper.tactic.dsl.tacticdsl.ResourceOperation#getDelegateHolder Delegate Holder}' containment reference.
*
*
* @param value the new value of the 'Delegate Holder' containment reference.
* @see #getDelegateHolder()
* @generated
*/
void setDelegateHolder(ResourceOperationDelegate value);
} // ResourceOperation