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

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:
IntegerValueImpl

public interface IntegerValue
extends NumberValue

A representation of the model object 'Integer Value'.

The following features are supported:

See Also:
PropertyPackage.getIntegerValue()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 int getBase()
          Returns the value of the 'Base' attribute
 long getValue()
          Returns the value of the 'Value' attribute
 void setBase(int value)
          Sets the value of the 'Base' attribute
 void setNewValue(long val)
          sets both the value field and the value string field Base is assumed to be ten.
 void setNewValue(long val, int base)
          sets both the value field and the value string field Base is assumed to be ten.
 void setValue(long 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

long 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(long), PropertyPackage.getIntegerValue_Value()

setValue

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

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

getBase

int getBase()
Returns the value of the 'Base' attribute.

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

Returns:
the value of the 'Base' attribute.
See Also:
setBase(int), PropertyPackage.getIntegerValue_Base()

setBase

void setBase(int value)
Sets the value of the 'Base' attribute.

Parameters:
value - the new value of the 'Base' attribute.
See Also:
getBase()

setNewValue

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

Parameters:
val -

setNewValue

void setNewValue(long val,
                 int base)
sets both the value field and the value string field Base is assumed to be ten. Unit literal if set is assumed to remain the same.

Parameters:
val -
base -