MAPGROUP
Retrieves a map value based on parameter criteria.
| TYPE=MAPGROUP | ||||
|---|---|---|---|---|
| Element | Parent Element | Attributes | Attribute Value | Definition |
|
<MathVariable>
|
|
|
|
|
|
VARIABLENAME |
Literal string |
Required |
||
|
TYPE |
MAPGROUP |
Required:Identifies the type of the MathVariable. |
||
|
DATATYPE |
DECIMAL, INTEGER, TEXT, DATE |
Required |
||
| ROUND | Integer |
Optional when DATATYPE="DECIMAL" |
||
| DEFAULT | String |
Optional |
||
| LOG | YES, NO [Default=NO] |
Optional |
||
|
<Parameters> |
<MathVariable> |
|
|
|
|
<MapGroupDescription> |
<Parameters> |
|
Math Variable, Literal |
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) |
|
<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. |
| <MapCriteria> |
NAME |
Math Variable, Literal |
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. |
|
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>
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>