blob: 953510875035b025cf9b60f95ec76d92757fd8b2 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2012, 2018 Willink Transformations 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:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.xtext.basecs;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Integer Multiplicity CS</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.ocl.xtext.basecs.MultiplicityBoundsCS#getLowerBound <em>Lower Bound</em>}</li>
* <li>{@link org.eclipse.ocl.xtext.basecs.MultiplicityBoundsCS#getUpperBound <em>Upper Bound</em>}</li>
* </ul>
*
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getMultiplicityBoundsCS()
* @model
* @generated
*/
public interface MultiplicityBoundsCS extends MultiplicityCS
{
/**
* Returns the value of the '<em><b>Lower Bound</b></em>' attribute.
* The default value is <code>"1"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Lower Bound</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Lower Bound</em>' attribute.
* @see #setLowerBound(int)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getMultiplicityBoundsCS_LowerBound()
* @model default="1"
* @generated
*/
int getLowerBound();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.MultiplicityBoundsCS#getLowerBound <em>Lower Bound</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Lower Bound</em>' attribute.
* @see #getLowerBound()
* @generated
*/
void setLowerBound(int value);
/**
* Returns the value of the '<em><b>Upper Bound</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Upper Bound</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Upper Bound</em>' attribute.
* @see #setUpperBound(Integer)
* @see org.eclipse.ocl.xtext.basecs.BaseCSPackage#getMultiplicityBoundsCS_UpperBound()
* @model
* @generated
*/
Integer getUpperBound();
/**
* Sets the value of the '{@link org.eclipse.ocl.xtext.basecs.MultiplicityBoundsCS#getUpperBound <em>Upper Bound</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Upper Bound</em>' attribute.
* @see #getUpperBound()
* @generated
*/
void setUpperBound(Integer value);
} // IntegerMultiplicityCS