blob: 81c67464f947069d3e4c55a00c11be140bb2b448 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2018 IBM Corporation, Zeligsoft Inc., and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - Initial API and implementation
* Zeligsoft - Bug 207365
*******************************************************************************/
package org.eclipse.ocl.expressions;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Real Literal Exp</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.expressions.RealLiteralExp#getRealSymbol <em>Real Symbol</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.expressions.ExpressionsPackage#getRealLiteralExp()
* @model
* @generated
*/
public interface RealLiteralExp<C>
extends NumericLiteralExp<C> {
/**
* Returns the value of the '<em><b>Real Symbol</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Real Symbol</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Real Symbol</em>' attribute.
* @see #setRealSymbol(Double)
* @see org.eclipse.ocl.expressions.ExpressionsPackage#getRealLiteralExp_RealSymbol()
* @model
* @generated
*/
Double getRealSymbol();
/**
* Sets the value of the '{@link org.eclipse.ocl.expressions.RealLiteralExp#getRealSymbol <em>Real Symbol</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Real Symbol</em>' attribute.
* @see #getRealSymbol()
* @generated
*/
void setRealSymbol(Double value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* self.type.name = 'Real'
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean checkRealType(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // RealLiteralExp