|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.eff.format.AbstractEffFormat
wt.eff.format.UnitEffFormat
wt.eff.format.AlphaNumericUnitEffFormat
public class AlphaNumericUnitEffFormat
This format supports fixed-length effectivity statements with an optional
prefix, a fixed-length numeric portion (with a max. length of 18) and
an optional suffix. The prefix and suffix can contain wildcards along
with any other characters - including letters, digits, special characters
like dashes and so on.
This format accepts the following configurable parameters:
UnitEffFormat,
EffFormat,
EffFormatService,
Serialized Form| Method Summary | |
|---|---|
String |
addToRangeValue(String rangeValue,
int amount,
EffState state,
Map<String,String> formatParams)
Supported API: true |
int |
compareRangeValues(String leftValue,
String rightValue,
EffState state,
Map<String,String> formatParams)
Supported API: true |
String |
getDisplayDescription(Locale locale)
Supported API: true |
String |
getDisplayName(Locale locale)
Supported API: true |
boolean |
supportsRangeArithmetic()
Supported API: true |
String |
validateRangeValue(String rangeValue,
EffState state,
Map<String,String> formatParams,
boolean isStartRange)
Supported API: true |
| Methods inherited from class wt.eff.format.AbstractEffFormat |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getDisplayName(Locale locale)
getDisplayName in interface EffFormatlocale -
wt.eff.format#getDisplayDescription()public String getDisplayDescription(Locale locale)
getDisplayDescription in interface EffFormatlocale -
wt.eff.format#getDisplayName()
public String validateRangeValue(String rangeValue,
EffState state,
Map<String,String> formatParams,
boolean isStartRange)
validateRangeValue in interface EffFormatrangeValue - state - formatParams - isStartRange -
public int compareRangeValues(String leftValue,
String rightValue,
EffState state,
Map<String,String> formatParams)
throws EffFormatException
compareRangeValues in interface EffFormatleftValue - rightValue - state - formatParams -
EffFormatExceptionpublic boolean supportsRangeArithmetic()
supportsRangeArithmetic in interface EffFormat#addToRangeValue(String, int, EffState, java.util.Map{@literal
})
public String addToRangeValue(String rangeValue,
int amount,
EffState state,
Map<String,String> formatParams)
throws EffFormatException
addToRangeValue in interface EffFormataddToRangeValue in class AbstractEffFormatrangeValue - amount - state - formatParams -
EffFormatExceptionEffFormat.supportsRangeArithmetic()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||