Uses of Class
wt.units.UnitFormatException

Packages that use UnitFormatException
com.ptc.core.command.common
Describes the interfaces and relationships of the core infrastructure of commands (i.e., the Command Subsystem) to include: command beans, command delegates, and utilities.

There are many types of consumers that command a Windchill system (i.e., method server) to perform tasks, or request information from it. 

com.ptc.core.meta.common  
com.ptc.windchill.cadx.editattrs   
com.ptc.windchill.uwgm.cadx.multieditattr   
wt.iba.definition   
wt.units   
wt.units.dbService   
wt.units.display   
wt.units.service   
 

Uses of UnitFormatException in com.ptc.core.command.common
 

Methods in com.ptc.core.command.common that throw UnitFormatException
static FloatingPointWithUnits CommandUtility.getFloatingPointWithUnits(Object ob)
          Converts an Object into a FloatingPointWithUnits
 

Uses of UnitFormatException in com.ptc.core.meta.common
 

Methods in com.ptc.core.meta.common that throw UnitFormatException
static FloatingPointWithUnits DataTypesUtility.toFloatingPointWithUnits(String value, Locale locale)
          

Supported API: true
static String DataTypesUtility.toString(FloatingPointWithUnits value, String unitsString, Locale locale)
          

Supported API: true
static String DataTypesUtility.toString(FloatingPointWithUnits value, String unitsString, int displayPrecision, Locale locale)
          

Supported API: true
static String DataTypesUtility.getValue(FloatingPointWithUnits value, String unitsString, Locale locale)
          

Supported API: true
static String DataTypesUtility.getValue(FloatingPointWithUnits value, String unitsString, int displayPrecision, Locale locale)
          

Supported API: true
static String DataTypesUtility.toString(DataSet dataSet, String unitsString, Locale locale)
           
static String DataTypesUtility.toString(DataSet dataSet, String unitsString, Integer displayPrecision, Locale locale)
           
private static String DataTypesUtility._toString(Object value, String unitsString, Integer displayPrecision, Locale locale)
           
 

Uses of UnitFormatException in com.ptc.windchill.cadx.editattrs
 

Methods in com.ptc.windchill.cadx.editattrs that throw UnitFormatException
static Double EditAttributesFormTaskDelegate.getDefaultUnitValue(AbstractValueView attributeValueView, Double displayValue)
           
 

Uses of UnitFormatException in com.ptc.windchill.uwgm.cadx.multieditattr
 

Methods in com.ptc.windchill.uwgm.cadx.multieditattr that throw UnitFormatException
static Double MultiEditAttrFormTaskDelegate.getDefaultUnitValue(AbstractValueView attributeValueView, Double displayValue)
           
 

Uses of UnitFormatException in wt.iba.definition
 

Methods in wt.iba.definition that throw UnitFormatException
 void UnitDefinition.setDisplayUnit(DisplayUnitsContext context, AbstractUnitDisplayInfo displayUnit)
          

Supported API: false
 

Uses of UnitFormatException in wt.units
 

Methods in wt.units that throw UnitFormatException
protected  void Unit.setUnits(String a_Units)
          Sets the value of the attribute: units; A derived attribute that generates String based accessors to the units.
 double Unit.convert(String unitString)
          Returns a double representing the value of this Unit when converted to the units represented by the specified units string.
 String Unit.convertToString(String unitString, int displayDigits)
          Returns a string representing the value of this Unit when converted to the units represented by the specified units string, with the specified number of digits.
 Unit Unit.factor(String unitString)
          Returns a Unit representing the result of factoring this Unit by the units represented by the specified units string.
 boolean Unit.compatible(String unitString)
          Returns true if the units represented by the specified units string are compatible with those of this Unit.
 String Unit.toString(Hashtable symbolMap, int displayDigits)
          Return a string equivalent to getValueString(symbolMap,displayDigits) + " " + getUnits(symbolMap,displayDigits).
 String Unit.getValueString(Hashtable symbolMap, int displayDigits)
          Returns a string representation of the value of this Unit with the specified number of digits, after conversion to units represented by the base symbols corresponding to the specified symbol map.
 String Unit.getUnits(Hashtable symbolMap)
          Returns a string representation of the units of this Unit, composed of the base symbols corresponding to the specified symbol map.
private  String Unit.toString(String[] systemSymbols, int displayDigits)
          Return a string equivalent to getValueString(systemSymbols,displayDigits) + " " + getUnits(systemSymbols,displayDigits).
private  String Unit.getValueString(String[] systemSymbols, int displayDigits)
          Returns a string representation of the value of this Unit with the specified number of digits, after conversion to units represented by the specified base symbols.
private  String Unit.getUnits(String[] systemSymbols)
          Returns a string representation of the units of this Unit, composed of the specified base symbols.
private  String[] Unit.getSystemSymbols(Hashtable symbolMap)
          Returns the set of base symbols that corresponds to the specified symbol map.
private  Unit Unit.parseUnit(char[] unitChars, int startIndex, int endIndex)
          Returns a Unit corresponding to the results of parsing the specified character array from the specified start index to the specified end index.
static FloatingPointWithUnits FloatingPointWithUnits.valueOf(String value)
          Returns a new FloatingPointWithUnits object initialized to the value of the specified String.
 

Constructors in wt.units that throw UnitFormatException
Unit(String valueString, int sigFigs, String unitString)
          

Supported API: false
Unit(String valueString, String unitString)
          

Supported API: false
Unit(double valueDouble, int sigFigs, String unitString)
          

Supported API: false
Unit(double valueDouble, String unitString)
          

Supported API: false
 

Uses of UnitFormatException in wt.units.dbService
 

Methods in wt.units.dbService that throw UnitFormatException
 MeasurementSystem UnitDBService.createMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Creates a new Measurement System.
 QuantityOfMeasure UnitDBService.createQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Creates the QuantityOfMeasure object given its LiteQuantityOfMeasure object.
 void UnitDBService.deleteQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Deletes the QuantityOfMeasure object given its name.
 void UnitDBService.deleteMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Deletes this measurement system given its name.
 MeasurementSystem UnitDBService.updateMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Updates a Measurement System.
 QuantityOfMeasure UnitDBService.updateQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Update the QuantityOfMeasure object in data store given its LiteQuantityOfMeasurement object.
 

Uses of UnitFormatException in wt.units.display
 

Methods in wt.units.display that throw UnitFormatException
 void QuantityOfMeasure.setDisplayUnit(DisplayUnitsContext context, AbstractUnitDisplayInfo displayUnit)
          

Supported API: false
 void MeasurementSystem.setBaseSymbol(String baseUnitString, String baseSymbol)
          

Supported API: false
 void DisplayUnitsHolder.setDisplayUnit(DisplayUnitsContext context, AbstractUnitDisplayInfo displayUnit)
          

Supported API: false
 String DefaultUnitRenderer.renderValue(Unit unit, DefaultUnitDisplayInfo displayInfo)
          

Supported API: false
 String DefaultUnitRenderer.renderUnit(Unit unit, DefaultUnitDisplayInfo displayInfo)
          

Supported API: false
 String DefaultUnitRenderer.render(Unit unit, DefaultUnitDisplayInfo displayInfo)
          

Supported API: false
 

Uses of UnitFormatException in wt.units.service
 

Methods in wt.units.service that throw UnitFormatException
 MeasurementSystemDefaultView UnitsServiceFwd.createMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Creates a new Measurement System.
 QuantityOfMeasureDefaultView UnitsServiceFwd.createQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Creates the QuantityOfMeasure object given its lite version QuantityOfMeasureDefaultView object.
 void UnitsServiceFwd.deleteMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Deletes this measurement system given its name.
 void UnitsServiceFwd.deleteQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Deletes the QuantityOfMeasure object given its name.
 MeasurementSystemDefaultView UnitsServiceFwd.updateMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Updates a Measurement System by saving the current object to datastore.
 QuantityOfMeasureDefaultView UnitsServiceFwd.updateQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Update the QuantityOfMeasure by saving its state to datastore.
 MeasurementSystemDefaultView UnitsService.createMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Creates a new Measurement System.
 QuantityOfMeasureDefaultView UnitsService.createQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Creates the QuantityOfMeasure object given its lite version QuantityOfMeasureDefaultView object.
 void UnitsService.deleteMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Deletes this measurement system given its name.
 void UnitsService.deleteQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Deletes the QuantityOfMeasure object given its name.
 MeasurementSystemDefaultView UnitsService.updateMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Updates a Measurement System by saving the current object to datastore.
 QuantityOfMeasureDefaultView UnitsService.updateQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Update the QuantityOfMeasure by saving its state to datastore.
 MeasurementSystemDefaultView StandardUnitsService.createMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Creates a new Measurement System.
 QuantityOfMeasureDefaultView StandardUnitsService.createQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Creates the QuantityOfMeasure object given its lite version QuantityOfMeasureDefaultView object.
 void StandardUnitsService.deleteMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Deletes this measurement system given its name.
 void StandardUnitsService.deleteQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Deletes the QuantityOfMeasure object given its name.
 MeasurementSystemDefaultView StandardUnitsService.updateMeasurementSystem(MeasurementSystemDefaultView measurementSystemDefaultView)
          Updates a Measurement System by saving the current object to datastore.
 QuantityOfMeasureDefaultView StandardUnitsService.updateQuantityOfMeasure(QuantityOfMeasureDefaultView quantityOfMeasureDefaultView)
          Update the QuantityOfMeasure by saving its state to datastore.