|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use UnitLiteral | |
---|---|
edu.cmu.sei.aadl.aadl2 | |
edu.cmu.sei.aadl.aadl2.impl | |
edu.cmu.sei.aadl.aadl2.util | |
edu.cmu.sei.aadl.modelsupport.properties |
Uses of UnitLiteral in edu.cmu.sei.aadl.aadl2 |
---|
Methods in edu.cmu.sei.aadl.aadl2 that return UnitLiteral | |
---|---|
UnitLiteral |
Aadl2Factory.createUnitLiteral()
Returns a new object of class 'Unit Literal' |
UnitLiteral |
UnitsType.findLiteral(java.lang.String literalName)
|
UnitLiteral |
UnitLiteral.getBaseUnit()
Returns the value of the 'Base Unit' reference. |
UnitLiteral |
UnitValue.getLiteral()
Returns the value of the 'Literal' reference |
UnitLiteral |
NumberValue.getUnit()
Returns the value of the 'Unit' reference |
Methods in edu.cmu.sei.aadl.aadl2 with parameters of type UnitLiteral | |
---|---|
double |
UnitLiteral.getAbsoluteFactor(UnitLiteral target)
get conversion factor in terms of specified unit |
double |
NumberValue.getScaledValue(UnitLiteral target)
Get the scaled value of the number, this is the number's value multiplied by the number's unit's scaling factor for the specified unit. |
void |
UnitLiteral.setBaseUnit(UnitLiteral value)
Sets the value of the ' Base Unit ' reference |
void |
UnitValue.setLiteral(UnitLiteral value)
Sets the value of the ' Literal ' reference |
void |
NumberValue.setUnit(UnitLiteral value)
Sets the value of the ' Unit ' reference |
Uses of UnitLiteral in edu.cmu.sei.aadl.aadl2.impl |
---|
Classes in edu.cmu.sei.aadl.aadl2.impl that implement UnitLiteral | |
---|---|
class |
UnitLiteralImpl
An implementation of the model object ' Unit Literal'. |
Fields in edu.cmu.sei.aadl.aadl2.impl declared as UnitLiteral | |
---|---|
protected UnitLiteral |
UnitLiteralImpl.baseUnit
The cached value of the ' Base Unit ' reference |
protected UnitLiteral |
UnitValueImpl.literal
The cached value of the ' Literal ' reference |
protected UnitLiteral |
NumberValueImpl.unit
The cached value of the ' Unit ' reference |
Methods in edu.cmu.sei.aadl.aadl2.impl that return UnitLiteral | |
---|---|
UnitLiteral |
UnitLiteralImpl.basicGetBaseUnit()
|
UnitLiteral |
UnitValueImpl.basicGetLiteral()
|
UnitLiteral |
NumberValueImpl.basicGetUnit()
|
UnitLiteral |
Aadl2FactoryImpl.createUnitLiteral()
|
UnitLiteral |
UnitsTypeImpl.findLiteral(java.lang.String literalName)
|
UnitLiteral |
UnitLiteralImpl.getBaseUnit()
|
UnitLiteral |
UnitValueImpl.getLiteral()
|
UnitLiteral |
NumberValueImpl.getUnit()
|
Methods in edu.cmu.sei.aadl.aadl2.impl with parameters of type UnitLiteral | |
---|---|
double |
UnitLiteralImpl.getAbsoluteFactor(UnitLiteral target)
|
double |
RealLiteralImpl.getScaledValue(UnitLiteral target)
|
double |
IntegerLiteralImpl.getScaledValue(UnitLiteral target)
|
void |
UnitLiteralImpl.setBaseUnit(UnitLiteral newBaseUnit)
|
void |
UnitValueImpl.setLiteral(UnitLiteral newLiteral)
|
void |
NumberValueImpl.setUnit(UnitLiteral newUnit)
|
Uses of UnitLiteral in edu.cmu.sei.aadl.aadl2.util |
---|
Methods in edu.cmu.sei.aadl.aadl2.util with parameters of type UnitLiteral | |
---|---|
T |
Aadl2Switch.caseUnitLiteral(UnitLiteral object)
Returns the result of interpreting the object as an instance of 'Unit Literal' |
boolean |
Aadl2Validator.validateUnitLiteral(UnitLiteral unitLiteral,
org.eclipse.emf.common.util.DiagnosticChain diagnostics,
java.util.Map<java.lang.Object,java.lang.Object> context)
|
Uses of UnitLiteral in edu.cmu.sei.aadl.modelsupport.properties |
---|
Methods in edu.cmu.sei.aadl.modelsupport.properties that return UnitLiteral | |
---|---|
static UnitLiteral |
PropertyUtils.findUnitLiteral(Property pd,
java.lang.String literalname)
Retrieve the unit literal given a unit string for a property It is useful when calling getScaledValue methods that require the literal as object |
static UnitLiteral |
GetProperties.getBytesUnitLiteral()
|
static UnitLiteral |
GetProperties.getGBUnitLiteral()
|
static UnitLiteral |
GetProperties.getKbpsUnitLiteral()
|
static UnitLiteral |
GetProperties.getKBUnitLiteral()
|
static UnitLiteral |
GetProperties.getMBUnitLiteral()
|
static UnitLiteral |
GetProperties.getMicroSecondUnit()
|
static UnitLiteral |
GetProperties.getMilliSecondUnit()
|
static UnitLiteral |
GetProperties.getMIPSUnitLiteral()
|
static UnitLiteral |
GetProperties.getMSUnitLiteral()
|
static UnitLiteral |
GetProperties.getSecondUnit()
|
static UnitLiteral |
GetProperties.lookupUnitLiteral(java.lang.String ps,
java.lang.String unitType,
java.lang.String literalName)
|
static UnitLiteral |
GetProperties.scaleupUnit(double origvalue,
UnitLiteral original)
Determines the target unit from the original unit to scale the value to a higher unit The goal is |
Methods in edu.cmu.sei.aadl.modelsupport.properties with parameters of type UnitLiteral | |
---|---|
static double |
GetProperties.convertToScale(double origvalue,
UnitLiteral original,
UnitLiteral target)
Converts the value from the original unit to the target unit |
static RangeValue |
PropertyUtils.createIntegerRangeValue(long min,
UnitLiteral minUnits,
long max,
UnitLiteral maxUnits)
Creates a PropertyValue for a range of aadlinteger with units. |
static RangeValue |
PropertyUtils.createIntegerRangeValue(long min,
UnitLiteral minUnits,
long max,
UnitLiteral maxUnits,
long delta,
UnitLiteral deltaUnits)
Creates a PropertyValue for a range of aadlinteger with units. |
static IntegerLiteral |
PropertyUtils.createIntegerValue(long intValue,
UnitLiteral unit)
Creates a PropertyValue for an aadlinteger with units. |
static RangeValue |
PropertyUtils.createRealRangeValue(double min,
UnitLiteral minUnits,
double max,
UnitLiteral maxUnits)
Creates a PropertyValue for a range of aadlreal with units. |
static RangeValue |
PropertyUtils.createRealRangeValue(double min,
UnitLiteral minUnits,
double max,
UnitLiteral maxUnits,
double delta,
UnitLiteral deltaUnits)
Creates a PropertyValue for a range of aadlreal with units. |
static RealLiteral |
PropertyUtils.createRealValue(double realValue,
UnitLiteral unit)
Creates a PropertyValue for an aadlreal with units. |
static double |
PropertyUtils.getScaledNumberValue(NamedElement ph,
Property pd,
UnitLiteral unit)
Get a non-modal numeric property value scaled to the given unit. |
static double |
PropertyUtils.getScaledNumberValue(NamedElement ph,
Property pd,
UnitLiteral unit,
double defaultVal)
Get a non-modal numeric property value scaled to the given unit. |
static double |
PropertyUtils.getScaledRangeDelta(NamedElement ph,
Property pd,
UnitLiteral unit)
Return the delta value of a non-modal range property value scaled to a given unit. |
static double |
PropertyUtils.getScaledRangeDelta(NamedElement ph,
Property pd,
UnitLiteral unit,
double defaultVal)
Return the delta value of a non-modal range property value scaled to a given unit. |
static double |
PropertyUtils.getScaledRangeMaximum(NamedElement ph,
Property pd,
UnitLiteral unit)
Return the maximum value of a non-modal range property value scaled to a given unit. |
static double |
PropertyUtils.getScaledRangeMaximum(NamedElement ne,
Property pd,
UnitLiteral unit,
double defaultVal)
Return the maximum value of a non-modal range property value scaled to a given unit. |
static double |
PropertyUtils.getScaledRangeMinimum(NamedElement ph,
Property pd,
UnitLiteral unit)
Return the minimum value of a non-modal range property value scaled to a given unit. |
static double |
PropertyUtils.getScaledRangeMinimum(NamedElement ph,
Property pd,
UnitLiteral unit,
double defaultVal)
Return the minimum value of a non-modal range property value scaled to a given unit. |
static UnitLiteral |
GetProperties.scaleupUnit(double origvalue,
UnitLiteral original)
Determines the target unit from the original unit to scale the value to a higher unit The goal is |
static java.lang.String |
GetProperties.toStringScaled(double value,
UnitLiteral unit)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |