org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp 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: UnlimitedNaturalLiteralExp.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 'Unlimited Natural Literal Exp'.
*
*
*
* The following features are supported:
*
* - {@link org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp#getIntegerSymbol Integer Symbol}
* - {@link org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp#isUnlimited Unlimited}
*
*
*
* @see org.eclipse.ocl.expressions.ExpressionsPackage#getUnlimitedNaturalLiteralExp()
* @model
* @generated
*/
public interface UnlimitedNaturalLiteralExp
extends NumericLiteralExp {
/** Java value denoting the OCL unlimited value. */
int UNLIMITED = -1;
/**
* Returns the value of the 'Integer Symbol' attribute.
*
*
* If the meaning of the 'Integer Symbol' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Integer Symbol' attribute.
* @see #setIntegerSymbol(Integer)
* @see org.eclipse.ocl.expressions.ExpressionsPackage#getUnlimitedNaturalLiteralExp_IntegerSymbol()
* @model
* @generated
*/
Integer getIntegerSymbol();
/**
* Sets the value of the '{@link org.eclipse.ocl.expressions.UnlimitedNaturalLiteralExp#getIntegerSymbol Integer Symbol}' attribute.
*
*
* @param value the new value of the 'Integer Symbol' attribute.
* @see #getIntegerSymbol()
* @generated
*/
void setIntegerSymbol(Integer value);
/**
* Returns the value of the 'Unlimited' attribute.
*
*
* If the meaning of the 'Unlimited' attribute isn't clear,
* there really should be more of a description here...
*
*
* @return the value of the 'Unlimited' attribute.
* @see org.eclipse.ocl.expressions.ExpressionsPackage#getUnlimitedNaturalLiteralExp_Unlimited()
* @model required="true" transient="true" changeable="false" volatile="true" derived="true"
* @generated
*/
boolean isUnlimited();
/**
*
*
*
* self.type.name = 'UnlimitedNatural'
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
*
* @model
* @generated
*/
boolean checkNaturalType(DiagnosticChain diagnostics,
Map