blob: a75357e010c797cc6312b079ffc967ee85f1e414 [file] [log] [blame]
package org.eclipse.stem.core.common;
/*******************************************************************************
* Copyright (c) 2010 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
*******************************************************************************/
import org.eclipse.stem.core.modifier.Modifiable;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Double Value</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.stem.core.common.DoubleValue#getIdentifier <em>Identifier</em>}</li>
* <li>{@link org.eclipse.stem.core.common.DoubleValue#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.stem.core.common.CommonPackage#getDoubleValue()
* @model
* @generated
*/
public interface DoubleValue extends Modifiable {
/**
* Returns the value of the '<em><b>Identifier</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Identifier</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Identifier</em>' attribute.
* @see #setIdentifier(String)
* @see org.eclipse.stem.core.common.CommonPackage#getDoubleValue_Identifier()
* @model
* @generated
*/
String getIdentifier();
/**
* Sets the value of the '{@link org.eclipse.stem.core.common.DoubleValue#getIdentifier <em>Identifier</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Identifier</em>' attribute.
* @see #getIdentifier()
* @generated
*/
void setIdentifier(String value);
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* The default value is <code>"0.0"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(double)
* @see org.eclipse.stem.core.common.CommonPackage#getDoubleValue_Value()
* @model default="0.0"
* @generated
*/
double getValue();
/**
* Sets the value of the '{@link org.eclipse.stem.core.common.DoubleValue#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(double value);
} // DoubleValue