blob: 22e26aebab23fb1fe87fb90aee20534ec78dc48a [file] [log] [blame]
// IntegerRangeModifier.java
package org.eclipse.stem.core.modifier;
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation 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 Corporation - initial API and implementation
*******************************************************************************/
/**
* A <code>IntegerRangeModifier</code> modifies an integer valued feature from
* a starting value to and end value (inclusive> by increments.
*
* @model
*/
public interface IntegerRangeModifier extends RangeModifier {
/**
* @model
*/
int getOriginalValue();
/**
* Sets the value of the '{@link org.eclipse.stem.core.modifier.IntegerRangeModifier#getOriginalValue <em>Original Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Original Value</em>' attribute.
* @see #getOriginalValue()
* @generated
*/
void setOriginalValue(int value);
/**
* @model default="-99999999"
*/
int getStartValue();
/**
* Sets the value of the '{@link org.eclipse.stem.core.modifier.IntegerRangeModifier#getStartValue <em>Start Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Start Value</em>' attribute.
* @see #getStartValue()
* @generated
*/
void setStartValue(int value);
/**
* @model default="-99999999"
*/
int getEndValue();
/**
* Sets the value of the '{@link org.eclipse.stem.core.modifier.IntegerRangeModifier#getEndValue <em>End Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>End Value</em>' attribute.
* @see #getEndValue()
* @generated
*/
void setEndValue(int value);
/**
* @model default="-99999999"
*/
int getIncrement();
/**
* Sets the value of the '{@link org.eclipse.stem.core.modifier.IntegerRangeModifier#getIncrement <em>Increment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Increment</em>' attribute.
* @see #getIncrement()
* @generated
*/
void setIncrement(int value);
/**
* @return the next value of the feature
* @model default="-99999999" changeable="true"
*/
int getNextValue();
/**
* Sets the value of the '{@link org.eclipse.stem.core.modifier.IntegerRangeModifier#getNextValue <em>Next Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Next Value</em>' attribute.
* @see #getNextValue()
* @generated
*/
void setNextValue(int value);
} // IntegerRangeModifier