edu.cmu.sei.aadl.model.property
Interface RealValue

All Superinterfaces:
AObject, org.eclipse.emf.ecore.EObject, org.eclipse.core.runtime.IAdaptable, org.eclipse.emf.common.notify.Notifier, NumberOrPropertyReference, NumberValue, PropertyValue
All Known Implementing Classes:
RealValueImpl

public interface RealValue
extends NumberValue

A representation of the model object 'Real Value'.

The following features are supported:

See Also:
PropertyPackage.getRealValue()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 double getValue()
          Returns the value of the 'Value' attribute
 void setNewValue(double val)
          sets both the value field and the value string field Unit literal if set is assumed to remain the same.
 void setValue(double value)
          Sets the value of the 'Value' attribute
 
Methods inherited from interface edu.cmu.sei.aadl.model.property.NumberValue
cloneAndInvert, cloneNumber, getNumberAsString, getParsedPropertyReference, getParsedUnitLiteralReference, getScaledValue, getScaledValue, getUnitLiteral, getUnitLiteralName, getValueString, getXValue, setNewValue, setParsedPropertyReference, setParsedUnitLiteral, setParsedUnitLiteralReference, setUnitLiteral, setValueString
 
Methods inherited from interface edu.cmu.sei.aadl.model.property.NumberOrPropertyReference
getNumberValue
 
Methods inherited from interface edu.cmu.sei.aadl.model.property.PropertyValue
evaluate, getValueAsString, instantiate, preEvaluate
 
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getValue

double getValue()
Returns the value of the 'Value' attribute.

If the meaning of the 'Value' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Value' attribute.
See Also:
setValue(double), PropertyPackage.getRealValue_Value()

setValue

void setValue(double value)
Sets the value of the 'Value' attribute. sets value field only. ValueString is not updated.

Parameters:
value - the new value of the 'Value' attribute.
See Also:
getValue()

setNewValue

void setNewValue(double val)
sets both the value field and the value string field Unit literal if set is assumed to remain the same.

Parameters:
val -