All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.ocl.expressions.IterateExp Maven / Gradle / Ivy

/*******************************************************************************
 * Copyright (c) 2006, 2009 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 v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.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;

/**
 * 
 * A representation of the model object 'Iterate Exp'.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.ocl.expressions.IterateExp#getResult Result}
  • *
*

* * @see org.eclipse.ocl.expressions.ExpressionsPackage#getIterateExp() * @model * @generated */ public interface IterateExp extends LoopExp { /** * Returns the value of the 'Result' containment reference. * *

* If the meaning of the 'Result' containment reference isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Result' containment reference. * @see #setResult(Variable) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getIterateExp_Result() * @model containment="true" * @generated */ Variable getResult(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.IterateExp#getResult Result}' containment reference. * * * @param value the new value of the 'Result' containment reference. * @see #getResult() * @generated */ void setResult(Variable value); /** * * * * type = result.type * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean checkIterateType(DiagnosticChain diagnostics, Map context); /** * * * * body.type.conformsTo(result.type) * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean checkBodyType(DiagnosticChain diagnostics, Map context); /** * * * * self.result.initExpression->size() = 1 * @param diagnostics The chain of diagnostics to which problems are to be appended. * @param context The cache of context-specific information. * * @model * @generated */ boolean checkResultInit(DiagnosticChain diagnostics, Map context); } // IterateExp




© 2015 - 2024 Weber Informatics LLC | Privacy Policy