public class ARParseFormatInfoImpl extends Object implements ARParseFormatInfo
DBPREFIX, DDESTRING, PART_TAG_CURRENCY_DATE, PART_TAG_CURRENCY_TYPE, PART_TAG_CURRENCY_VALUE, PROCESSSTRING, STAT_HIST_TIME, STAT_HIST_USER, TRANPREFIX, WIN_TYPE_ACTIVE_LINK, WIN_TYPE_ACTIVE_LINK_SETFLDS, WIN_TYPE_ESCALATION, WIN_TYPE_ESCALATION_SETFLDS, WIN_TYPE_ESCALATION_TIME, WIN_TYPE_FILTER, WIN_TYPE_FILTER_SETFLDS, WIN_TYPE_JOIN_FORM, WIN_TYPE_MENU_DEFS, WIN_TYPE_NONE, WIN_TYPE_TABLE_FIELD| Constructor and Description |
|---|
ARParseFormatInfoImpl()
Default constructor
|
ARParseFormatInfoImpl(List<Field> localFieldList)
For formating assignment, only a small subset of information is needed.
|
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList) |
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList,
ArrayList<String> statusHistoryLabel) |
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList,
String locale) |
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList,
String locale,
ArrayList<String> statusHistoryLabel) |
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList,
String locale,
int location) |
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList,
String locale,
int location,
boolean isEscalation) |
ARParseFormatInfoImpl(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList,
String locale,
int location,
boolean isEscalation,
boolean includeP) |
| Modifier and Type | Method and Description |
|---|---|
void |
generateFieldMaps(List<Field> localFieldList,
int vuiId,
String historyTag,
List<Field> remoteFieldList) |
ARServerUser |
getContext() |
Field |
getDataField(Field field) |
String |
getEnumAliasFromValue(String fldid,
int enumValue)
Given the enum value and the field id (or name), return the enum alias
|
int |
getEnumIndex(String input,
List<EnumItem> items) |
int |
getEnumIndex(String input,
List<EnumItem> items,
int oprndDataType) |
String |
getEnumValueFromAlias(String fldid,
String alias)
Given a field id (or name) of type enum, return the enum value for the given alias
|
boolean |
getExceptionWhenFieldNotFound()
Returns whether an exception to be thrown when the field is not available in the passed in field list.
|
Locale |
getLocale()
Returns an Locale object depending upon the Locale used in qualification or assignment
|
Field |
getLocalField(String token)
Get the field object representing the input string, as field id or field name or
field label from the current form.
|
int |
getLocalFieldListSize() |
int |
getLocation()
Returns an int value representing the type and location of the qualification or assignment
|
Field |
getOtherOperandField()
return the field on the other side of the operation
|
Field |
getRemoteField(String token)
Get the field object representing the input string, as field id or field name or
field label from the remote form.
|
int |
getRemoteFieldListSize() |
String |
getTimeZone() |
int |
getVuiId()
Returns the vuiId.
|
boolean |
hasSameCondOprAsParent() |
boolean |
includeParanthesis()
Returns boolean to indicate if paranthesis is needed for each individual sub qual
|
boolean |
isEscalation()
Returns if its an escalation or not
|
boolean |
isTopLevelNode() |
void |
setContext(ARServerUser context) |
void |
setExceptionWhenFieldNotFound(boolean b)
Set whether an exception should be thrown when the field is not available in the passed in field list.
|
void |
setIncludeParanthesis(boolean yesorno)
set boolean value to true if you want to include paranthesis around each sub assignment/qual
|
void |
setLocale(String locale)
Sets the locale to be used.
|
void |
setLocation(int context) |
void |
setOtherOperandField(Field field)
A method that gives an oppurtunity to set the field that is on the other operand of a relational/arith op
|
void |
setSameCondOprAsParent(boolean b) |
void |
setStatusHistoryLabel(ArrayList<String> statusHistoryLabel) |
void |
setTimeZone(String timeZone) |
void |
setTopLevelNode(boolean bool) |
public ARParseFormatInfoImpl()
public ARParseFormatInfoImpl(List<Field> localFieldList)
localFieldList - public ARParseFormatInfoImpl(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList)
public ARParseFormatInfoImpl(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList, ArrayList<String> statusHistoryLabel)
public ARParseFormatInfoImpl(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList, String locale)
public ARParseFormatInfoImpl(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList, String locale, int location)
public ARParseFormatInfoImpl(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList, String locale, int location, boolean isEscalation)
public ARParseFormatInfoImpl(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList, String locale, int location, boolean isEscalation, boolean includeP)
public void generateFieldMaps(List<Field> localFieldList, int vuiId, String historyTag, List<Field> remoteFieldList)
public int getVuiId()
getVuiId in interface ARParseFormatInfopublic Field getLocalField(String token)
ARParseFormatInfogetLocalField in interface ARParseFormatInfopublic Field getRemoteField(String token)
ARParseFormatInfogetRemoteField in interface ARParseFormatInfopublic String getEnumValueFromAlias(String fldid, String alias)
ARParseFormatInfogetEnumValueFromAlias in interface ARParseFormatInfopublic String getEnumAliasFromValue(String fldid, int enumValue)
ARParseFormatInfogetEnumAliasFromValue in interface ARParseFormatInfopublic void setLocation(int context)
public int getLocation()
ARParseFormatInfogetLocation in interface ARParseFormatInfopublic Locale getLocale()
ARParseFormatInfogetLocale in interface ARParseFormatInfopublic boolean isEscalation()
ARParseFormatInfoisEscalation in interface ARParseFormatInfopublic boolean includeParanthesis()
ARParseFormatInfoincludeParanthesis in interface ARParseFormatInfopublic void setOtherOperandField(Field field)
ARParseFormatInfosetOtherOperandField in interface ARParseFormatInfopublic Field getOtherOperandField()
ARParseFormatInfogetOtherOperandField in interface ARParseFormatInfopublic void setIncludeParanthesis(boolean yesorno)
ARParseFormatInfosetIncludeParanthesis in interface ARParseFormatInfopublic void setLocale(String locale)
locale - String locale in the format language[_territory[.codeset]][@modifier]public ARServerUser getContext()
getContext in interface ARParseFormatInfopublic void setContext(ARServerUser context)
setContext in interface ARParseFormatInfopublic Field getDataField(Field field)
getDataField in interface ARParseFormatInfopublic int getEnumIndex(String input, List<EnumItem> items)
getEnumIndex in interface ARParseFormatInfopublic int getEnumIndex(String input, List<EnumItem> items, int oprndDataType)
getEnumIndex in interface ARParseFormatInfopublic int getLocalFieldListSize()
getLocalFieldListSize in interface ARParseFormatInfopublic int getRemoteFieldListSize()
getRemoteFieldListSize in interface ARParseFormatInfopublic boolean isTopLevelNode()
isTopLevelNode in interface ARParseFormatInfopublic void setTopLevelNode(boolean bool)
setTopLevelNode in interface ARParseFormatInfopublic void setExceptionWhenFieldNotFound(boolean b)
ARParseFormatInfosetExceptionWhenFieldNotFound in interface ARParseFormatInfopublic boolean getExceptionWhenFieldNotFound()
ARParseFormatInfogetExceptionWhenFieldNotFound in interface ARParseFormatInfopublic boolean hasSameCondOprAsParent()
hasSameCondOprAsParent in interface ARParseFormatInfopublic void setSameCondOprAsParent(boolean b)
setSameCondOprAsParent in interface ARParseFormatInfopublic void setTimeZone(String timeZone)
setTimeZone in interface ARParseFormatInfopublic String getTimeZone()
getTimeZone in interface ARParseFormatInfo? Copyright 2013 BMC Software, Inc.