MAPGROUP

Retrieves a map value based on parameter criteria.

MAPGROUP Elements and Attributes
TYPE=MAPGROUP
Element Attributes Parent Element Description Element/Attribute Value

<MathVariable>

 

 

 

 

VARIABLENAME

 

Required

Literal string

TYPE

 

Required:

Identifies the type of the MathVariable.

MAPGROUP

DATATYPE

 

Required

DECIMAL, INTEGER, TEXT, DATE

ROUND

 

Optional when DATATYPE="DECIMAL"

Integer

DEFAULT

 

Optional

String

LOG

 

Optional

YES, NO [Default=NO]

<Parameters>

 

<MathVariable>

 

 

<MapGroupDescription>

 

<Parameters>

Required

This is the MAPGROUPDESCRIPTION from AsMapGroup, for the table to use to retrieve map values.

The data type for the math variable should be text.

(Like CurrCOITableName, Freelookdays Map Groups)

Math Variable, Literal

<MapCriteria>

 

 

 

 

 

<Parameters>

The Math Variable previously defined the value of the criteria (for example, 20 for term years).

The data type of Math Variable must match the datatype of the criteria in the AsMapCriteria table.

 

NAME

<MapCriteria>

Required, Repeatable

The specific instance of Criteria given in AsMapCriteria (The actual instance such as TermYears, StateCode etc. )

The Name attribute specifies the name of the Map Criteria.

Math Variable, Literal

XML Schema

<!-- TYPE="MAPGROUP" -->
<!-- ROUND="[Integer]" is an optional attribute to be used when DATATYPE="DECIMAL" -->
<!-- DEFAULT="[String]" is an optional attribute -->
<!-- LOG="YES" is an optional attribute -->
<!-- -->
<MathVariable VARIABLENAME="[String]" TYPE="MAPGROUP" DATATYPE="DECIMAL" ROUND="[Integer]" DEFAULT="[String]" LOG="Yes">>
<Parameters>
<MapDescription>[String]</MapDescription>
<!-- there can be 1-to-n occurrences of the "MapCriteria" tag -->
<MapCriteria>[String]</MapCriteria>
</Parameters>
</MathVariable>

XML Example

<MathVariable VARIABLENAME="MapGroupMV" TYPE="MAPGROUP" DATATYPE="DECIMAL">
<Parameters>
<MapGroupDescription>MapGroupDescriptionMV</MapGroupDescription>
<MapCriteria NAME="TermYears">TermYearsMV</MapCriteria>
<MapCriteria NAME="RateActiveDate">RateActiveDateMV</MapCriteria>
<MapCriteria NAME="PLANGUID">PLANGUIDMV</MapCriteria>
<MapCriteria NAME="StateAbbreviation">StateAbbreviationMV</MapCriteria>
<MapCriteria NAME="StateCode">StateCodeMV</MapCriteria>
<MapCriteria NAME="SegmentTypeCode">SegmentTypeCodeMV</MapCriteria>
<MapCriteria NAME="ROPExist">ROPExistMV</MapCriteria>
<MapCriteria NAME="LowFace">LowFaceMV</MapCriteria>
<MapCriteria NAME="HighFace">HighFaceMV</MapCriteria>
</Parameters>
</MathVariable>