blob: ba46c1883b97618543cacc255046777664e7d951 [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package bpsim;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Numeric Parameter Type</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link bpsim.NumericParameterType#getCurrencyUnit <em>Currency Unit</em>}</li>
* <li>{@link bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}</li>
* <li>{@link bpsim.NumericParameterType#getValue <em>Value</em>}</li>
* </ul>
*
* @see bpsim.BpsimPackage#getNumericParameterType()
* @model extendedMetaData="name='NumericParameter_._type' kind='empty'"
* @generated
*/
public interface NumericParameterType extends ConstantParameter {
/**
* Returns the value of the '<em><b>Currency Unit</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Currency Unit</em>' attribute.
* @see #setCurrencyUnit(String)
* @see bpsim.BpsimPackage#getNumericParameterType_CurrencyUnit()
* @model dataType="org.eclipse.emf.ecore.xml.type.String"
* extendedMetaData="kind='attribute' name='currencyUnit'"
* @generated
*/
String getCurrencyUnit();
/**
* Sets the value of the '{@link bpsim.NumericParameterType#getCurrencyUnit <em>Currency Unit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Currency Unit</em>' attribute.
* @see #getCurrencyUnit()
* @generated
*/
void setCurrencyUnit(String value);
/**
* Returns the value of the '<em><b>Time Unit</b></em>' attribute.
* The literals are from the enumeration {@link bpsim.TimeUnit}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Time Unit</em>' attribute.
* @see bpsim.TimeUnit
* @see #isSetTimeUnit()
* @see #unsetTimeUnit()
* @see #setTimeUnit(TimeUnit)
* @see bpsim.BpsimPackage#getNumericParameterType_TimeUnit()
* @model unsettable="true"
* extendedMetaData="kind='attribute' name='timeUnit'"
* @generated
*/
TimeUnit getTimeUnit();
/**
* Sets the value of the '{@link bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Time Unit</em>' attribute.
* @see bpsim.TimeUnit
* @see #isSetTimeUnit()
* @see #unsetTimeUnit()
* @see #getTimeUnit()
* @generated
*/
void setTimeUnit(TimeUnit value);
/**
* Unsets the value of the '{@link bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetTimeUnit()
* @see #getTimeUnit()
* @see #setTimeUnit(TimeUnit)
* @generated
*/
void unsetTimeUnit();
/**
* Returns whether the value of the '{@link bpsim.NumericParameterType#getTimeUnit <em>Time Unit</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Time Unit</em>' attribute is set.
* @see #unsetTimeUnit()
* @see #getTimeUnit()
* @see #setTimeUnit(TimeUnit)
* @generated
*/
boolean isSetTimeUnit();
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #isSetValue()
* @see #unsetValue()
* @see #setValue(long)
* @see bpsim.BpsimPackage#getNumericParameterType_Value()
* @model unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.Long"
* extendedMetaData="kind='attribute' name='value'"
* @generated
*/
long getValue();
/**
* Sets the value of the '{@link bpsim.NumericParameterType#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #isSetValue()
* @see #unsetValue()
* @see #getValue()
* @generated
*/
void setValue(long value);
/**
* Unsets the value of the '{@link bpsim.NumericParameterType#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetValue()
* @see #getValue()
* @see #setValue(long)
* @generated
*/
void unsetValue();
/**
* Returns whether the value of the '{@link bpsim.NumericParameterType#getValue <em>Value</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Value</em>' attribute is set.
* @see #unsetValue()
* @see #getValue()
* @see #setValue(long)
* @generated
*/
boolean isSetValue();
} // NumericParameterType