Library | Package Java Toolkit

Interface ModelUnits

package com.ptc.pfc.pfcBase;

public interface ModelUnits
  extends jxobject



Description

This interface represents a type of units (length, mass, or other units).
Direct Known Subclasses:
LengthUnits



Method Summary
/*optional*/ StringGetUnitName ()
    Get method for attribute "UnitName"
    The name of the units.
UnitTypeGetUnitType ()
    Returns the type of units described by the data object.
voidSetUnitName ( /*optional*/ String value)
    Set method for attribute "UnitName"
    The name of the units.

Method Detail

GetUnitType

UnitTypeGetUnitType ()


    Returns the type of units described by the data object.
Returns:
The type of units (length, mass, or custom).


GetUnitName/SetUnitName

/*optional*/ StringGetUnitName ()
voidSetUnitName ( /*optional*/ String value)


    The name of the units.