Real Time Information Director User Documentation
    RTID Metadata Language 
Hewlett-Packard Company  33  529618-002   
  new SegmentQualifier("022", "DATUM","CUSTOMER_PURCHASE_ORDER_DT"), 
  new SegmentQualifier("025", new FieldElement[] { 
 new FieldElement("DATUM", "RECORD_CREATE_DT"), 
 new FieldElement("UZEIT", "ORDER_ENTRY_TM") 
}), 
 new SegmentQualifier("023","DATUM","PRICE_AND_EXCHANGE_RATE_DT") 
}), 
The same segment qualifier can define multiple fields. In the highlighted text below, the 
second parameter passed to SegmentQualifier is an array of tag definitions. 
A qualifier value of “025” defines both a date field and a time field. 
new QualifiedSegment("E1EDK14", "QUALF", new SegmentQualifier[] { 
  new SegmentQualifier("001", "ORGID", "BUSINESS_AREA_CD"), 
  new SegmentQualifier("006", "ORGID", "DIVISION_CD"), 
  new SegmentQualifier("007", "ORGID", "DISTRIBUTION_CHANNEL_CD"), 
  new SegmentQualifier("008", "ORGID", "SALES_ORGANIZATION_CD"), 
  new SegmentQualifier("012", "ORGID", "SALES_DOCUMENT_TY"), 
  new SegmentQualifier("010", "ORGID", "SALES_GP"), 
  new SegmentQualifier("016", "ORGID", "SALES_OFFICE_CD") 
}), 
new QualifiedSegment("E1EDK03", "IDDAT", new SegmentQualifier[] { 
  new SegmentQualifier("002", "DATUM", "REQUESTED_DELIVERY_DT"), 
  new SegmentQualifier("005", "DATUM", "VALID_FROM_QUOTATION_DT"), 
  new SegmentQualifier("006", "DATUM", "VALID_TO_QUOTATION_DT"), 
  new SegmentQualifier("012", "DATUM","DOCUMENT_RECEIVED_SENT_DT"), 
  new SegmentQualifier("022", "DATUM","CUSTOMER_PURCHASE_ORDER_DT"), 
  new SegmentQualifier("025", new FieldElement[] { 
 new FieldElement("DATUM", "RECORD_CREATE_DT"), 
 new FieldElement("UZEIT", "ORDER_ENTRY_TM") 
 }), 
 new SegmentQualifier("023","DATUM","PRICE_AND_EXCHANGE_RATE_DT") 
}), 
QualifiedSegment 
The QualifiedSegment class maps different occurrences of the same XML element to 
multiple distinct columns in the same record of the data store. Because data elements 
from multiple segments map onto columns in a single record, this kind of mapping is 
sometimes called “flattening” the data. 
QualifiedSegment allows for different uses of similar data objects, such as dates, 
organization IDs, and document numbers. 
QualifiedSegment has the following parameters: 
•  String tagName. This parameter is the XML tag that identifies the segment and is 
required. 
•  String qualifierTagName. This parameter is the XML tag of the qualifier and is 
required. The qualifier must be the first XML element in the segment. 
•  TagDefinition defaultTag. This optional parameter is an XML tag to use if the 
qualifier isn’t present. 










