wt.eff.format
Class AbstractEffFormat
java.lang.Object
wt.eff.format.AbstractEffFormat
- All Implemented Interfaces:
- Externalizable, Serializable, EffFormat
- Direct Known Subclasses:
- UnitEffFormat
public abstract class AbstractEffFormat
- extends Object
- implements EffFormat, Externalizable
This abstract class implements the EffFormat interface and is designed
to hold any common implementation that could be potentially shared across
all sub-classes, but also available for extension if need be.
Supported API: true
Extendable: true
- Since:
- Windchill 9.0
- See Also:
EffFormat,
EffFormatService,
Serialized Form
addToRangeValue
public String addToRangeValue(String rangeValue,
int amount,
EffState state,
Map<String,String> formatParams)
throws EffFormatException
- Since range arithmetic is not supported unless explicitly specified
by a format iplementation, this method returns an empty
String
object ("") as a default value.
Supported API: true
- Specified by:
addToRangeValue in interface EffFormat
- Parameters:
rangeValue - amount - state - formatParams -
- Returns:
- String
- Throws:
EffFormatException- See Also:
EffFormat.supportsRangeArithmetic()
toString
public String toString()
Supported API: true
- Overrides:
toString in class Object
- Returns:
- String