BBjMappingDescription::getType
Description
In BBj 8.0 and higher, this method returns the type of the mapping.
Syntax
Return Value |
Method |
---|---|
int |
getType() |
Parameters
None.
Return Value
Returns the type of the mapping: NONE, DISK_FIELD, PRES_FIELD.
Remarks
Mapping the Disk Field "foo" to the Presentation Field "bar" returns the following values:
RS!.getMappingDescription("foo").getType() => DISK_FIELD
RS!.getMappingDescription("bar").getType() => PRES_FIELD
If no mapping involving field "baz", then
RS!.getMappingDescription("baz").getType() => NONE
Example
See Also
BBjRecordSet::createFormatMappingAction
BBjRecordSet::getMappingDescription
Working with RecordSet Mappings
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.