wt.eff.format
Class AbstractEffFormat

java.lang.Object
  extended by 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

Method Summary
 String addToRangeValue(String rangeValue, int amount, EffState state, Map<String,String> formatParams)
          Since range arithmetic is not supported unless explicitly specified by a format iplementation, this method returns an empty String object ("") as a default value.
 String toString()
          

Supported API: true
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface wt.eff.format.EffFormat
compareRangeValues, getDisplayDescription, getDisplayName, validateRangeValue
 

Method Detail

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