<?xml version="1.0" encoding="US-ASCII"?>
<!-- This dtd is used for validating the Meta files for generating the various object lookup files -->
<!ELEMENT Root (PatternTemplate,Application,Module,Component,BasePackage,DomainObject,
DomainPackage,CriteriaTitle?,ResultsTitle?,CriteriaFields,ResultsFields,
OrderByFieldCombos?,MaxRecords?,Creator?,Viewer?,Updator?,Deletor?,KeyFields)>
<!ELEMENT PatternTemplate (#PCDATA)>
<!ELEMENT Application (#PCDATA)>
<!ELEMENT Module (#PCDATA)>
<!ELEMENT Component (#PCDATA)>
<!ELEMENT BasePackage (#PCDATA)>
<!ELEMENT DomainObject (#PCDATA)>
<!ELEMENT DomainPackage (#PCDATA)>
<!ELEMENT MaxRecords (#PCDATA)>
<!ELEMENT CriteriaTitle (#PCDATA)>
<!ELEMENT ResultsTitle (#PCDATA)>
<!ELEMENT CriteriaFields (CriteriaField+)>
<!ELEMENT CriteriaField (Name,DataType,Display,Label?,DomainField,AltDomainObject?)>
<!ELEMENT Name (#PCDATA)>
<!ELEMENT DataType (#PCDATA)>
<!ELEMENT Label (#PCDATA)>
<!ELEMENT DomainField (#PCDATA)>
<!ELEMENT AltDomainObject (Object,Package,CriteriaJoinFields)>
<!ELEMENT Object (#PCDATA)>
<!ELEMENT Package (#PCDATA)>
<!ELEMENT CriteriaJoinFields (CriteriaJoinBetween+)>
<!ELEMENT CriteriaJoinBetween (DomainObjectField,AltDomainObjectField)>
<!ELEMENT DomainObjectField (#PCDATA)>
<!ELEMENT AltDomainObjectField (#PCDATA)>
<!ELEMENT ResultsFields (ResultsField+)>
<!ELEMENT ResultsField (Name,DataType,Display,Label,Width,DomainField,Source?)>
<!ELEMENT Display (#PCDATA)>
<!ELEMENT Width (#PCDATA)>
<!ELEMENT Source (Object,Package,ResultsJoinFields)>
<!ELEMENT ResultsJoinFields (ResultsJoinBetween+)>
<!ELEMENT ResultsJoinBetween (DomainObjectField,SourceField)>
<!ELEMENT SourceField (#PCDATA)>
<!ELEMENT OrderByFieldCombos (OrderByFieldCombo+)>
<!ELEMENT OrderByFieldCombo (OrderByField+)>
<!ELEMENT OrderByField (DomainFieldName,Label?)>
<!ELEMENT DomainFieldName (#PCDATA)>
<!ELEMENT Creator (ComponentName,ClassName,Package)>
<!ELEMENT Viewer (ComponentName,ClassName,Package)>
<!ELEMENT Updator (ComponentName,ClassName,Package)>
<!ELEMENT Deletor (ComponentName,ClassName,Package)>
<!ELEMENT ComponentName (#PCDATA)>
<!ELEMENT ClassName (#PCDATA)>
<!ELEMENT KeyFields (KeyField+)>
<!ELEMENT KeyField (ResultsFieldName,DataType,FieldNameInTargetComponent)>
<!ELEMENT ResultsFieldName (#PCDATA)>
<!ELEMENT FieldNameInTargetComponent (#PCDATA)>
|