|
|
Sample Programs from NeXSTEP 3.3
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fmodern Ohlfs;}
\paperw11440
\paperh12580
\margl120
\margr120
{\colortbl;\red0\green0\blue0;}
\pard\tx1600\tx3200\tx4800\tx6400\tx8000\tx9600\tx11200\tx12800\tx14400\tx16000\f0\b0\i0\ulnone\fs72\fc0\cf0 AreYouQualified.app\
\fs24 SHL Object Technology Center\
e-mail: [email protected]\
\
\
\
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fs36\fc0\cf0 Overview
\b0\fs24 \
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fc1\cf1 This example demonstrates the interactions of various Enterprise Object Framework components to facilitate qualified fetches. When a model file is dragged into the file well, a database connection is made and the attributes and relationships of the model are displayed. By selecting fetch attributes and qualifying attributes, a dynamic query can be executed. \
\
\fc0\cf0 NEXTSTEP 3.2 EOF Beta\
\fc1\cf1
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc1\cf1 \
\
\
\b\fs36 Program Organization
\b0\fs24 \
\
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\i\fc1\cf1 Important Files
\i0 \
\
QueryController.[hm] sets up the database connection and model information. It also handles building the EOQualifier and specifying the fetch columns to the NXTableView for result viewing.\
IconWell.[hm] is the class that displays the model icon and provides the path associated with the model for reading.\
EOQualifierContentsCategory.[hm] provides a convenience method allowing the EOQualifier to return a SQL string representing the contents of the qualifier.\
\pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1900\li1900\fc1\cf1 \
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\fc1\cf1 \
\pard\tx1140\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\fc1\cf1 \
\b\fs36 Revision History
\b0\fs24 \
\
June 94 Version 1.0.\
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.