blob: c21f71554d3dd5c49f1edd55455147be25618669 [file] [log] [blame]
/**
* Copyright (c) 2018 CEA
*
* 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:
* Jérémie Tatibouet (CEA) jeremie.tatibouet@cea.fr - Initial API and implementation
* Benoit Maggi (CEA) benoit.maggi@cea.fr - Initial API and implementation
* Shuai Li (CEA) shuai.li@cea.fr - Integration of sensiNact and Web of Things Thing Description
*
*/
package org.eclipse.papyrus.iotml.wot;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.uml2.uml.Association;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Link</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.papyrus.iotml.wot.Link#getBase_Association <em>Base Association</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Link#getHref <em>Href</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Link#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Link#getRel <em>Rel</em>}</li>
* <li>{@link org.eclipse.papyrus.iotml.wot.Link#getAnchor <em>Anchor</em>}</li>
* </ul>
*
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getLink()
* @model
* @generated
*/
public interface Link extends EObject {
/**
* Returns the value of the '<em><b>Base Association</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Base Association</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Base Association</em>' reference.
* @see #setBase_Association(Association)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getLink_Base_Association()
* @model ordered="false"
* @generated
*/
Association getBase_Association();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Link#getBase_Association <em>Base Association</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Base Association</em>' reference.
* @see #getBase_Association()
* @generated
*/
void setBase_Association(Association value);
/**
* Returns the value of the '<em><b>Href</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Href</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Href</em>' attribute.
* @see #setHref(String)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getLink_Href()
* @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
* @generated
*/
String getHref();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Link#getHref <em>Href</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Href</em>' attribute.
* @see #getHref()
* @generated
*/
void setHref(String value);
/**
* Returns the value of the '<em><b>Type</b></em>' attribute.
* The default value is <code>"application/json"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Type</em>' attribute.
* @see #setType(String)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getLink_Type()
* @model default="application/json" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getType();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Link#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see #getType()
* @generated
*/
void setType(String value);
/**
* Returns the value of the '<em><b>Rel</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Rel</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Rel</em>' attribute.
* @see #setRel(String)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getLink_Rel()
* @model dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getRel();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Link#getRel <em>Rel</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Rel</em>' attribute.
* @see #getRel()
* @generated
*/
void setRel(String value);
/**
* Returns the value of the '<em><b>Anchor</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Anchor</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Anchor</em>' attribute.
* @see #setAnchor(String)
* @see org.eclipse.papyrus.iotml.wot.WoTPackage#getLink_Anchor()
* @model dataType="org.eclipse.uml2.types.String" required="true" ordered="false"
* @generated
*/
String getAnchor();
/**
* Sets the value of the '{@link org.eclipse.papyrus.iotml.wot.Link#getAnchor <em>Anchor</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Anchor</em>' attribute.
* @see #getAnchor()
* @generated
*/
void setAnchor(String value);
} // Link