/**
* Copyright (c) 2015-2016 Obeo, Inria
* 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:
* - William Piers <william.piers@obeo.fr>
* - Philippe Merle <philippe.merle@inria.fr>
*/
package org.occiware.clouddesigner.occi.platform;
import java.net.URL;
import org.occiware.clouddesigner.occi.Resource;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Application</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.occiware.clouddesigner.occi.platform.Application#getName <em>Name</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.platform.Application#getContext <em>Context</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.platform.Application#getUrl <em>Url</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.platform.Application#getState <em>State</em>}</li>
* <li>{@link org.occiware.clouddesigner.occi.platform.Application#getMessage <em>Message</em>}</li>
* </ul>
*
* @see org.occiware.clouddesigner.occi.platform.PlatformPackage#getApplication()
* @model annotation="OCCIE2Ecore title='Application'"
* @generated
*/
public interface Application extends Resource {
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Name</em>' attribute.
* @see #setName(String)
* @see org.occiware.clouddesigner.occi.platform.PlatformPackage#getApplication_Name()
* @model dataType="org.occiware.clouddesigner.occi.String" required="true"
* annotation="OCCIE2Ecore description='Name of the application.'"
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.platform.Application#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Context</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Context</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Context</em>' attribute.
* @see #setContext(URL)
* @see org.occiware.clouddesigner.occi.platform.PlatformPackage#getApplication_Context()
* @model dataType="org.occiware.clouddesigner.occi.platform.URL" required="true"
* annotation="OCCIE2Ecore description='URL for contextualizing the app.'"
* @generated
*/
URL getContext();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.platform.Application#getContext <em>Context</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Context</em>' attribute.
* @see #getContext()
* @generated
*/
void setContext(URL value);
/**
* Returns the value of the '<em><b>Url</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Url</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Url</em>' attribute.
* @see #setUrl(URL)
* @see org.occiware.clouddesigner.occi.platform.PlatformPackage#getApplication_Url()
* @model dataType="org.occiware.clouddesigner.occi.platform.URL" required="true"
* annotation="OCCIE2Ecore description='DNS entry.'"
* @generated
*/
URL getUrl();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.platform.Application#getUrl <em>Url</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Url</em>' attribute.
* @see #getUrl()
* @generated
*/
void setUrl(URL value);
/**
* Returns the value of the '<em><b>State</b></em>' attribute.
* The literals are from the enumeration {@link org.occiware.clouddesigner.occi.platform.Status}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>State</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>State</em>' attribute.
* @see org.occiware.clouddesigner.occi.platform.Status
* @see #setState(Status)
* @see org.occiware.clouddesigner.occi.platform.PlatformPackage#getApplication_State()
* @model required="true"
* annotation="OCCIE2Ecore description='State of the application.'"
* @generated
*/
Status getState();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.platform.Application#getState <em>State</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>State</em>' attribute.
* @see org.occiware.clouddesigner.occi.platform.Status
* @see #getState()
* @generated
*/
void setState(Status value);
/**
* Returns the value of the '<em><b>Message</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Message</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Message</em>' attribute.
* @see #setMessage(String)
* @see org.occiware.clouddesigner.occi.platform.PlatformPackage#getApplication_Message()
* @model dataType="org.occiware.clouddesigner.occi.String"
* annotation="OCCIE2Ecore description='Human-readable explanation of the current instance state.'"
* @generated
*/
String getMessage();
/**
* Sets the value of the '{@link org.occiware.clouddesigner.occi.platform.Application#getMessage <em>Message</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Message</em>' attribute.
* @see #getMessage()
* @generated
*/
void setMessage(String value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="OCCIE2Ecore title='Start the application.'"
* @generated
*/
void start();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model annotation="OCCIE2Ecore title='Stop the application.'"
* @generated
*/
void stop();
} // Application