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 ARParseFormatInfo
public Field getLocalField(String token)
ARParseFormatInfo
getLocalField
in interface ARParseFormatInfo
public Field getRemoteField(String token)
ARParseFormatInfo
getRemoteField
in interface ARParseFormatInfo
public String getEnumValueFromAlias(String fldid, String alias)
ARParseFormatInfo
getEnumValueFromAlias
in interface ARParseFormatInfo
public String getEnumAliasFromValue(String fldid, int enumValue)
ARParseFormatInfo
getEnumAliasFromValue
in interface ARParseFormatInfo
public void setLocation(int context)
public int getLocation()
ARParseFormatInfo
getLocation
in interface ARParseFormatInfo
public Locale getLocale()
ARParseFormatInfo
getLocale
in interface ARParseFormatInfo
public boolean isEscalation()
ARParseFormatInfo
isEscalation
in interface ARParseFormatInfo
public boolean includeParanthesis()
ARParseFormatInfo
includeParanthesis
in interface ARParseFormatInfo
public void setOtherOperandField(Field field)
ARParseFormatInfo
setOtherOperandField
in interface ARParseFormatInfo
public Field getOtherOperandField()
ARParseFormatInfo
getOtherOperandField
in interface ARParseFormatInfo
public void setIncludeParanthesis(boolean yesorno)
ARParseFormatInfo
setIncludeParanthesis
in interface ARParseFormatInfo
public void setLocale(String locale)
locale
- String locale in the format language[_territory[.codeset]][@modifier]
public ARServerUser getContext()
getContext
in interface ARParseFormatInfo
public void setContext(ARServerUser context)
setContext
in interface ARParseFormatInfo
public Field getDataField(Field field)
getDataField
in interface ARParseFormatInfo
public int getEnumIndex(String input, List<EnumItem> items)
getEnumIndex
in interface ARParseFormatInfo
public int getEnumIndex(String input, List<EnumItem> items, int oprndDataType)
getEnumIndex
in interface ARParseFormatInfo
public int getLocalFieldListSize()
getLocalFieldListSize
in interface ARParseFormatInfo
public int getRemoteFieldListSize()
getRemoteFieldListSize
in interface ARParseFormatInfo
public boolean isTopLevelNode()
isTopLevelNode
in interface ARParseFormatInfo
public void setTopLevelNode(boolean bool)
setTopLevelNode
in interface ARParseFormatInfo
public void setExceptionWhenFieldNotFound(boolean b)
ARParseFormatInfo
setExceptionWhenFieldNotFound
in interface ARParseFormatInfo
public boolean getExceptionWhenFieldNotFound()
ARParseFormatInfo
getExceptionWhenFieldNotFound
in interface ARParseFormatInfo
public boolean hasSameCondOprAsParent()
hasSameCondOprAsParent
in interface ARParseFormatInfo
public void setSameCondOprAsParent(boolean b)
setSameCondOprAsParent
in interface ARParseFormatInfo
public void setTimeZone(String timeZone)
setTimeZone
in interface ARParseFormatInfo
public String getTimeZone()
getTimeZone
in interface ARParseFormatInfo
? Copyright 2013 BMC Software, Inc.