Uses of Interface
edu.cmu.sei.aadl.model.property.UnitLiteral

Packages that use UnitLiteral
edu.cmu.sei.aadl.model.pluginsupport   
edu.cmu.sei.aadl.model.properties This package contains interfaces and classes that are used in the lookup of property values. 
edu.cmu.sei.aadl.model.property   
edu.cmu.sei.aadl.model.property.impl   
edu.cmu.sei.aadl.model.property.util   
edu.cmu.sei.osate.ui.actions   
 

Uses of UnitLiteral in edu.cmu.sei.aadl.model.pluginsupport
 

Methods in edu.cmu.sei.aadl.model.pluginsupport that return UnitLiteral
static UnitLiteral OsateResourceManager.findUnitLiteral(java.lang.String unitsTypeName, java.lang.String unitLiteralName)
          Find a predeclared AADL unit literal by name.
static UnitLiteral OsateResourceManager.findUnitLiteral(java.lang.String propertySetName, java.lang.String unitsTypeName, java.lang.String unitLiteralName, AObject context)
          Find an AADL unit literal by name.
 

Uses of UnitLiteral in edu.cmu.sei.aadl.model.properties
 

Methods in edu.cmu.sei.aadl.model.properties that return UnitLiteral
static UnitLiteral PropertyUtils.findUnitLiteral(PropertyDefinition 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
 

Methods in edu.cmu.sei.aadl.model.properties with parameters of type UnitLiteral
static IntegerRangeValue PropertyUtils.createIntegerRangeValue(long min, UnitLiteral minUnits, long max, UnitLiteral maxUnits)
          Creates a PropertyValue for a range of aadlinteger with units.
static IntegerRangeValue 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 IntegerValue PropertyUtils.createIntegerValue(long intValue, UnitLiteral unit)
          Creates a PropertyValue for an aadlinteger with units.
static RealRangeValue PropertyUtils.createRealRangeValue(double min, UnitLiteral minUnits, double max, UnitLiteral maxUnits)
          Creates a PropertyValue for a range of aadlreal with units.
static RealRangeValue 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 RealValue PropertyUtils.createRealValue(double realValue, UnitLiteral unit)
          Creates a PropertyValue for an aadlreal with units.
static double PropertyUtils.getScaledNumberValue(PropertyHolder ph, PropertyDefinition pd, UnitLiteral unit)
          Get a non-modal numeric property value scaled to the given unit.
static double PropertyUtils.getScaledNumberValue(PropertyHolder ph, PropertyDefinition pd, UnitLiteral unit, double defaultVal)
          Get a non-modal numeric property value scaled to the given unit.
static double PropertyUtils.getScaledRangeDelta(PropertyHolder ph, PropertyDefinition pd, UnitLiteral unit)
          Return the delta value of a non-modal range property value scaled to a given unit.
static double PropertyUtils.getScaledRangeDelta(PropertyHolder ph, PropertyDefinition 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(PropertyHolder ph, PropertyDefinition pd, UnitLiteral unit)
          Return the maximum value of a non-modal range property value scaled to a given unit.
static double PropertyUtils.getScaledRangeMaximum(PropertyHolder ph, PropertyDefinition 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(PropertyHolder ph, PropertyDefinition pd, UnitLiteral unit)
          Return the minimum value of a non-modal range property value scaled to a given unit.
static double PropertyUtils.getScaledRangeMinimum(PropertyHolder ph, PropertyDefinition pd, UnitLiteral unit, double defaultVal)
          Return the minimum value of a non-modal range property value scaled to a given unit.
 

Uses of UnitLiteral in edu.cmu.sei.aadl.model.property
 

Methods in edu.cmu.sei.aadl.model.property that return UnitLiteral
 UnitLiteral PropertyFactory.createUnitLiteral()
          Returns a new object of class 'Unit Literal'
 UnitLiteral UnitsType.findUnitLiteral(java.lang.String litName)
          find unit literal with given name
 UnitLiteral UnitLiteral.getBaseunit()
          Returns the value of the 'Baseunit' reference
 UnitLiteral NumberValue.getUnitLiteral()
          Returns the value of the 'Unit Literal' reference
 

Methods in edu.cmu.sei.aadl.model.property with parameters of type UnitLiteral
 void UnitsType.addUnitLiteral(UnitLiteral value)
          Adds to the list the value of the 'Unit Literal' containment reference list
 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 'Baseunit' reference
 void NumberValue.setUnitLiteral(UnitLiteral value)
          Sets the value of the 'Unit Literal' reference
 

Uses of UnitLiteral in edu.cmu.sei.aadl.model.property.impl
 

Classes in edu.cmu.sei.aadl.model.property.impl that implement UnitLiteral
 class UnitLiteralImpl
          An implementation of the model object 'Unit Literal'
 

Fields in edu.cmu.sei.aadl.model.property.impl declared as UnitLiteral
protected  UnitLiteral UnitLiteralImpl.baseunit
          The cached value of the 'Baseunit' reference
protected  UnitLiteral NumberValueImpl.unitLiteral
          The cached value of the 'Unit Literal' reference
 

Methods in edu.cmu.sei.aadl.model.property.impl that return UnitLiteral
 UnitLiteral UnitLiteralImpl.basicGetBaseunit()
           
 UnitLiteral NumberValueImpl.basicGetUnitLiteral()
           
 UnitLiteral PropertyFactoryImpl.createUnitLiteral()
           
 UnitLiteral UnitsTypeImpl.findUnitLiteral(java.lang.String litName)
          find unit literal with given name
 UnitLiteral UnitLiteralImpl.getBaseunit()
           
 UnitLiteral NumberValueImpl.getUnitLiteral()
           
 

Methods in edu.cmu.sei.aadl.model.property.impl with parameters of type UnitLiteral
 void UnitsTypeImpl.addUnitLiteral(UnitLiteral newUnitLiteral)
          phf: add element to multiplicity EList
 double UnitLiteralImpl.getAbsoluteFactor(UnitLiteral target)
          get conversion factor in terms of specified unit
 double NumberValueImpl.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 UnitLiteralImpl.setBaseunit(UnitLiteral newBaseunit)
          phf: we want an add version for EList
 void NumberValueImpl.setUnitLiteral(UnitLiteral newUnitLiteral)
          phf: we want an add version for EList
 

Uses of UnitLiteral in edu.cmu.sei.aadl.model.property.util
 

Methods in edu.cmu.sei.aadl.model.property.util with parameters of type UnitLiteral
 java.lang.Object PropertySwitch.caseUnitLiteral(UnitLiteral object)
          Returns the result of interpretting the object as an instance of 'Unit Literal'
 

Uses of UnitLiteral in edu.cmu.sei.osate.ui.actions
 

Methods in edu.cmu.sei.osate.ui.actions that return UnitLiteral
protected  UnitLiteral AbstractAaxlAction.lookupUnitLiteral(java.lang.String unitType, java.lang.String literalName)
          Lookup a particular unit literal from a predeclared property type, updating the error list if it or its declaring unit type is not found.
protected  UnitLiteral AbstractAaxlAction.lookupUnitLiteral(java.lang.String ps, java.lang.String unitType, java.lang.String literalName)
          Lookup a particular unit literal, updating the error list if it or its declaring unit type is not found.