/**
* Copyright (c) 2017 CEA LIST.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
*/
package org.eclipse.papyrus.infra.emf.expressions.booleanexpressions;
import org.eclipse.emf.ecore.EAttribute;
/**
*
* A representation of the model object 'Single EAttribute Value Equality Expression'.
*
*
*
* This expression allows to check if the eAttribute value is equals to the expected one.
* This expression returns false in all cases, expected when the expectedValue is equals to the current value.
*
*
*
* The following features are supported:
*
*
* - {@link org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.SingleEAttributeValueEqualityExpression#getEAttribute EAttribute}
* - {@link org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.SingleEAttributeValueEqualityExpression#getExpectedValue Expected Value}
*
*
* @see org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.BooleanExpressionsPackage#getSingleEAttributeValueEqualityExpression()
* @model
* @generated
*/
public interface SingleEAttributeValueEqualityExpression extends IBooleanEObjectExpression {
/**
* Returns the value of the 'EAttribute' reference.
*
*
*
* The eAttribute to check.
*
* @return the value of the 'EAttribute' reference.
* @see #setEAttribute(EAttribute)
* @see org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.BooleanExpressionsPackage#getSingleEAttributeValueEqualityExpression_EAttribute()
* @model ordered="false"
* @generated
*/
EAttribute getEAttribute();
/**
* Sets the value of the '{@link org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.SingleEAttributeValueEqualityExpression#getEAttribute EAttribute}' reference.
*
*
* @param value the new value of the 'EAttribute' reference.
* @see #getEAttribute()
* @generated
*/
void setEAttribute(EAttribute value);
/**
* Returns the value of the 'Expected Value' attribute.
*
*
*
* The expected value for the EAttribute.
*
* @return the value of the 'Expected Value' attribute.
* @see #setExpectedValue(String)
* @see org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.BooleanExpressionsPackage#getSingleEAttributeValueEqualityExpression_ExpectedValue()
* @model ordered="false"
* @generated
*/
String getExpectedValue();
/**
* Sets the value of the '{@link org.eclipse.papyrus.infra.emf.expressions.booleanexpressions.SingleEAttributeValueEqualityExpression#getExpectedValue Expected Value}' attribute.
*
*
* @param value the new value of the 'Expected Value' attribute.
* @see #getExpectedValue()
* @generated
*/
void setExpectedValue(String value);
} // SingleEAttributeValueEqualityExpression