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

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

/**
 * 
 * 
 * Copyright (c) 2006, 2008 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
 * 
 * 
 *
 * $Id: CollectionRange.java,v 1.8 2009/12/22 18:53:30 ewillink Exp $
 */
package org.eclipse.ocl.expressions;

import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;

/**
 * 
 * A representation of the model object 'Collection Range'.
 * 
 *
 * 

* The following features are supported: *

    *
  • {@link org.eclipse.ocl.expressions.CollectionRange#getFirst First}
  • *
  • {@link org.eclipse.ocl.expressions.CollectionRange#getLast Last}
  • *
*

* * @see org.eclipse.ocl.expressions.ExpressionsPackage#getCollectionRange() * @model * @generated */ public interface CollectionRange extends CollectionLiteralPart { /** * Returns the value of the 'First' containment reference. * *

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

* * @return the value of the 'First' containment reference. * @see #setFirst(OCLExpression) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getCollectionRange_First() * @model containment="true" required="true" * @generated */ OCLExpression getFirst(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.CollectionRange#getFirst First}' containment reference. * * * @param value the new value of the 'First' containment reference. * @see #getFirst() * @generated */ void setFirst(OCLExpression value); /** * Returns the value of the 'Last' containment reference. * *

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

* * @return the value of the 'Last' containment reference. * @see #setLast(OCLExpression) * @see org.eclipse.ocl.expressions.ExpressionsPackage#getCollectionRange_Last() * @model containment="true" required="true" * @generated */ OCLExpression getLast(); /** * Sets the value of the '{@link org.eclipse.ocl.expressions.CollectionRange#getLast Last}' containment reference. * * * @param value the new value of the 'Last' containment reference. * @see #getLast() * @generated */ void setLast(OCLExpression value); /** * * * * type = first.type.commonSuperType(last.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 checkRangeType(DiagnosticChain diagnostics, Map context); } // CollectionRange




© 2015 - 2024 Weber Informatics LLC | Privacy Policy