blob: 11d9cd929a7a1e41ef111d7dba2c49b085905bf4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2019 Xored Software Inc and others.
* 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
* https://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Xored Software Inc - initial API and implementation and/or initial documentation
*******************************************************************************/
package org.eclipse.rcptt.tesla.core.protocol;
import org.eclipse.rcptt.tesla.core.protocol.raw.Command;
import org.eclipse.rcptt.tesla.core.protocol.raw.Element;
import org.eclipse.emf.ecore.EClassifier;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Assert</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getElement <em>Element</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getAttribute <em>Attribute</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getValue <em>Value</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getKind <em>Kind</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getIndex <em>Index</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getCategory <em>Category</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getValueType <em>Value Type</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getImageData <em>Image Data</em>}</li>
* <li>{@link org.eclipse.rcptt.tesla.core.protocol.Assert#isShowIndex <em>Show Index</em>}</li>
* </ul>
*
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert()
* @model
* @generated
*/
public interface Assert extends Command {
/**
* Returns the value of the '<em><b>Element</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Element</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Element</em>' containment reference.
* @see #setElement(Element)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_Element()
* @model containment="true"
* @generated
*/
Element getElement();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getElement <em>Element</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Element</em>' containment reference.
* @see #getElement()
* @generated
*/
void setElement(Element value);
/**
* Returns the value of the '<em><b>Attribute</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Attribute</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Attribute</em>' attribute.
* @see #setAttribute(String)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_Attribute()
* @model
* @generated
*/
String getAttribute();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getAttribute <em>Attribute</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Attribute</em>' attribute.
* @see #getAttribute()
* @generated
*/
void setAttribute(String value);
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(String)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_Value()
* @model
* @generated
*/
String getValue();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(String value);
/**
* Returns the value of the '<em><b>Kind</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.rcptt.tesla.core.protocol.AssertKind}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Kind</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Kind</em>' attribute.
* @see org.eclipse.rcptt.tesla.core.protocol.AssertKind
* @see #setKind(AssertKind)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_Kind()
* @model
* @generated
*/
AssertKind getKind();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getKind <em>Kind</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Kind</em>' attribute.
* @see org.eclipse.rcptt.tesla.core.protocol.AssertKind
* @see #getKind()
* @generated
*/
void setKind(AssertKind value);
/**
* Returns the value of the '<em><b>Index</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Index</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Index</em>' attribute.
* @see #setIndex(Integer)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_Index()
* @model
* @generated
*/
Integer getIndex();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getIndex <em>Index</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Index</em>' attribute.
* @see #getIndex()
* @generated
*/
void setIndex(Integer value);
/**
* Returns the value of the '<em><b>Category</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Category</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Category</em>' attribute.
* @see #setCategory(String)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_Category()
* @model
* @generated
*/
String getCategory();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getCategory <em>Category</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Category</em>' attribute.
* @see #getCategory()
* @generated
*/
void setCategory(String value);
/**
* Returns the value of the '<em><b>Value Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value Type</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value Type</em>' reference.
* @see #setValueType(EClassifier)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_ValueType()
* @model
* @generated
*/
EClassifier getValueType();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getValueType <em>Value Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value Type</em>' reference.
* @see #getValueType()
* @generated
*/
void setValueType(EClassifier value);
/**
* Returns the value of the '<em><b>Image Data</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Image Data</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Image Data</em>' containment reference.
* @see #setImageData(AssertImageData)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_ImageData()
* @model containment="true"
* @generated
*/
AssertImageData getImageData();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#getImageData <em>Image Data</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Image Data</em>' containment reference.
* @see #getImageData()
* @generated
*/
void setImageData(AssertImageData value);
/**
* Returns the value of the '<em><b>Show Index</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Show Index</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Show Index</em>' attribute.
* @see #setShowIndex(boolean)
* @see org.eclipse.rcptt.tesla.core.protocol.ProtocolPackage#getAssert_ShowIndex()
* @model default="false"
* @generated
*/
boolean isShowIndex();
/**
* Sets the value of the '{@link org.eclipse.rcptt.tesla.core.protocol.Assert#isShowIndex <em>Show Index</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Show Index</em>' attribute.
* @see #isShowIndex()
* @generated
*/
void setShowIndex(boolean value);
} // Assert