csdl.pp 241 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597
  1. {
  2. This unit has been produced by ws_helper.
  3. Input unit name : "CSDL".
  4. This unit name : "CSDL".
  5. Date : "12-5-16 15:37:59".
  6. }
  7. unit CSDL;
  8. {$IFDEF FPC}
  9. {$mode objfpc} {$H+}
  10. {$ENDIF}
  11. {$DEFINE WST_RECORD_RTTI}
  12. interface
  13. uses SysUtils, Classes, TypInfo, base_service_intf, service_intf, cgs, ras{,
  14. System_Data_Resources_CodeGenerationSchema, System_Data_Resources_AnnotationSchema};
  15. const
  16. sNAME_SPACE = 'http://schemas.microsoft.com/ado/2009/11/edm';
  17. sUNIT_NAME = 'CSDL';
  18. type
  19. GSchemaBodyElements_UsingArray = class;
  20. GSchemaBodyElements_AssociationArray = class;
  21. GSchemaBodyElements_ComplexTypeArray = class;
  22. GSchemaBodyElements_EntityTypeArray = class;
  23. GSchemaBodyElements_EnumTypeArray = class;
  24. GSchemaBodyElements_ValueTermArray = class;
  25. GSchemaBodyElements__FunctionArray = class;
  26. GSchemaBodyElements_AnnotationsArray = class;
  27. GSchemaBodyElements = class;
  28. TSchema = class;
  29. TDocumentation = class;
  30. TText = class;
  31. TXmlOrText = class;
  32. GEmptyElementExtensibility = class;
  33. TUsing = class;
  34. TAssociation__EndArray = class;
  35. TAssociation = class;
  36. TTypeAttributes = class;
  37. TComplexType__PropertyArray = class;
  38. TComplexType_ValueAnnotationArray = class;
  39. TComplexType_TypeAnnotationArray = class;
  40. TComplexType = class;
  41. TConstraint = class;
  42. TReferentialConstraintRoleElement_PropertyRefArray = class;
  43. TReferentialConstraintRoleElement = class;
  44. TNavigationProperty_ValueAnnotationArray = class;
  45. TNavigationProperty_TypeAnnotationArray = class;
  46. TNavigationProperty = class;
  47. TDerivableTypeAttributes = class;
  48. TEntityType__PropertyArray = class;
  49. TEntityType_NavigationPropertyArray = class;
  50. TEntityType_ValueAnnotationArray = class;
  51. TEntityType_TypeAnnotationArray = class;
  52. TEntityType = class;
  53. TEnumTypeMember = class;
  54. TEnumType_MemberArray = class;
  55. TEnumType_ValueAnnotationArray = class;
  56. TEnumType_TypeAnnotationArray = class;
  57. TEnumType = class;
  58. TFacetAttributes = class;
  59. TFunction_ParameterArray = class;
  60. TFunction_DefiningExpressionArray = class;
  61. TFunction_ReturnTypeArray = class;
  62. TFunction_ValueAnnotationArray = class;
  63. TFunction_TypeAnnotationArray = class;
  64. TFunction = class;
  65. TFunctionParameter_ValueAnnotationArray = class;
  66. TFunctionParameter_TypeAnnotationArray = class;
  67. TFunctionParameter = class;
  68. TCollectionType = class;
  69. TTypeRef = class;
  70. TReferenceType = class;
  71. TRowType = class;
  72. TRowProperty = class;
  73. TFunctionReturnType = class;
  74. TFunctionImportReturnType = class;
  75. TEntityKeyElement = class;
  76. TPropertyRef = class;
  77. TAnnotations_ValueAnnotationArray = class;
  78. TAnnotations_TypeAnnotationArray = class;
  79. TAnnotations = class;
  80. GExpression = class;
  81. GInlineExpressions = class;
  82. TValueAnnotation = class;
  83. TTypeAnnotation_PropertyValueArray = class;
  84. TTypeAnnotation = class;
  85. TStringConstantExpression = class;
  86. TBinaryConstantExpression = class;
  87. TIntConstantExpression = class;
  88. TFloatConstantExpression = class;
  89. TGuidConstantExpression = class;
  90. TDecimalConstantExpression = class;
  91. TBoolConstantExpression = class;
  92. TTimeConstantExpression = class;
  93. TDateTimeConstantExpression = class;
  94. TDateTimeOffsetConstantExpression = class;
  95. TEnumMemberReferenceExpression = class;
  96. TNullExpression = class;
  97. TPathExpression = class;
  98. TIfExpression = class;
  99. TRecordExpression_PropertyValueArray = class;
  100. TRecordExpression = class;
  101. TPropertyValue = class;
  102. TCollectionExpression = class;
  103. TAssertTypeExpression = class;
  104. TIsTypeExpression = class;
  105. TFunctionReferenceExpression_Parameter_Type = class;
  106. TFunctionReferenceExpression_ParameterArray = class;
  107. TFunctionReferenceExpression = class;
  108. TEntitySetReferenceExpression = class;
  109. TParameterReferenceExpression = class;
  110. TApplyExpression = class;
  111. TPropertyReferenceExpression = class;
  112. TValueTermReferenceExpression = class;
  113. TLabeledElement = class;
  114. TLabeledElementReferenceExpression = class;
  115. TOperations = class;
  116. TAssociationEnd = class;
  117. TOnAction = class;
  118. TCommonPropertyAttributes = class;
  119. TEntityProperty_DocumentationArray = class;
  120. TEntityProperty_ValueAnnotationArray = class;
  121. TEntityProperty_TypeAnnotationArray = class;
  122. TEntityProperty = class;
  123. TComplexTypeProperty_DocumentationArray = class;
  124. TComplexTypeProperty_ValueAnnotationArray = class;
  125. TComplexTypeProperty_TypeAnnotationArray = class;
  126. TComplexTypeProperty = class;
  127. TValueTerm = class;
  128. TFunctionImportParameterAttributes = class;
  129. TFunctionImportParameter_ValueAnnotationArray = class;
  130. TFunctionImportParameter_TypeAnnotationArray = class;
  131. TFunctionImportParameter = class;
  132. TFunctionImportAttributes = class;
  133. TEntitySetAttributes = class;
  134. EntityContainer_FunctionImport_Type_ReturnTypeArray = class;
  135. EntityContainer_FunctionImport_Type_ParameterArray = class;
  136. EntityContainer_FunctionImport_Type_ValueAnnotationArray = class;
  137. EntityContainer_FunctionImport_Type_TypeAnnotationArray = class;
  138. EntityContainer_FunctionImport_Type = class;
  139. EntityContainer_EntitySet_Type_ValueAnnotationArray = class;
  140. EntityContainer_EntitySet_Type_TypeAnnotationArray = class;
  141. EntityContainer_EntitySet_Type = class;
  142. EntityContainer_AssociationSet_Type_End_Type = class;
  143. EntityContainer_AssociationSet_Type__EndArray = class;
  144. EntityContainer_AssociationSet_Type = class;
  145. EntityContainer_FunctionImportArray = class;
  146. EntityContainer_EntitySetArray = class;
  147. EntityContainer_AssociationSetArray = class;
  148. EntityContainer_ValueAnnotationArray = class;
  149. EntityContainer_TypeAnnotationArray = class;
  150. EntityContainer = class;
  151. EDMSimpleType = (
  152. Binary
  153. ,EDMSimpleType_Boolean
  154. ,EDMSimpleType_Byte
  155. ,DateTime
  156. ,DateTimeOffset
  157. ,Time
  158. ,Decimal
  159. ,EDMSimpleType_Double
  160. ,EDMSimpleType_Single
  161. ,Geography
  162. ,GeographyPoint
  163. ,GeographyLineString
  164. ,GeographyPolygon
  165. ,GeographyMultiPoint
  166. ,GeographyMultiLineString
  167. ,GeographyMultiPolygon
  168. ,GeographyCollection
  169. ,Geometry
  170. ,GeometryPoint
  171. ,GeometryLineString
  172. ,GeometryPolygon
  173. ,GeometryMultiPoint
  174. ,GeometryMultiLineString
  175. ,GeometryMultiPolygon
  176. ,GeometryCollection
  177. ,Guid
  178. ,Int16
  179. ,Int32
  180. ,EDMSimpleType_Int64
  181. ,EDMSimpleType_String
  182. ,SByte
  183. ,Stream
  184. );
  185. TMax = (
  186. Max
  187. );
  188. TVariable = (
  189. Variable
  190. );
  191. TParameterMode = (
  192. TParameterMode_In
  193. ,TParameterMode_Out
  194. ,InOut
  195. );
  196. TAction = (
  197. Cascade
  198. ,None
  199. );
  200. TMultiplicity = (
  201. TMultiplicity__0_1
  202. ,TMultiplicity__1
  203. ,TMultiplicity__
  204. );
  205. TConcurrencyMode = (
  206. TConcurrencyMode_None
  207. ,Fixed
  208. );
  209. Schema = TSchema;
  210. TMaxLengthFacet = type UnicodeString;
  211. TIsFixedLengthFacet = type boolean;
  212. TPrecisionFacet = type nonNegativeInteger;
  213. TScaleFacet = type nonNegativeInteger;
  214. TIsUnicodeFacet = type boolean;
  215. TCollationFacet = type UnicodeString;
  216. TSridFacet = type UnicodeString;
  217. TGuidLiteral = type UnicodeString;
  218. TQualifiedName = type UnicodeString;
  219. TNamespaceName = type TQualifiedName;
  220. TPath = type UnicodeString;
  221. TSimpleIdentifier = type UnicodeString;
  222. TPropertyType = type UnicodeString;
  223. TCommandText = type UnicodeString;
  224. TFunctionImportParameterAndReturnType = type UnicodeString;
  225. TWrappedFunctionType = type UnicodeString;
  226. TUnwrappedFunctionType = type UnicodeString;
  227. GSchemaBodyElements = class(TBaseComplexRemotable)
  228. private
  229. FUsing : GSchemaBodyElements_UsingArray;
  230. FAssociation : GSchemaBodyElements_AssociationArray;
  231. FComplexType : GSchemaBodyElements_ComplexTypeArray;
  232. FEntityType : GSchemaBodyElements_EntityTypeArray;
  233. FEnumType : GSchemaBodyElements_EnumTypeArray;
  234. FValueTerm : GSchemaBodyElements_ValueTermArray;
  235. F_Function : GSchemaBodyElements__FunctionArray;
  236. FAnnotations : GSchemaBodyElements_AnnotationsArray;
  237. FEntityContainer : CSDL.EntityContainer;
  238. private
  239. function wstHas_Using() : Boolean;
  240. function wstHas_Association() : Boolean;
  241. function wstHas_ComplexType() : Boolean;
  242. function wstHas_EntityType() : Boolean;
  243. function wstHas_EnumType() : Boolean;
  244. function wstHas_ValueTerm() : Boolean;
  245. function wstHas__Function() : Boolean;
  246. function wstHas_Annotations() : Boolean;
  247. public
  248. constructor Create();override;
  249. procedure FreeObjectProperties();override;
  250. published
  251. property Using : GSchemaBodyElements_UsingArray read FUsing write FUsing stored wstHas_Using;
  252. property Association : GSchemaBodyElements_AssociationArray read FAssociation write FAssociation stored wstHas_Association;
  253. property ComplexType : GSchemaBodyElements_ComplexTypeArray read FComplexType write FComplexType stored wstHas_ComplexType;
  254. property EntityType : GSchemaBodyElements_EntityTypeArray read FEntityType write FEntityType stored wstHas_EntityType;
  255. property EnumType : GSchemaBodyElements_EnumTypeArray read FEnumType write FEnumType stored wstHas_EnumType;
  256. property ValueTerm : GSchemaBodyElements_ValueTermArray read FValueTerm write FValueTerm stored wstHas_ValueTerm;
  257. property _Function : GSchemaBodyElements__FunctionArray read F_Function write F_Function stored wstHas__Function;
  258. property Annotations : GSchemaBodyElements_AnnotationsArray read FAnnotations write FAnnotations stored wstHas_Annotations;
  259. property EntityContainer : CSDL.EntityContainer read FEntityContainer write FEntityContainer;
  260. end;
  261. TSchema = class(TBaseComplexRemotable)
  262. private
  263. FNamespace : TNamespaceName;
  264. FAlias : TSimpleIdentifier;
  265. FUsing : GSchemaBodyElements_UsingArray;
  266. FAssociation : GSchemaBodyElements_AssociationArray;
  267. FComplexType : GSchemaBodyElements_ComplexTypeArray;
  268. FEntityType : GSchemaBodyElements_EntityTypeArray;
  269. FEnumType : GSchemaBodyElements_EnumTypeArray;
  270. FValueTerm : GSchemaBodyElements_ValueTermArray;
  271. F_Function : GSchemaBodyElements__FunctionArray;
  272. FAnnotations : GSchemaBodyElements_AnnotationsArray;
  273. FEntityContainer : CSDL.EntityContainer;
  274. private
  275. function wstHas_Namespace() : Boolean;
  276. function wstHas_Alias() : Boolean;
  277. function wstHas_Using() : Boolean;
  278. function wstHas_Association() : Boolean;
  279. function wstHas_ComplexType() : Boolean;
  280. function wstHas_EntityType() : Boolean;
  281. function wstHas_EnumType() : Boolean;
  282. function wstHas_ValueTerm() : Boolean;
  283. function wstHas__Function() : Boolean;
  284. function wstHas_Annotations() : Boolean;
  285. public
  286. constructor Create();override;
  287. procedure FreeObjectProperties();override;
  288. published
  289. property Namespace : TNamespaceName read FNamespace write FNamespace stored wstHas_Namespace;
  290. property Alias : TSimpleIdentifier read FAlias write FAlias stored wstHas_Alias;
  291. property Using : GSchemaBodyElements_UsingArray read FUsing write FUsing stored wstHas_Using;
  292. property Association : GSchemaBodyElements_AssociationArray read FAssociation write FAssociation stored wstHas_Association;
  293. property ComplexType : GSchemaBodyElements_ComplexTypeArray read FComplexType write FComplexType stored wstHas_ComplexType;
  294. property EntityType : GSchemaBodyElements_EntityTypeArray read FEntityType write FEntityType stored wstHas_EntityType;
  295. property EnumType : GSchemaBodyElements_EnumTypeArray read FEnumType write FEnumType stored wstHas_EnumType;
  296. property ValueTerm : GSchemaBodyElements_ValueTermArray read FValueTerm write FValueTerm stored wstHas_ValueTerm;
  297. property _Function : GSchemaBodyElements__FunctionArray read F_Function write F_Function stored wstHas__Function;
  298. property Annotations : GSchemaBodyElements_AnnotationsArray read FAnnotations write FAnnotations stored wstHas_Annotations;
  299. property EntityContainer : CSDL.EntityContainer read FEntityContainer write FEntityContainer;
  300. end;
  301. TDocumentation = class(TBaseComplexRemotable)
  302. private
  303. FSummary : TText;
  304. FLongDescription : TText;
  305. private
  306. function wstHas_Summary() : Boolean;
  307. function wstHas_LongDescription() : Boolean;
  308. public
  309. constructor Create();override;
  310. procedure FreeObjectProperties();override;
  311. published
  312. property Summary : TText read FSummary write FSummary stored wstHas_Summary;
  313. property LongDescription : TText read FLongDescription write FLongDescription stored wstHas_LongDescription;
  314. end;
  315. TText = class(TStringBufferRemotable)
  316. end;
  317. TXmlOrText = class(TStringBufferRemotable)
  318. end;
  319. GEmptyElementExtensibility = class(TBaseComplexRemotable)
  320. private
  321. FDocumentation : TDocumentation;
  322. private
  323. function wstHas_Documentation() : Boolean;
  324. public
  325. constructor Create();override;
  326. procedure FreeObjectProperties();override;
  327. published
  328. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  329. end;
  330. TUsing = class(TBaseComplexRemotable)
  331. private
  332. FNamespace : TNamespaceName;
  333. FAlias : TSimpleIdentifier;
  334. FDocumentation : TDocumentation;
  335. private
  336. function wstHas_Documentation() : Boolean;
  337. public
  338. constructor Create();override;
  339. procedure FreeObjectProperties();override;
  340. published
  341. property Namespace : TNamespaceName read FNamespace write FNamespace;
  342. property Alias : TSimpleIdentifier read FAlias write FAlias;
  343. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  344. end;
  345. TAssociation = class(TBaseComplexRemotable)
  346. private
  347. FDocumentation : TDocumentation;
  348. F_End : TAssociation__EndArray;
  349. FReferentialConstraint : TConstraint;
  350. FName : TSimpleIdentifier;
  351. private
  352. function wstHas_Documentation() : Boolean;
  353. function wstHas_ReferentialConstraint() : Boolean;
  354. public
  355. constructor Create();override;
  356. procedure FreeObjectProperties();override;
  357. published
  358. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  359. property _End : TAssociation__EndArray read F_End write F_End;
  360. property ReferentialConstraint : TConstraint read FReferentialConstraint write FReferentialConstraint stored wstHas_ReferentialConstraint;
  361. property Name : TSimpleIdentifier read FName write FName;
  362. end;
  363. TTypeAttributes = class(TBaseComplexRemotable)
  364. private
  365. FName : TSimpleIdentifier;
  366. published
  367. property Name : TSimpleIdentifier read FName write FName;
  368. end;
  369. TComplexType = class(TBaseComplexRemotable)
  370. private
  371. FDocumentation : TDocumentation;
  372. F_Property : TComplexType__PropertyArray;
  373. FValueAnnotation : TComplexType_ValueAnnotationArray;
  374. FTypeAnnotation : TComplexType_TypeAnnotationArray;
  375. FTypeAccess : TypeAccess_Type;
  376. FName : TSimpleIdentifier;
  377. private
  378. function wstHas_Documentation() : Boolean;
  379. function wstHas__Property() : Boolean;
  380. function wstHas_ValueAnnotation() : Boolean;
  381. function wstHas_TypeAnnotation() : Boolean;
  382. function wstHas_TypeAccess() : Boolean;
  383. public
  384. constructor Create();override;
  385. procedure FreeObjectProperties();override;
  386. published
  387. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  388. property _Property : TComplexType__PropertyArray read F_Property write F_Property stored wstHas__Property;
  389. property ValueAnnotation : TComplexType_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  390. property TypeAnnotation : TComplexType_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  391. property TypeAccess : TypeAccess_Type read FTypeAccess write FTypeAccess stored wstHas_TypeAccess;
  392. property Name : TSimpleIdentifier read FName write FName;
  393. end;
  394. TConstraint = class(TBaseComplexRemotable)
  395. private
  396. FDocumentation : TDocumentation;
  397. FPrincipal : TReferentialConstraintRoleElement;
  398. FDependent : TReferentialConstraintRoleElement;
  399. private
  400. function wstHas_Documentation() : Boolean;
  401. public
  402. constructor Create();override;
  403. procedure FreeObjectProperties();override;
  404. published
  405. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  406. property Principal : TReferentialConstraintRoleElement read FPrincipal write FPrincipal;
  407. property Dependent : TReferentialConstraintRoleElement read FDependent write FDependent;
  408. end;
  409. TReferentialConstraintRoleElement = class(TBaseComplexRemotable)
  410. private
  411. FPropertyRef : TReferentialConstraintRoleElement_PropertyRefArray;
  412. FRole : TSimpleIdentifier;
  413. public
  414. constructor Create();override;
  415. procedure FreeObjectProperties();override;
  416. published
  417. property PropertyRef : TReferentialConstraintRoleElement_PropertyRefArray read FPropertyRef write FPropertyRef;
  418. property Role : TSimpleIdentifier read FRole write FRole;
  419. end;
  420. TNavigationProperty = class(TBaseComplexRemotable)
  421. private
  422. FDocumentation : TDocumentation;
  423. FValueAnnotation : TNavigationProperty_ValueAnnotationArray;
  424. FTypeAnnotation : TNavigationProperty_TypeAnnotationArray;
  425. FName : TSimpleIdentifier;
  426. FRelationship : TQualifiedName;
  427. FToRole : TSimpleIdentifier;
  428. FFromRole : TSimpleIdentifier;
  429. FContainsTarget : boolean;
  430. FGetterAccess : GetterAccess_Type;
  431. FSetterAccess : SetterAccess_Type;
  432. private
  433. function wstHas_Documentation() : Boolean;
  434. function wstHas_ValueAnnotation() : Boolean;
  435. function wstHas_TypeAnnotation() : Boolean;
  436. function wstHas_ContainsTarget() : Boolean;
  437. function wstHas_GetterAccess() : Boolean;
  438. function wstHas_SetterAccess() : Boolean;
  439. public
  440. constructor Create();override;
  441. procedure FreeObjectProperties();override;
  442. published
  443. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  444. property ValueAnnotation : TNavigationProperty_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  445. property TypeAnnotation : TNavigationProperty_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  446. property Name : TSimpleIdentifier read FName write FName;
  447. property Relationship : TQualifiedName read FRelationship write FRelationship;
  448. property ToRole : TSimpleIdentifier read FToRole write FToRole;
  449. property FromRole : TSimpleIdentifier read FFromRole write FFromRole;
  450. property ContainsTarget : boolean read FContainsTarget write FContainsTarget stored wstHas_ContainsTarget;
  451. property GetterAccess : GetterAccess_Type read FGetterAccess write FGetterAccess stored wstHas_GetterAccess;
  452. property SetterAccess : SetterAccess_Type read FSetterAccess write FSetterAccess stored wstHas_SetterAccess;
  453. end;
  454. TDerivableTypeAttributes = class(TBaseComplexRemotable)
  455. private
  456. FBaseType : TQualifiedName;
  457. F_Abstract : boolean;
  458. FName : TSimpleIdentifier;
  459. private
  460. function wstHas_BaseType() : Boolean;
  461. function wstHas__Abstract() : Boolean;
  462. published
  463. property BaseType : TQualifiedName read FBaseType write FBaseType stored wstHas_BaseType;
  464. property _Abstract : boolean read F_Abstract write F_Abstract stored wstHas__Abstract;
  465. property Name : TSimpleIdentifier read FName write FName;
  466. end;
  467. TEntityType = class(TBaseComplexRemotable)
  468. private
  469. FDocumentation : TDocumentation;
  470. FKey : TEntityKeyElement;
  471. F_Property : TEntityType__PropertyArray;
  472. FNavigationProperty : TEntityType_NavigationPropertyArray;
  473. FValueAnnotation : TEntityType_ValueAnnotationArray;
  474. FTypeAnnotation : TEntityType_TypeAnnotationArray;
  475. FOpenType : boolean;
  476. FTypeAccess : TypeAccess_Type;
  477. FBaseType : TQualifiedName;
  478. F_Abstract : boolean;
  479. FName : TSimpleIdentifier;
  480. private
  481. function wstHas_Documentation() : Boolean;
  482. function wstHas_Key() : Boolean;
  483. function wstHas__Property() : Boolean;
  484. function wstHas_NavigationProperty() : Boolean;
  485. function wstHas_ValueAnnotation() : Boolean;
  486. function wstHas_TypeAnnotation() : Boolean;
  487. function wstHas_OpenType() : Boolean;
  488. function wstHas_TypeAccess() : Boolean;
  489. function wstHas_BaseType() : Boolean;
  490. function wstHas__Abstract() : Boolean;
  491. public
  492. constructor Create();override;
  493. procedure FreeObjectProperties();override;
  494. published
  495. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  496. property Key : TEntityKeyElement read FKey write FKey stored wstHas_Key;
  497. property _Property : TEntityType__PropertyArray read F_Property write F_Property stored wstHas__Property;
  498. property NavigationProperty : TEntityType_NavigationPropertyArray read FNavigationProperty write FNavigationProperty stored wstHas_NavigationProperty;
  499. property ValueAnnotation : TEntityType_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  500. property TypeAnnotation : TEntityType_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  501. property OpenType : boolean read FOpenType write FOpenType stored wstHas_OpenType;
  502. property TypeAccess : TypeAccess_Type read FTypeAccess write FTypeAccess stored wstHas_TypeAccess;
  503. property BaseType : TQualifiedName read FBaseType write FBaseType stored wstHas_BaseType;
  504. property _Abstract : boolean read F_Abstract write F_Abstract stored wstHas__Abstract;
  505. property Name : TSimpleIdentifier read FName write FName;
  506. end;
  507. TEnumTypeMember = class(TBaseComplexRemotable)
  508. private
  509. FName : TSimpleIdentifier;
  510. FValue : Int64;
  511. FDocumentation : TDocumentation;
  512. private
  513. function wstHas_Value() : Boolean;
  514. function wstHas_Documentation() : Boolean;
  515. public
  516. constructor Create();override;
  517. procedure FreeObjectProperties();override;
  518. published
  519. property Name : TSimpleIdentifier read FName write FName;
  520. property Value : Int64 read FValue write FValue stored wstHas_Value;
  521. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  522. end;
  523. TEnumType = class(TBaseComplexRemotable)
  524. private
  525. FDocumentation : TDocumentation;
  526. FMember : TEnumType_MemberArray;
  527. FValueAnnotation : TEnumType_ValueAnnotationArray;
  528. FTypeAnnotation : TEnumType_TypeAnnotationArray;
  529. FIsFlags : boolean;
  530. FUnderlyingType : TPropertyType;
  531. FTypeAccess : TypeAccess_Type;
  532. FName : TSimpleIdentifier;
  533. private
  534. function wstHas_Documentation() : Boolean;
  535. function wstHas_Member() : Boolean;
  536. function wstHas_ValueAnnotation() : Boolean;
  537. function wstHas_TypeAnnotation() : Boolean;
  538. function wstHas_IsFlags() : Boolean;
  539. function wstHas_UnderlyingType() : Boolean;
  540. function wstHas_TypeAccess() : Boolean;
  541. public
  542. constructor Create();override;
  543. procedure FreeObjectProperties();override;
  544. published
  545. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  546. property Member : TEnumType_MemberArray read FMember write FMember stored wstHas_Member;
  547. property ValueAnnotation : TEnumType_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  548. property TypeAnnotation : TEnumType_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  549. property IsFlags : boolean read FIsFlags write FIsFlags stored wstHas_IsFlags;
  550. property UnderlyingType : TPropertyType read FUnderlyingType write FUnderlyingType stored wstHas_UnderlyingType;
  551. property TypeAccess : TypeAccess_Type read FTypeAccess write FTypeAccess stored wstHas_TypeAccess;
  552. property Name : TSimpleIdentifier read FName write FName;
  553. end;
  554. TFacetAttributes = class(TBaseComplexRemotable)
  555. private
  556. FNullable : boolean;
  557. FDefaultValue : UnicodeString;
  558. FMaxLength : TMaxLengthFacet;
  559. FFixedLength : TIsFixedLengthFacet;
  560. FPrecision : TPrecisionFacet;
  561. FScale : TScaleFacet;
  562. FUnicode : TIsUnicodeFacet;
  563. FCollation : TCollationFacet;
  564. FSRID : TSridFacet;
  565. private
  566. function wstHas_Nullable() : Boolean;
  567. function wstHas_DefaultValue() : Boolean;
  568. function wstHas_MaxLength() : Boolean;
  569. function wstHas_FixedLength() : Boolean;
  570. function wstHas_Precision() : Boolean;
  571. function wstHas_Scale() : Boolean;
  572. function wstHas_Unicode() : Boolean;
  573. function wstHas_Collation() : Boolean;
  574. function wstHas_SRID() : Boolean;
  575. published
  576. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  577. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  578. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  579. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  580. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  581. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  582. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  583. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  584. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  585. end;
  586. TFunction = class(TBaseComplexRemotable)
  587. private
  588. FDocumentation : TDocumentation;
  589. FParameter : TFunction_ParameterArray;
  590. FDefiningExpression : TFunction_DefiningExpressionArray;
  591. FReturnType : TFunction_ReturnTypeArray;
  592. FValueAnnotation : TFunction_ValueAnnotationArray;
  593. FTypeAnnotation : TFunction_TypeAnnotationArray;
  594. FName : TSimpleIdentifier;
  595. FReturnTypeAtt : TWrappedFunctionType;
  596. FNullable : boolean;
  597. FDefaultValue : UnicodeString;
  598. FMaxLength : TMaxLengthFacet;
  599. FFixedLength : TIsFixedLengthFacet;
  600. FPrecision : TPrecisionFacet;
  601. FScale : TScaleFacet;
  602. FUnicode : TIsUnicodeFacet;
  603. FCollation : TCollationFacet;
  604. FSRID : TSridFacet;
  605. private
  606. function wstHas_Documentation() : Boolean;
  607. function wstHas_Parameter() : Boolean;
  608. function wstHas_DefiningExpression() : Boolean;
  609. function wstHas_ReturnType() : Boolean;
  610. function wstHas_ValueAnnotation() : Boolean;
  611. function wstHas_TypeAnnotation() : Boolean;
  612. function wstHas_ReturnTypeAtt() : Boolean;
  613. function wstHas_Nullable() : Boolean;
  614. function wstHas_DefaultValue() : Boolean;
  615. function wstHas_MaxLength() : Boolean;
  616. function wstHas_FixedLength() : Boolean;
  617. function wstHas_Precision() : Boolean;
  618. function wstHas_Scale() : Boolean;
  619. function wstHas_Unicode() : Boolean;
  620. function wstHas_Collation() : Boolean;
  621. function wstHas_SRID() : Boolean;
  622. public
  623. constructor Create();override;
  624. procedure FreeObjectProperties();override;
  625. published
  626. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  627. property Parameter : TFunction_ParameterArray read FParameter write FParameter stored wstHas_Parameter;
  628. property DefiningExpression : TFunction_DefiningExpressionArray read FDefiningExpression write FDefiningExpression stored wstHas_DefiningExpression;
  629. property ReturnType : TFunction_ReturnTypeArray read FReturnType write FReturnType stored wstHas_ReturnType;
  630. property ValueAnnotation : TFunction_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  631. property TypeAnnotation : TFunction_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  632. property Name : TSimpleIdentifier read FName write FName;
  633. property ReturnTypeAtt : TWrappedFunctionType read FReturnTypeAtt write FReturnTypeAtt stored wstHas_ReturnTypeAtt;
  634. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  635. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  636. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  637. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  638. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  639. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  640. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  641. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  642. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  643. end;
  644. TFunctionParameter = class(TBaseComplexRemotable)
  645. private
  646. FCollectionType : TCollectionType;
  647. FReferenceType : TReferenceType;
  648. FRowType : TRowType;
  649. FValueAnnotation : TFunctionParameter_ValueAnnotationArray;
  650. FTypeAnnotation : TFunctionParameter_TypeAnnotationArray;
  651. FName : TSimpleIdentifier;
  652. F_Type : TWrappedFunctionType;
  653. FNullable : boolean;
  654. FDefaultValue : UnicodeString;
  655. FMaxLength : TMaxLengthFacet;
  656. FFixedLength : TIsFixedLengthFacet;
  657. FPrecision : TPrecisionFacet;
  658. FScale : TScaleFacet;
  659. FUnicode : TIsUnicodeFacet;
  660. FCollation : TCollationFacet;
  661. FSRID : TSridFacet;
  662. private
  663. function wstHas_CollectionType() : Boolean;
  664. function wstHas_ReferenceType() : Boolean;
  665. function wstHas_RowType() : Boolean;
  666. function wstHas_ValueAnnotation() : Boolean;
  667. function wstHas_TypeAnnotation() : Boolean;
  668. function wstHas__Type() : Boolean;
  669. function wstHas_Nullable() : Boolean;
  670. function wstHas_DefaultValue() : Boolean;
  671. function wstHas_MaxLength() : Boolean;
  672. function wstHas_FixedLength() : Boolean;
  673. function wstHas_Precision() : Boolean;
  674. function wstHas_Scale() : Boolean;
  675. function wstHas_Unicode() : Boolean;
  676. function wstHas_Collation() : Boolean;
  677. function wstHas_SRID() : Boolean;
  678. public
  679. constructor Create();override;
  680. procedure FreeObjectProperties();override;
  681. published
  682. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  683. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  684. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  685. property ValueAnnotation : TFunctionParameter_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  686. property TypeAnnotation : TFunctionParameter_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  687. property Name : TSimpleIdentifier read FName write FName;
  688. property _Type : TWrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  689. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  690. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  691. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  692. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  693. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  694. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  695. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  696. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  697. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  698. end;
  699. TCollectionType = class(TBaseComplexRemotable)
  700. private
  701. FCollectionType : TCollectionType;
  702. FReferenceType : TReferenceType;
  703. FRowType : TRowType;
  704. FTypeRef : TTypeRef;
  705. FElementType : TUnwrappedFunctionType;
  706. FNullable : boolean;
  707. FDefaultValue : UnicodeString;
  708. FMaxLength : TMaxLengthFacet;
  709. FFixedLength : TIsFixedLengthFacet;
  710. FPrecision : TPrecisionFacet;
  711. FScale : TScaleFacet;
  712. FUnicode : TIsUnicodeFacet;
  713. FCollation : TCollationFacet;
  714. FSRID : TSridFacet;
  715. private
  716. function wstHas_CollectionType() : Boolean;
  717. function wstHas_ReferenceType() : Boolean;
  718. function wstHas_RowType() : Boolean;
  719. function wstHas_TypeRef() : Boolean;
  720. function wstHas_ElementType() : Boolean;
  721. function wstHas_Nullable() : Boolean;
  722. function wstHas_DefaultValue() : Boolean;
  723. function wstHas_MaxLength() : Boolean;
  724. function wstHas_FixedLength() : Boolean;
  725. function wstHas_Precision() : Boolean;
  726. function wstHas_Scale() : Boolean;
  727. function wstHas_Unicode() : Boolean;
  728. function wstHas_Collation() : Boolean;
  729. function wstHas_SRID() : Boolean;
  730. public
  731. constructor Create();override;
  732. procedure FreeObjectProperties();override;
  733. published
  734. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  735. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  736. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  737. property TypeRef : TTypeRef read FTypeRef write FTypeRef stored wstHas_TypeRef;
  738. property ElementType : TUnwrappedFunctionType read FElementType write FElementType stored wstHas_ElementType;
  739. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  740. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  741. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  742. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  743. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  744. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  745. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  746. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  747. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  748. end;
  749. TTypeRef = class(TBaseComplexRemotable)
  750. private
  751. F_Type : TUnwrappedFunctionType;
  752. FDocumentation : TDocumentation;
  753. FNullable : boolean;
  754. FDefaultValue : UnicodeString;
  755. FMaxLength : TMaxLengthFacet;
  756. FFixedLength : TIsFixedLengthFacet;
  757. FPrecision : TPrecisionFacet;
  758. FScale : TScaleFacet;
  759. FUnicode : TIsUnicodeFacet;
  760. FCollation : TCollationFacet;
  761. FSRID : TSridFacet;
  762. private
  763. function wstHas_Documentation() : Boolean;
  764. function wstHas_Nullable() : Boolean;
  765. function wstHas_DefaultValue() : Boolean;
  766. function wstHas_MaxLength() : Boolean;
  767. function wstHas_FixedLength() : Boolean;
  768. function wstHas_Precision() : Boolean;
  769. function wstHas_Scale() : Boolean;
  770. function wstHas_Unicode() : Boolean;
  771. function wstHas_Collation() : Boolean;
  772. function wstHas_SRID() : Boolean;
  773. public
  774. constructor Create();override;
  775. procedure FreeObjectProperties();override;
  776. published
  777. property _Type : TUnwrappedFunctionType read F_Type write F_Type;
  778. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  779. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  780. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  781. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  782. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  783. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  784. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  785. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  786. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  787. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  788. end;
  789. TReferenceType = class(TBaseComplexRemotable)
  790. private
  791. F_Type : TUnwrappedFunctionType;
  792. FDocumentation : TDocumentation;
  793. private
  794. function wstHas_Documentation() : Boolean;
  795. public
  796. constructor Create();override;
  797. procedure FreeObjectProperties();override;
  798. published
  799. property _Type : TUnwrappedFunctionType read F_Type write F_Type;
  800. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  801. end;
  802. TRowProperty = class(TBaseComplexRemotable)
  803. private
  804. FCollectionType : TCollectionType;
  805. FReferenceType : TReferenceType;
  806. FRowType : TRowType;
  807. FName : TSimpleIdentifier;
  808. F_Type : TWrappedFunctionType;
  809. FNullable : boolean;
  810. FDefaultValue : UnicodeString;
  811. FMaxLength : TMaxLengthFacet;
  812. FFixedLength : TIsFixedLengthFacet;
  813. FPrecision : TPrecisionFacet;
  814. FScale : TScaleFacet;
  815. FUnicode : TIsUnicodeFacet;
  816. FCollation : TCollationFacet;
  817. FSRID : TSridFacet;
  818. private
  819. function wstHas_CollectionType() : Boolean;
  820. function wstHas_ReferenceType() : Boolean;
  821. function wstHas_RowType() : Boolean;
  822. function wstHas__Type() : Boolean;
  823. function wstHas_Nullable() : Boolean;
  824. function wstHas_DefaultValue() : Boolean;
  825. function wstHas_MaxLength() : Boolean;
  826. function wstHas_FixedLength() : Boolean;
  827. function wstHas_Precision() : Boolean;
  828. function wstHas_Scale() : Boolean;
  829. function wstHas_Unicode() : Boolean;
  830. function wstHas_Collation() : Boolean;
  831. function wstHas_SRID() : Boolean;
  832. public
  833. constructor Create();override;
  834. procedure FreeObjectProperties();override;
  835. published
  836. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  837. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  838. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  839. property Name : TSimpleIdentifier read FName write FName;
  840. property _Type : TWrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  841. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  842. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  843. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  844. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  845. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  846. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  847. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  848. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  849. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  850. end;
  851. TFunctionReturnType = class(TBaseComplexRemotable)
  852. private
  853. FCollectionType : TCollectionType;
  854. FReferenceType : TReferenceType;
  855. FRowType : TRowType;
  856. F_Type : TFunctionImportParameterAndReturnType;
  857. FNullable : boolean;
  858. FDefaultValue : UnicodeString;
  859. FMaxLength : TMaxLengthFacet;
  860. FFixedLength : TIsFixedLengthFacet;
  861. FPrecision : TPrecisionFacet;
  862. FScale : TScaleFacet;
  863. FUnicode : TIsUnicodeFacet;
  864. FCollation : TCollationFacet;
  865. FSRID : TSridFacet;
  866. private
  867. function wstHas_CollectionType() : Boolean;
  868. function wstHas_ReferenceType() : Boolean;
  869. function wstHas_RowType() : Boolean;
  870. function wstHas__Type() : Boolean;
  871. function wstHas_Nullable() : Boolean;
  872. function wstHas_DefaultValue() : Boolean;
  873. function wstHas_MaxLength() : Boolean;
  874. function wstHas_FixedLength() : Boolean;
  875. function wstHas_Precision() : Boolean;
  876. function wstHas_Scale() : Boolean;
  877. function wstHas_Unicode() : Boolean;
  878. function wstHas_Collation() : Boolean;
  879. function wstHas_SRID() : Boolean;
  880. public
  881. constructor Create();override;
  882. procedure FreeObjectProperties();override;
  883. published
  884. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  885. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  886. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  887. property _Type : TFunctionImportParameterAndReturnType read F_Type write F_Type stored wstHas__Type;
  888. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  889. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  890. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  891. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  892. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  893. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  894. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  895. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  896. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  897. end;
  898. TFunctionImportReturnType = class(TBaseComplexRemotable)
  899. private
  900. F_Type : TFunctionImportParameterAndReturnType;
  901. FEntitySet : TSimpleIdentifier;
  902. FEntitySetPath : TPath;
  903. private
  904. function wstHas__Type() : Boolean;
  905. function wstHas_EntitySet() : Boolean;
  906. function wstHas_EntitySetPath() : Boolean;
  907. published
  908. property _Type : TFunctionImportParameterAndReturnType read F_Type write F_Type stored wstHas__Type;
  909. property EntitySet : TSimpleIdentifier read FEntitySet write FEntitySet stored wstHas_EntitySet;
  910. property EntitySetPath : TPath read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  911. end;
  912. TPropertyRef = class(TBaseComplexRemotable)
  913. private
  914. FName : TSimpleIdentifier;
  915. published
  916. property Name : TSimpleIdentifier read FName write FName;
  917. end;
  918. TAnnotations = class(TBaseComplexRemotable)
  919. private
  920. FValueAnnotation : TAnnotations_ValueAnnotationArray;
  921. FTypeAnnotation : TAnnotations_TypeAnnotationArray;
  922. FTarget : TPath;
  923. FQualifier : TSimpleIdentifier;
  924. private
  925. function wstHas_ValueAnnotation() : Boolean;
  926. function wstHas_TypeAnnotation() : Boolean;
  927. function wstHas_Qualifier() : Boolean;
  928. public
  929. constructor Create();override;
  930. procedure FreeObjectProperties();override;
  931. published
  932. property ValueAnnotation : TAnnotations_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  933. property TypeAnnotation : TAnnotations_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  934. property Target : TPath read FTarget write FTarget;
  935. property Qualifier : TSimpleIdentifier read FQualifier write FQualifier stored wstHas_Qualifier;
  936. end;
  937. GExpression = class(TBaseComplexRemotable)
  938. end;
  939. GInlineExpressions = class(TBaseComplexRemotable)
  940. private
  941. F_String : UnicodeString;
  942. FBinary : TBase16StringRemotable;
  943. FInt : integer;
  944. FFloat : Double;
  945. FGuid : TGuidLiteral;
  946. FDecimal : Currency;
  947. FBool : boolean;
  948. FTime : TTimeRemotable;
  949. FDateTime : TDateTimeRemotable;
  950. FDateTimeOffset : TDateTimeRemotable;
  951. FPath : TPath;
  952. private
  953. function wstHas__String() : Boolean;
  954. function wstHas_Binary() : Boolean;
  955. function wstHas_Int() : Boolean;
  956. function wstHas_Float() : Boolean;
  957. function wstHas_Guid() : Boolean;
  958. function wstHas_Decimal() : Boolean;
  959. function wstHas_Bool() : Boolean;
  960. function wstHas_Time() : Boolean;
  961. function wstHas_DateTime() : Boolean;
  962. function wstHas_DateTimeOffset() : Boolean;
  963. function wstHas_Path() : Boolean;
  964. public
  965. constructor Create();override;
  966. procedure FreeObjectProperties();override;
  967. published
  968. property _String : UnicodeString read F_String write F_String stored wstHas__String;
  969. property Binary : TBase16StringRemotable read FBinary write FBinary stored wstHas_Binary;
  970. property Int : integer read FInt write FInt stored wstHas_Int;
  971. property Float : Double read FFloat write FFloat stored wstHas_Float;
  972. property Guid : TGuidLiteral read FGuid write FGuid stored wstHas_Guid;
  973. property Decimal : Currency read FDecimal write FDecimal stored wstHas_Decimal;
  974. property Bool : boolean read FBool write FBool stored wstHas_Bool;
  975. property Time : TTimeRemotable read FTime write FTime stored wstHas_Time;
  976. property DateTime : TDateTimeRemotable read FDateTime write FDateTime stored wstHas_DateTime;
  977. property DateTimeOffset : TDateTimeRemotable read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  978. property Path : TPath read FPath write FPath stored wstHas_Path;
  979. end;
  980. TValueAnnotation = class(TBaseComplexRemotable)
  981. private
  982. FDocumentation : TDocumentation;
  983. FTerm : TQualifiedName;
  984. FQualifier : TSimpleIdentifier;
  985. F_String : UnicodeString;
  986. FBinary : TBase16StringRemotable;
  987. FInt : integer;
  988. FFloat : Double;
  989. FGuid : TGuidLiteral;
  990. FDecimal : Currency;
  991. FBool : boolean;
  992. FTime : TTimeRemotable;
  993. FDateTime : TDateTimeRemotable;
  994. FDateTimeOffset : TDateTimeRemotable;
  995. FPath : TPath;
  996. private
  997. function wstHas_Documentation() : Boolean;
  998. function wstHas_Qualifier() : Boolean;
  999. function wstHas__String() : Boolean;
  1000. function wstHas_Binary() : Boolean;
  1001. function wstHas_Int() : Boolean;
  1002. function wstHas_Float() : Boolean;
  1003. function wstHas_Guid() : Boolean;
  1004. function wstHas_Decimal() : Boolean;
  1005. function wstHas_Bool() : Boolean;
  1006. function wstHas_Time() : Boolean;
  1007. function wstHas_DateTime() : Boolean;
  1008. function wstHas_DateTimeOffset() : Boolean;
  1009. function wstHas_Path() : Boolean;
  1010. public
  1011. constructor Create();override;
  1012. procedure FreeObjectProperties();override;
  1013. published
  1014. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1015. property Term : TQualifiedName read FTerm write FTerm;
  1016. property Qualifier : TSimpleIdentifier read FQualifier write FQualifier stored wstHas_Qualifier;
  1017. property _String : UnicodeString read F_String write F_String stored wstHas__String;
  1018. property Binary : TBase16StringRemotable read FBinary write FBinary stored wstHas_Binary;
  1019. property Int : integer read FInt write FInt stored wstHas_Int;
  1020. property Float : Double read FFloat write FFloat stored wstHas_Float;
  1021. property Guid : TGuidLiteral read FGuid write FGuid stored wstHas_Guid;
  1022. property Decimal : Currency read FDecimal write FDecimal stored wstHas_Decimal;
  1023. property Bool : boolean read FBool write FBool stored wstHas_Bool;
  1024. property Time : TTimeRemotable read FTime write FTime stored wstHas_Time;
  1025. property DateTime : TDateTimeRemotable read FDateTime write FDateTime stored wstHas_DateTime;
  1026. property DateTimeOffset : TDateTimeRemotable read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1027. property Path : TPath read FPath write FPath stored wstHas_Path;
  1028. end;
  1029. TTypeAnnotation = class(TBaseComplexRemotable)
  1030. private
  1031. FDocumentation : TDocumentation;
  1032. FPropertyValue : TTypeAnnotation_PropertyValueArray;
  1033. FTerm : TQualifiedName;
  1034. FQualifier : TSimpleIdentifier;
  1035. F_String : UnicodeString;
  1036. FBinary : TBase16StringRemotable;
  1037. FInt : integer;
  1038. FFloat : Double;
  1039. FGuid : TGuidLiteral;
  1040. FDecimal : Currency;
  1041. FBool : boolean;
  1042. FTime : TTimeRemotable;
  1043. FDateTime : TDateTimeRemotable;
  1044. FDateTimeOffset : TDateTimeRemotable;
  1045. FPath : TPath;
  1046. private
  1047. function wstHas_Documentation() : Boolean;
  1048. function wstHas_PropertyValue() : Boolean;
  1049. function wstHas_Qualifier() : Boolean;
  1050. function wstHas__String() : Boolean;
  1051. function wstHas_Binary() : Boolean;
  1052. function wstHas_Int() : Boolean;
  1053. function wstHas_Float() : Boolean;
  1054. function wstHas_Guid() : Boolean;
  1055. function wstHas_Decimal() : Boolean;
  1056. function wstHas_Bool() : Boolean;
  1057. function wstHas_Time() : Boolean;
  1058. function wstHas_DateTime() : Boolean;
  1059. function wstHas_DateTimeOffset() : Boolean;
  1060. function wstHas_Path() : Boolean;
  1061. public
  1062. constructor Create();override;
  1063. procedure FreeObjectProperties();override;
  1064. published
  1065. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1066. property PropertyValue : TTypeAnnotation_PropertyValueArray read FPropertyValue write FPropertyValue stored wstHas_PropertyValue;
  1067. property Term : TQualifiedName read FTerm write FTerm;
  1068. property Qualifier : TSimpleIdentifier read FQualifier write FQualifier stored wstHas_Qualifier;
  1069. property _String : UnicodeString read F_String write F_String stored wstHas__String;
  1070. property Binary : TBase16StringRemotable read FBinary write FBinary stored wstHas_Binary;
  1071. property Int : integer read FInt write FInt stored wstHas_Int;
  1072. property Float : Double read FFloat write FFloat stored wstHas_Float;
  1073. property Guid : TGuidLiteral read FGuid write FGuid stored wstHas_Guid;
  1074. property Decimal : Currency read FDecimal write FDecimal stored wstHas_Decimal;
  1075. property Bool : boolean read FBool write FBool stored wstHas_Bool;
  1076. property Time : TTimeRemotable read FTime write FTime stored wstHas_Time;
  1077. property DateTime : TDateTimeRemotable read FDateTime write FDateTime stored wstHas_DateTime;
  1078. property DateTimeOffset : TDateTimeRemotable read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1079. property Path : TPath read FPath write FPath stored wstHas_Path;
  1080. end;
  1081. TStringConstantExpression = class(TComplexUnicodeStringContentRemotable)
  1082. end;
  1083. TBinaryConstantExpression = class(TBase16StringExtRemotable)
  1084. end;
  1085. TIntConstantExpression = class(TComplexInt32SContentRemotable)
  1086. end;
  1087. TFloatConstantExpression = class(TComplexFloatDoubleContentRemotable)
  1088. end;
  1089. TGuidConstantExpression = class(TComplexUnicodeStringContentRemotable)
  1090. end;
  1091. TDecimalConstantExpression = class(TComplexCurrencyContentRemotable)
  1092. end;
  1093. TBoolConstantExpression = class(TComplexBooleanContentRemotable)
  1094. end;
  1095. TTimeConstantExpression = class(TTimeRemotable)
  1096. end;
  1097. TDateTimeConstantExpression = class(TDateTimeRemotable)
  1098. end;
  1099. TDateTimeOffsetConstantExpression = class(TDateTimeRemotable)
  1100. end;
  1101. TEnumMemberReferenceExpression = class(TComplexUnicodeStringContentRemotable)
  1102. end;
  1103. TNullExpression = class(TBaseComplexRemotable)
  1104. private
  1105. FDocumentation : TDocumentation;
  1106. private
  1107. function wstHas_Documentation() : Boolean;
  1108. public
  1109. constructor Create();override;
  1110. procedure FreeObjectProperties();override;
  1111. published
  1112. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1113. end;
  1114. TPathExpression = class(TComplexUnicodeStringContentRemotable)
  1115. end;
  1116. TIfExpression = class(TBaseComplexRemotable)
  1117. private
  1118. FDocumentation : TDocumentation;
  1119. private
  1120. function wstHas_Documentation() : Boolean;
  1121. public
  1122. constructor Create();override;
  1123. procedure FreeObjectProperties();override;
  1124. published
  1125. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1126. end;
  1127. TRecordExpression = class(TBaseComplexRemotable)
  1128. private
  1129. FDocumentation : TDocumentation;
  1130. FPropertyValue : TRecordExpression_PropertyValueArray;
  1131. F_Type : TUnwrappedFunctionType;
  1132. private
  1133. function wstHas_Documentation() : Boolean;
  1134. function wstHas_PropertyValue() : Boolean;
  1135. function wstHas__Type() : Boolean;
  1136. public
  1137. constructor Create();override;
  1138. procedure FreeObjectProperties();override;
  1139. published
  1140. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1141. property PropertyValue : TRecordExpression_PropertyValueArray read FPropertyValue write FPropertyValue stored wstHas_PropertyValue;
  1142. property _Type : TUnwrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  1143. end;
  1144. TPropertyValue = class(TBaseComplexRemotable)
  1145. private
  1146. FDocumentation : TDocumentation;
  1147. F_Property : TSimpleIdentifier;
  1148. F_String : UnicodeString;
  1149. FBinary : TBase16StringRemotable;
  1150. FInt : integer;
  1151. FFloat : Double;
  1152. FGuid : TGuidLiteral;
  1153. FDecimal : Currency;
  1154. FBool : boolean;
  1155. FTime : TTimeRemotable;
  1156. FDateTime : TDateTimeRemotable;
  1157. FDateTimeOffset : TDateTimeRemotable;
  1158. FPath : TPath;
  1159. private
  1160. function wstHas_Documentation() : Boolean;
  1161. function wstHas__String() : Boolean;
  1162. function wstHas_Binary() : Boolean;
  1163. function wstHas_Int() : Boolean;
  1164. function wstHas_Float() : Boolean;
  1165. function wstHas_Guid() : Boolean;
  1166. function wstHas_Decimal() : Boolean;
  1167. function wstHas_Bool() : Boolean;
  1168. function wstHas_Time() : Boolean;
  1169. function wstHas_DateTime() : Boolean;
  1170. function wstHas_DateTimeOffset() : Boolean;
  1171. function wstHas_Path() : Boolean;
  1172. public
  1173. constructor Create();override;
  1174. procedure FreeObjectProperties();override;
  1175. published
  1176. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1177. property _Property : TSimpleIdentifier read F_Property write F_Property;
  1178. property _String : UnicodeString read F_String write F_String stored wstHas__String;
  1179. property Binary : TBase16StringRemotable read FBinary write FBinary stored wstHas_Binary;
  1180. property Int : integer read FInt write FInt stored wstHas_Int;
  1181. property Float : Double read FFloat write FFloat stored wstHas_Float;
  1182. property Guid : TGuidLiteral read FGuid write FGuid stored wstHas_Guid;
  1183. property Decimal : Currency read FDecimal write FDecimal stored wstHas_Decimal;
  1184. property Bool : boolean read FBool write FBool stored wstHas_Bool;
  1185. property Time : TTimeRemotable read FTime write FTime stored wstHas_Time;
  1186. property DateTime : TDateTimeRemotable read FDateTime write FDateTime stored wstHas_DateTime;
  1187. property DateTimeOffset : TDateTimeRemotable read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1188. property Path : TPath read FPath write FPath stored wstHas_Path;
  1189. end;
  1190. TCollectionExpression = class(TBaseComplexRemotable)
  1191. private
  1192. FDocumentation : TDocumentation;
  1193. private
  1194. function wstHas_Documentation() : Boolean;
  1195. public
  1196. constructor Create();override;
  1197. procedure FreeObjectProperties();override;
  1198. published
  1199. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1200. end;
  1201. TAssertTypeExpression = class(TBaseComplexRemotable)
  1202. private
  1203. FDocumentation : TDocumentation;
  1204. FCollectionType : TCollectionType;
  1205. FReferenceType : TReferenceType;
  1206. FRowType : TRowType;
  1207. F_Type : TWrappedFunctionType;
  1208. FNullable : boolean;
  1209. FDefaultValue : UnicodeString;
  1210. FMaxLength : TMaxLengthFacet;
  1211. FFixedLength : TIsFixedLengthFacet;
  1212. FPrecision : TPrecisionFacet;
  1213. FScale : TScaleFacet;
  1214. FUnicode : TIsUnicodeFacet;
  1215. FCollation : TCollationFacet;
  1216. FSRID : TSridFacet;
  1217. private
  1218. function wstHas_Documentation() : Boolean;
  1219. function wstHas_CollectionType() : Boolean;
  1220. function wstHas_ReferenceType() : Boolean;
  1221. function wstHas_RowType() : Boolean;
  1222. function wstHas__Type() : Boolean;
  1223. function wstHas_Nullable() : Boolean;
  1224. function wstHas_DefaultValue() : Boolean;
  1225. function wstHas_MaxLength() : Boolean;
  1226. function wstHas_FixedLength() : Boolean;
  1227. function wstHas_Precision() : Boolean;
  1228. function wstHas_Scale() : Boolean;
  1229. function wstHas_Unicode() : Boolean;
  1230. function wstHas_Collation() : Boolean;
  1231. function wstHas_SRID() : Boolean;
  1232. public
  1233. constructor Create();override;
  1234. procedure FreeObjectProperties();override;
  1235. published
  1236. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1237. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  1238. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  1239. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  1240. property _Type : TWrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  1241. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1242. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  1243. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1244. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  1245. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1246. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1247. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  1248. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  1249. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1250. end;
  1251. TIsTypeExpression = class(TBaseComplexRemotable)
  1252. private
  1253. FDocumentation : TDocumentation;
  1254. FCollectionType : TCollectionType;
  1255. FReferenceType : TReferenceType;
  1256. FRowType : TRowType;
  1257. F_Type : TWrappedFunctionType;
  1258. FNullable : boolean;
  1259. FDefaultValue : UnicodeString;
  1260. FMaxLength : TMaxLengthFacet;
  1261. FFixedLength : TIsFixedLengthFacet;
  1262. FPrecision : TPrecisionFacet;
  1263. FScale : TScaleFacet;
  1264. FUnicode : TIsUnicodeFacet;
  1265. FCollation : TCollationFacet;
  1266. FSRID : TSridFacet;
  1267. private
  1268. function wstHas_Documentation() : Boolean;
  1269. function wstHas_CollectionType() : Boolean;
  1270. function wstHas_ReferenceType() : Boolean;
  1271. function wstHas_RowType() : Boolean;
  1272. function wstHas__Type() : Boolean;
  1273. function wstHas_Nullable() : Boolean;
  1274. function wstHas_DefaultValue() : Boolean;
  1275. function wstHas_MaxLength() : Boolean;
  1276. function wstHas_FixedLength() : Boolean;
  1277. function wstHas_Precision() : Boolean;
  1278. function wstHas_Scale() : Boolean;
  1279. function wstHas_Unicode() : Boolean;
  1280. function wstHas_Collation() : Boolean;
  1281. function wstHas_SRID() : Boolean;
  1282. public
  1283. constructor Create();override;
  1284. procedure FreeObjectProperties();override;
  1285. published
  1286. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1287. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  1288. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  1289. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  1290. property _Type : TWrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  1291. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1292. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  1293. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1294. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  1295. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1296. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1297. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  1298. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  1299. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1300. end;
  1301. TFunctionReferenceExpression_Parameter_Type = class(TBaseComplexRemotable)
  1302. private
  1303. FCollectionType : TCollectionType;
  1304. FReferenceType : TReferenceType;
  1305. FRowType : TRowType;
  1306. F_Type : TWrappedFunctionType;
  1307. private
  1308. function wstHas_CollectionType() : Boolean;
  1309. function wstHas_ReferenceType() : Boolean;
  1310. function wstHas_RowType() : Boolean;
  1311. function wstHas__Type() : Boolean;
  1312. public
  1313. constructor Create();override;
  1314. procedure FreeObjectProperties();override;
  1315. published
  1316. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  1317. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  1318. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  1319. property _Type : TWrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  1320. end;
  1321. TFunctionReferenceExpression = class(TBaseComplexRemotable)
  1322. private
  1323. FDocumentation : TDocumentation;
  1324. FParameter : TFunctionReferenceExpression_ParameterArray;
  1325. F_Function : TQualifiedName;
  1326. private
  1327. function wstHas_Documentation() : Boolean;
  1328. function wstHas_Parameter() : Boolean;
  1329. public
  1330. constructor Create();override;
  1331. procedure FreeObjectProperties();override;
  1332. published
  1333. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1334. property Parameter : TFunctionReferenceExpression_ParameterArray read FParameter write FParameter stored wstHas_Parameter;
  1335. property _Function : TQualifiedName read F_Function write F_Function;
  1336. end;
  1337. TEntitySetReferenceExpression = class(TComplexUnicodeStringContentRemotable)
  1338. end;
  1339. TParameterReferenceExpression = class(TComplexUnicodeStringContentRemotable)
  1340. end;
  1341. TApplyExpression = class(TBaseComplexRemotable)
  1342. private
  1343. FDocumentation : TDocumentation;
  1344. F_Function : TQualifiedName;
  1345. private
  1346. function wstHas_Documentation() : Boolean;
  1347. function wstHas__Function() : Boolean;
  1348. public
  1349. constructor Create();override;
  1350. procedure FreeObjectProperties();override;
  1351. published
  1352. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1353. property _Function : TQualifiedName read F_Function write F_Function stored wstHas__Function;
  1354. end;
  1355. TPropertyReferenceExpression = class(TBaseComplexRemotable)
  1356. private
  1357. FDocumentation : TDocumentation;
  1358. F_Property : TSimpleIdentifier;
  1359. private
  1360. function wstHas_Documentation() : Boolean;
  1361. public
  1362. constructor Create();override;
  1363. procedure FreeObjectProperties();override;
  1364. published
  1365. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1366. property _Property : TSimpleIdentifier read F_Property write F_Property;
  1367. end;
  1368. TValueTermReferenceExpression = class(TBaseComplexRemotable)
  1369. private
  1370. FDocumentation : TDocumentation;
  1371. FTerm : TQualifiedName;
  1372. FQualifier : TSimpleIdentifier;
  1373. private
  1374. function wstHas_Documentation() : Boolean;
  1375. function wstHas_Qualifier() : Boolean;
  1376. public
  1377. constructor Create();override;
  1378. procedure FreeObjectProperties();override;
  1379. published
  1380. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1381. property Term : TQualifiedName read FTerm write FTerm;
  1382. property Qualifier : TSimpleIdentifier read FQualifier write FQualifier stored wstHas_Qualifier;
  1383. end;
  1384. TLabeledElement = class(TBaseComplexRemotable)
  1385. private
  1386. FDocumentation : TDocumentation;
  1387. FName : TSimpleIdentifier;
  1388. private
  1389. function wstHas_Documentation() : Boolean;
  1390. public
  1391. constructor Create();override;
  1392. procedure FreeObjectProperties();override;
  1393. published
  1394. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1395. property Name : TSimpleIdentifier read FName write FName;
  1396. end;
  1397. TLabeledElementReferenceExpression = class(TComplexUnicodeStringContentRemotable)
  1398. end;
  1399. TOperations = class(TBaseComplexRemotable)
  1400. private
  1401. FOnDelete : TOnAction;
  1402. private
  1403. function wstHas_OnDelete() : Boolean;
  1404. public
  1405. constructor Create();override;
  1406. procedure FreeObjectProperties();override;
  1407. published
  1408. property OnDelete : TOnAction read FOnDelete write FOnDelete stored wstHas_OnDelete;
  1409. end;
  1410. TAssociationEnd = class(TBaseComplexRemotable)
  1411. private
  1412. FDocumentation : TDocumentation;
  1413. F_Type : TQualifiedName;
  1414. FRole : TSimpleIdentifier;
  1415. FMultiplicity : TMultiplicity;
  1416. FOnDelete : TOnAction;
  1417. private
  1418. function wstHas_Documentation() : Boolean;
  1419. function wstHas_Role() : Boolean;
  1420. function wstHas_Multiplicity() : Boolean;
  1421. function wstHas_OnDelete() : Boolean;
  1422. public
  1423. constructor Create();override;
  1424. procedure FreeObjectProperties();override;
  1425. published
  1426. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1427. property _Type : TQualifiedName read F_Type write F_Type;
  1428. property Role : TSimpleIdentifier read FRole write FRole stored wstHas_Role;
  1429. property Multiplicity : TMultiplicity read FMultiplicity write FMultiplicity stored wstHas_Multiplicity;
  1430. property OnDelete : TOnAction read FOnDelete write FOnDelete stored wstHas_OnDelete;
  1431. end;
  1432. TOnAction = class(TBaseComplexRemotable)
  1433. private
  1434. FAction : TAction;
  1435. FDocumentation : TDocumentation;
  1436. private
  1437. function wstHas_Documentation() : Boolean;
  1438. public
  1439. constructor Create();override;
  1440. procedure FreeObjectProperties();override;
  1441. published
  1442. property Action : TAction read FAction write FAction;
  1443. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1444. end;
  1445. TCommonPropertyAttributes = class(TBaseComplexRemotable)
  1446. private
  1447. FName : TSimpleIdentifier;
  1448. F_Type : TPropertyType;
  1449. FNullable : boolean;
  1450. FDefaultValue : UnicodeString;
  1451. FMaxLength : TMaxLengthFacet;
  1452. FFixedLength : TIsFixedLengthFacet;
  1453. FPrecision : TPrecisionFacet;
  1454. FScale : TScaleFacet;
  1455. FUnicode : TIsUnicodeFacet;
  1456. FCollation : TCollationFacet;
  1457. FSRID : TSridFacet;
  1458. FConcurrencyMode : TConcurrencyMode;
  1459. FSetterAccess : SetterAccess_Type;
  1460. FGetterAccess : GetterAccess_Type;
  1461. private
  1462. function wstHas_Nullable() : Boolean;
  1463. function wstHas_DefaultValue() : Boolean;
  1464. function wstHas_MaxLength() : Boolean;
  1465. function wstHas_FixedLength() : Boolean;
  1466. function wstHas_Precision() : Boolean;
  1467. function wstHas_Scale() : Boolean;
  1468. function wstHas_Unicode() : Boolean;
  1469. function wstHas_Collation() : Boolean;
  1470. function wstHas_SRID() : Boolean;
  1471. function wstHas_ConcurrencyMode() : Boolean;
  1472. function wstHas_SetterAccess() : Boolean;
  1473. function wstHas_GetterAccess() : Boolean;
  1474. published
  1475. property Name : TSimpleIdentifier read FName write FName;
  1476. property _Type : TPropertyType read F_Type write F_Type;
  1477. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1478. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  1479. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1480. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  1481. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1482. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1483. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  1484. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  1485. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1486. property ConcurrencyMode : TConcurrencyMode read FConcurrencyMode write FConcurrencyMode stored wstHas_ConcurrencyMode;
  1487. property SetterAccess : SetterAccess_Type read FSetterAccess write FSetterAccess stored wstHas_SetterAccess;
  1488. property GetterAccess : GetterAccess_Type read FGetterAccess write FGetterAccess stored wstHas_GetterAccess;
  1489. end;
  1490. TEntityProperty = class(TBaseComplexRemotable)
  1491. private
  1492. FDocumentation : TEntityProperty_DocumentationArray;
  1493. FValueAnnotation : TEntityProperty_ValueAnnotationArray;
  1494. FTypeAnnotation : TEntityProperty_TypeAnnotationArray;
  1495. FStoreGeneratedPattern : StoreGeneratedPattern_Type;
  1496. FName : TSimpleIdentifier;
  1497. F_Type : TPropertyType;
  1498. FNullable : boolean;
  1499. FDefaultValue : UnicodeString;
  1500. FMaxLength : TMaxLengthFacet;
  1501. FFixedLength : TIsFixedLengthFacet;
  1502. FPrecision : TPrecisionFacet;
  1503. FScale : TScaleFacet;
  1504. FUnicode : TIsUnicodeFacet;
  1505. FCollation : TCollationFacet;
  1506. FSRID : TSridFacet;
  1507. FConcurrencyMode : TConcurrencyMode;
  1508. FSetterAccess : SetterAccess_Type;
  1509. FGetterAccess : GetterAccess_Type;
  1510. private
  1511. function wstHas_Documentation() : Boolean;
  1512. function wstHas_ValueAnnotation() : Boolean;
  1513. function wstHas_TypeAnnotation() : Boolean;
  1514. function wstHas_StoreGeneratedPattern() : Boolean;
  1515. function wstHas_Nullable() : Boolean;
  1516. function wstHas_DefaultValue() : Boolean;
  1517. function wstHas_MaxLength() : Boolean;
  1518. function wstHas_FixedLength() : Boolean;
  1519. function wstHas_Precision() : Boolean;
  1520. function wstHas_Scale() : Boolean;
  1521. function wstHas_Unicode() : Boolean;
  1522. function wstHas_Collation() : Boolean;
  1523. function wstHas_SRID() : Boolean;
  1524. function wstHas_ConcurrencyMode() : Boolean;
  1525. function wstHas_SetterAccess() : Boolean;
  1526. function wstHas_GetterAccess() : Boolean;
  1527. public
  1528. constructor Create();override;
  1529. procedure FreeObjectProperties();override;
  1530. published
  1531. property Documentation : TEntityProperty_DocumentationArray read FDocumentation write FDocumentation stored wstHas_Documentation;
  1532. property ValueAnnotation : TEntityProperty_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  1533. property TypeAnnotation : TEntityProperty_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  1534. property StoreGeneratedPattern : StoreGeneratedPattern_Type read FStoreGeneratedPattern write FStoreGeneratedPattern stored wstHas_StoreGeneratedPattern;
  1535. property Name : TSimpleIdentifier read FName write FName;
  1536. property _Type : TPropertyType read F_Type write F_Type;
  1537. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1538. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  1539. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1540. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  1541. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1542. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1543. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  1544. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  1545. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1546. property ConcurrencyMode : TConcurrencyMode read FConcurrencyMode write FConcurrencyMode stored wstHas_ConcurrencyMode;
  1547. property SetterAccess : SetterAccess_Type read FSetterAccess write FSetterAccess stored wstHas_SetterAccess;
  1548. property GetterAccess : GetterAccess_Type read FGetterAccess write FGetterAccess stored wstHas_GetterAccess;
  1549. end;
  1550. TComplexTypeProperty = class(TBaseComplexRemotable)
  1551. private
  1552. FDocumentation : TComplexTypeProperty_DocumentationArray;
  1553. FValueAnnotation : TComplexTypeProperty_ValueAnnotationArray;
  1554. FTypeAnnotation : TComplexTypeProperty_TypeAnnotationArray;
  1555. FName : TSimpleIdentifier;
  1556. F_Type : TPropertyType;
  1557. FNullable : boolean;
  1558. FDefaultValue : UnicodeString;
  1559. FMaxLength : TMaxLengthFacet;
  1560. FFixedLength : TIsFixedLengthFacet;
  1561. FPrecision : TPrecisionFacet;
  1562. FScale : TScaleFacet;
  1563. FUnicode : TIsUnicodeFacet;
  1564. FCollation : TCollationFacet;
  1565. FSRID : TSridFacet;
  1566. FConcurrencyMode : TConcurrencyMode;
  1567. FSetterAccess : SetterAccess_Type;
  1568. FGetterAccess : GetterAccess_Type;
  1569. private
  1570. function wstHas_Documentation() : Boolean;
  1571. function wstHas_ValueAnnotation() : Boolean;
  1572. function wstHas_TypeAnnotation() : Boolean;
  1573. function wstHas_Nullable() : Boolean;
  1574. function wstHas_DefaultValue() : Boolean;
  1575. function wstHas_MaxLength() : Boolean;
  1576. function wstHas_FixedLength() : Boolean;
  1577. function wstHas_Precision() : Boolean;
  1578. function wstHas_Scale() : Boolean;
  1579. function wstHas_Unicode() : Boolean;
  1580. function wstHas_Collation() : Boolean;
  1581. function wstHas_SRID() : Boolean;
  1582. function wstHas_ConcurrencyMode() : Boolean;
  1583. function wstHas_SetterAccess() : Boolean;
  1584. function wstHas_GetterAccess() : Boolean;
  1585. public
  1586. constructor Create();override;
  1587. procedure FreeObjectProperties();override;
  1588. published
  1589. property Documentation : TComplexTypeProperty_DocumentationArray read FDocumentation write FDocumentation stored wstHas_Documentation;
  1590. property ValueAnnotation : TComplexTypeProperty_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  1591. property TypeAnnotation : TComplexTypeProperty_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  1592. property Name : TSimpleIdentifier read FName write FName;
  1593. property _Type : TPropertyType read F_Type write F_Type;
  1594. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1595. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  1596. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1597. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  1598. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1599. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1600. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  1601. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  1602. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1603. property ConcurrencyMode : TConcurrencyMode read FConcurrencyMode write FConcurrencyMode stored wstHas_ConcurrencyMode;
  1604. property SetterAccess : SetterAccess_Type read FSetterAccess write FSetterAccess stored wstHas_SetterAccess;
  1605. property GetterAccess : GetterAccess_Type read FGetterAccess write FGetterAccess stored wstHas_GetterAccess;
  1606. end;
  1607. TValueTerm = class(TBaseComplexRemotable)
  1608. private
  1609. FDocumentation : TDocumentation;
  1610. FCollectionType : TCollectionType;
  1611. FReferenceType : TReferenceType;
  1612. FRowType : TRowType;
  1613. FName : TSimpleIdentifier;
  1614. F_Type : TWrappedFunctionType;
  1615. FNullable : boolean;
  1616. FDefaultValue : UnicodeString;
  1617. FMaxLength : TMaxLengthFacet;
  1618. FFixedLength : TIsFixedLengthFacet;
  1619. FPrecision : TPrecisionFacet;
  1620. FScale : TScaleFacet;
  1621. FUnicode : TIsUnicodeFacet;
  1622. FCollation : TCollationFacet;
  1623. FSRID : TSridFacet;
  1624. private
  1625. function wstHas_Documentation() : Boolean;
  1626. function wstHas_CollectionType() : Boolean;
  1627. function wstHas_ReferenceType() : Boolean;
  1628. function wstHas_RowType() : Boolean;
  1629. function wstHas__Type() : Boolean;
  1630. function wstHas_Nullable() : Boolean;
  1631. function wstHas_DefaultValue() : Boolean;
  1632. function wstHas_MaxLength() : Boolean;
  1633. function wstHas_FixedLength() : Boolean;
  1634. function wstHas_Precision() : Boolean;
  1635. function wstHas_Scale() : Boolean;
  1636. function wstHas_Unicode() : Boolean;
  1637. function wstHas_Collation() : Boolean;
  1638. function wstHas_SRID() : Boolean;
  1639. public
  1640. constructor Create();override;
  1641. procedure FreeObjectProperties();override;
  1642. published
  1643. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1644. property CollectionType : TCollectionType read FCollectionType write FCollectionType stored wstHas_CollectionType;
  1645. property ReferenceType : TReferenceType read FReferenceType write FReferenceType stored wstHas_ReferenceType;
  1646. property RowType : TRowType read FRowType write FRowType stored wstHas_RowType;
  1647. property Name : TSimpleIdentifier read FName write FName;
  1648. property _Type : TWrappedFunctionType read F_Type write F_Type stored wstHas__Type;
  1649. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1650. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  1651. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1652. property FixedLength : TIsFixedLengthFacet read FFixedLength write FFixedLength stored wstHas_FixedLength;
  1653. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1654. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1655. property Unicode : TIsUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  1656. property Collation : TCollationFacet read FCollation write FCollation stored wstHas_Collation;
  1657. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1658. end;
  1659. TFunctionImportParameterAttributes = class(TBaseComplexRemotable)
  1660. private
  1661. FName : TSimpleIdentifier;
  1662. F_Type : TFunctionImportParameterAndReturnType;
  1663. FMode : TParameterMode;
  1664. FNullable : boolean;
  1665. FMaxLength : TMaxLengthFacet;
  1666. FPrecision : TPrecisionFacet;
  1667. FScale : TScaleFacet;
  1668. FSRID : TSridFacet;
  1669. private
  1670. function wstHas_Mode() : Boolean;
  1671. function wstHas_Nullable() : Boolean;
  1672. function wstHas_MaxLength() : Boolean;
  1673. function wstHas_Precision() : Boolean;
  1674. function wstHas_Scale() : Boolean;
  1675. function wstHas_SRID() : Boolean;
  1676. published
  1677. property Name : TSimpleIdentifier read FName write FName;
  1678. property _Type : TFunctionImportParameterAndReturnType read F_Type write F_Type;
  1679. property Mode : TParameterMode read FMode write FMode stored wstHas_Mode;
  1680. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1681. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1682. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1683. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1684. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1685. end;
  1686. TFunctionImportParameter = class(TBaseComplexRemotable)
  1687. private
  1688. FDocumentation : TDocumentation;
  1689. FValueAnnotation : TFunctionImportParameter_ValueAnnotationArray;
  1690. FTypeAnnotation : TFunctionImportParameter_TypeAnnotationArray;
  1691. FName : TSimpleIdentifier;
  1692. F_Type : TFunctionImportParameterAndReturnType;
  1693. FMode : TParameterMode;
  1694. FNullable : boolean;
  1695. FMaxLength : TMaxLengthFacet;
  1696. FPrecision : TPrecisionFacet;
  1697. FScale : TScaleFacet;
  1698. FSRID : TSridFacet;
  1699. private
  1700. function wstHas_Documentation() : Boolean;
  1701. function wstHas_ValueAnnotation() : Boolean;
  1702. function wstHas_TypeAnnotation() : Boolean;
  1703. function wstHas_Mode() : Boolean;
  1704. function wstHas_Nullable() : Boolean;
  1705. function wstHas_MaxLength() : Boolean;
  1706. function wstHas_Precision() : Boolean;
  1707. function wstHas_Scale() : Boolean;
  1708. function wstHas_SRID() : Boolean;
  1709. public
  1710. constructor Create();override;
  1711. procedure FreeObjectProperties();override;
  1712. published
  1713. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1714. property ValueAnnotation : TFunctionImportParameter_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  1715. property TypeAnnotation : TFunctionImportParameter_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  1716. property Name : TSimpleIdentifier read FName write FName;
  1717. property _Type : TFunctionImportParameterAndReturnType read F_Type write F_Type;
  1718. property Mode : TParameterMode read FMode write FMode stored wstHas_Mode;
  1719. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  1720. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1721. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1722. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1723. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1724. end;
  1725. TFunctionImportAttributes = class(TBaseComplexRemotable)
  1726. private
  1727. FName : TSimpleIdentifier;
  1728. FReturnType : TFunctionImportParameterAndReturnType;
  1729. FEntitySet : TSimpleIdentifier;
  1730. FEntitySetPath : UnicodeString;
  1731. FIsComposable : boolean;
  1732. FIsSideEffecting : boolean;
  1733. FIsBindable : boolean;
  1734. FMethodAccess : MethodAccess_Type;
  1735. private
  1736. function wstHas_ReturnType() : Boolean;
  1737. function wstHas_EntitySet() : Boolean;
  1738. function wstHas_EntitySetPath() : Boolean;
  1739. function wstHas_IsComposable() : Boolean;
  1740. function wstHas_IsSideEffecting() : Boolean;
  1741. function wstHas_IsBindable() : Boolean;
  1742. function wstHas_MethodAccess() : Boolean;
  1743. published
  1744. property Name : TSimpleIdentifier read FName write FName;
  1745. property ReturnType : TFunctionImportParameterAndReturnType read FReturnType write FReturnType stored wstHas_ReturnType;
  1746. property EntitySet : TSimpleIdentifier read FEntitySet write FEntitySet stored wstHas_EntitySet;
  1747. property EntitySetPath : UnicodeString read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  1748. property IsComposable : boolean read FIsComposable write FIsComposable stored wstHas_IsComposable;
  1749. property IsSideEffecting : boolean read FIsSideEffecting write FIsSideEffecting stored wstHas_IsSideEffecting;
  1750. property IsBindable : boolean read FIsBindable write FIsBindable stored wstHas_IsBindable;
  1751. property MethodAccess : MethodAccess_Type read FMethodAccess write FMethodAccess stored wstHas_MethodAccess;
  1752. end;
  1753. TEntitySetAttributes = class(TBaseComplexRemotable)
  1754. private
  1755. FName : TSimpleIdentifier;
  1756. FEntityType : TQualifiedName;
  1757. FGetterAccess : GetterAccess_Type;
  1758. private
  1759. function wstHas_GetterAccess() : Boolean;
  1760. published
  1761. property Name : TSimpleIdentifier read FName write FName;
  1762. property EntityType : TQualifiedName read FEntityType write FEntityType;
  1763. property GetterAccess : GetterAccess_Type read FGetterAccess write FGetterAccess stored wstHas_GetterAccess;
  1764. end;
  1765. EntityContainer_FunctionImport_Type = class(TBaseComplexRemotable)
  1766. private
  1767. FDocumentation : TDocumentation;
  1768. FReturnType : EntityContainer_FunctionImport_Type_ReturnTypeArray;
  1769. FParameter : EntityContainer_FunctionImport_Type_ParameterArray;
  1770. FValueAnnotation : EntityContainer_FunctionImport_Type_ValueAnnotationArray;
  1771. FTypeAnnotation : EntityContainer_FunctionImport_Type_TypeAnnotationArray;
  1772. FName : TSimpleIdentifier;
  1773. FReturnTypeAtt : TFunctionImportParameterAndReturnType;
  1774. FEntitySet : TSimpleIdentifier;
  1775. FEntitySetPath : UnicodeString;
  1776. FIsComposable : boolean;
  1777. FIsSideEffecting : boolean;
  1778. FIsBindable : boolean;
  1779. FMethodAccess : MethodAccess_Type;
  1780. private
  1781. function wstHas_Documentation() : Boolean;
  1782. function wstHas_ReturnType() : Boolean;
  1783. function wstHas_Parameter() : Boolean;
  1784. function wstHas_ValueAnnotation() : Boolean;
  1785. function wstHas_TypeAnnotation() : Boolean;
  1786. function wstHas_ReturnTypeAtt() : Boolean;
  1787. function wstHas_EntitySet() : Boolean;
  1788. function wstHas_EntitySetPath() : Boolean;
  1789. function wstHas_IsComposable() : Boolean;
  1790. function wstHas_IsSideEffecting() : Boolean;
  1791. function wstHas_IsBindable() : Boolean;
  1792. function wstHas_MethodAccess() : Boolean;
  1793. public
  1794. constructor Create();override;
  1795. procedure FreeObjectProperties();override;
  1796. published
  1797. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1798. property ReturnType : EntityContainer_FunctionImport_Type_ReturnTypeArray read FReturnType write FReturnType stored wstHas_ReturnType;
  1799. property Parameter : EntityContainer_FunctionImport_Type_ParameterArray read FParameter write FParameter stored wstHas_Parameter;
  1800. property ValueAnnotation : EntityContainer_FunctionImport_Type_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  1801. property TypeAnnotation : EntityContainer_FunctionImport_Type_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  1802. property Name : TSimpleIdentifier read FName write FName;
  1803. property ReturnTypeAtt : TFunctionImportParameterAndReturnType read FReturnTypeAtt write FReturnTypeAtt stored wstHas_ReturnTypeAtt;
  1804. property EntitySet : TSimpleIdentifier read FEntitySet write FEntitySet stored wstHas_EntitySet;
  1805. property EntitySetPath : UnicodeString read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  1806. property IsComposable : boolean read FIsComposable write FIsComposable stored wstHas_IsComposable;
  1807. property IsSideEffecting : boolean read FIsSideEffecting write FIsSideEffecting stored wstHas_IsSideEffecting;
  1808. property IsBindable : boolean read FIsBindable write FIsBindable stored wstHas_IsBindable;
  1809. property MethodAccess : MethodAccess_Type read FMethodAccess write FMethodAccess stored wstHas_MethodAccess;
  1810. end;
  1811. EntityContainer_EntitySet_Type = class(TBaseComplexRemotable)
  1812. private
  1813. FDocumentation : TDocumentation;
  1814. FValueAnnotation : EntityContainer_EntitySet_Type_ValueAnnotationArray;
  1815. FTypeAnnotation : EntityContainer_EntitySet_Type_TypeAnnotationArray;
  1816. FName : TSimpleIdentifier;
  1817. FEntityType : TQualifiedName;
  1818. FGetterAccess : GetterAccess_Type;
  1819. private
  1820. function wstHas_Documentation() : Boolean;
  1821. function wstHas_ValueAnnotation() : Boolean;
  1822. function wstHas_TypeAnnotation() : Boolean;
  1823. function wstHas_GetterAccess() : Boolean;
  1824. public
  1825. constructor Create();override;
  1826. procedure FreeObjectProperties();override;
  1827. published
  1828. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1829. property ValueAnnotation : EntityContainer_EntitySet_Type_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  1830. property TypeAnnotation : EntityContainer_EntitySet_Type_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  1831. property Name : TSimpleIdentifier read FName write FName;
  1832. property EntityType : TQualifiedName read FEntityType write FEntityType;
  1833. property GetterAccess : GetterAccess_Type read FGetterAccess write FGetterAccess stored wstHas_GetterAccess;
  1834. end;
  1835. EntityContainer_AssociationSet_Type_End_Type = class(TBaseComplexRemotable)
  1836. private
  1837. FRole : TSimpleIdentifier;
  1838. FEntitySet : TSimpleIdentifier;
  1839. FDocumentation : TDocumentation;
  1840. private
  1841. function wstHas_Role() : Boolean;
  1842. function wstHas_Documentation() : Boolean;
  1843. public
  1844. constructor Create();override;
  1845. procedure FreeObjectProperties();override;
  1846. published
  1847. property Role : TSimpleIdentifier read FRole write FRole stored wstHas_Role;
  1848. property EntitySet : TSimpleIdentifier read FEntitySet write FEntitySet;
  1849. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1850. end;
  1851. EntityContainer_AssociationSet_Type = class(TBaseComplexRemotable)
  1852. private
  1853. FDocumentation : TDocumentation;
  1854. F_End : EntityContainer_AssociationSet_Type__EndArray;
  1855. FName : TSimpleIdentifier;
  1856. FAssociation : TQualifiedName;
  1857. private
  1858. function wstHas_Documentation() : Boolean;
  1859. function wstHas__End() : Boolean;
  1860. public
  1861. constructor Create();override;
  1862. procedure FreeObjectProperties();override;
  1863. published
  1864. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1865. property _End : EntityContainer_AssociationSet_Type__EndArray read F_End write F_End stored wstHas__End;
  1866. property Name : TSimpleIdentifier read FName write FName;
  1867. property Association : TQualifiedName read FAssociation write FAssociation;
  1868. end;
  1869. EntityContainer = class(TBaseComplexRemotable)
  1870. private
  1871. FDocumentation : TDocumentation;
  1872. FFunctionImport : EntityContainer_FunctionImportArray;
  1873. FEntitySet : EntityContainer_EntitySetArray;
  1874. FAssociationSet : EntityContainer_AssociationSetArray;
  1875. FValueAnnotation : EntityContainer_ValueAnnotationArray;
  1876. FTypeAnnotation : EntityContainer_TypeAnnotationArray;
  1877. FName : TSimpleIdentifier;
  1878. FExtends : TSimpleIdentifier;
  1879. FTypeAccess : TypeAccess_Type;
  1880. FLazyLoadingEnabled : LazyLoadingEnabled_Type;
  1881. private
  1882. function wstHas_Documentation() : Boolean;
  1883. function wstHas_FunctionImport() : Boolean;
  1884. function wstHas_EntitySet() : Boolean;
  1885. function wstHas_AssociationSet() : Boolean;
  1886. function wstHas_ValueAnnotation() : Boolean;
  1887. function wstHas_TypeAnnotation() : Boolean;
  1888. function wstHas_Extends() : Boolean;
  1889. function wstHas_TypeAccess() : Boolean;
  1890. function wstHas_LazyLoadingEnabled() : Boolean;
  1891. public
  1892. constructor Create();override;
  1893. procedure FreeObjectProperties();override;
  1894. published
  1895. property Documentation : TDocumentation read FDocumentation write FDocumentation stored wstHas_Documentation;
  1896. property FunctionImport : EntityContainer_FunctionImportArray read FFunctionImport write FFunctionImport stored wstHas_FunctionImport;
  1897. property EntitySet : EntityContainer_EntitySetArray read FEntitySet write FEntitySet stored wstHas_EntitySet;
  1898. property AssociationSet : EntityContainer_AssociationSetArray read FAssociationSet write FAssociationSet stored wstHas_AssociationSet;
  1899. property ValueAnnotation : EntityContainer_ValueAnnotationArray read FValueAnnotation write FValueAnnotation stored wstHas_ValueAnnotation;
  1900. property TypeAnnotation : EntityContainer_TypeAnnotationArray read FTypeAnnotation write FTypeAnnotation stored wstHas_TypeAnnotation;
  1901. property Name : TSimpleIdentifier read FName write FName;
  1902. property Extends : TSimpleIdentifier read FExtends write FExtends stored wstHas_Extends;
  1903. property TypeAccess : TypeAccess_Type read FTypeAccess write FTypeAccess stored wstHas_TypeAccess;
  1904. property LazyLoadingEnabled : LazyLoadingEnabled_Type read FLazyLoadingEnabled write FLazyLoadingEnabled stored wstHas_LazyLoadingEnabled;
  1905. end;
  1906. GSchemaBodyElements_UsingArray = class(TBaseObjectArrayRemotable)
  1907. private
  1908. function GetItem(AIndex: Integer): TUsing;
  1909. public
  1910. class function GetItemClass():TBaseRemotableClass;override;
  1911. property Item[AIndex:Integer] : TUsing Read GetItem;Default;
  1912. end;
  1913. GSchemaBodyElements_AssociationArray = class(TBaseObjectArrayRemotable)
  1914. private
  1915. function GetItem(AIndex: Integer): TAssociation;
  1916. public
  1917. class function GetItemClass():TBaseRemotableClass;override;
  1918. property Item[AIndex:Integer] : TAssociation Read GetItem;Default;
  1919. end;
  1920. GSchemaBodyElements_ComplexTypeArray = class(TBaseObjectArrayRemotable)
  1921. private
  1922. function GetItem(AIndex: Integer): TComplexType;
  1923. public
  1924. class function GetItemClass():TBaseRemotableClass;override;
  1925. property Item[AIndex:Integer] : TComplexType Read GetItem;Default;
  1926. end;
  1927. GSchemaBodyElements_EntityTypeArray = class(TBaseObjectArrayRemotable)
  1928. private
  1929. function GetItem(AIndex: Integer): TEntityType;
  1930. public
  1931. class function GetItemClass():TBaseRemotableClass;override;
  1932. property Item[AIndex:Integer] : TEntityType Read GetItem;Default;
  1933. end;
  1934. GSchemaBodyElements_EnumTypeArray = class(TBaseObjectArrayRemotable)
  1935. private
  1936. function GetItem(AIndex: Integer): TEnumType;
  1937. public
  1938. class function GetItemClass():TBaseRemotableClass;override;
  1939. property Item[AIndex:Integer] : TEnumType Read GetItem;Default;
  1940. end;
  1941. GSchemaBodyElements_ValueTermArray = class(TBaseObjectArrayRemotable)
  1942. private
  1943. function GetItem(AIndex: Integer): TValueTerm;
  1944. public
  1945. class function GetItemClass():TBaseRemotableClass;override;
  1946. property Item[AIndex:Integer] : TValueTerm Read GetItem;Default;
  1947. end;
  1948. GSchemaBodyElements__FunctionArray = class(TBaseObjectArrayRemotable)
  1949. private
  1950. function GetItem(AIndex: Integer): TFunction;
  1951. public
  1952. class function GetItemClass():TBaseRemotableClass;override;
  1953. property Item[AIndex:Integer] : TFunction Read GetItem;Default;
  1954. end;
  1955. GSchemaBodyElements_AnnotationsArray = class(TBaseObjectArrayRemotable)
  1956. private
  1957. function GetItem(AIndex: Integer): TAnnotations;
  1958. public
  1959. class function GetItemClass():TBaseRemotableClass;override;
  1960. property Item[AIndex:Integer] : TAnnotations Read GetItem;Default;
  1961. end;
  1962. TAssociation__EndArray = class(TBaseObjectArrayRemotable)
  1963. private
  1964. function GetItem(AIndex: Integer): TAssociationEnd;
  1965. public
  1966. class function GetItemClass():TBaseRemotableClass;override;
  1967. property Item[AIndex:Integer] : TAssociationEnd Read GetItem;Default;
  1968. end;
  1969. TComplexType__PropertyArray = class(TBaseObjectArrayRemotable)
  1970. private
  1971. function GetItem(AIndex: Integer): TComplexTypeProperty;
  1972. public
  1973. class function GetItemClass():TBaseRemotableClass;override;
  1974. property Item[AIndex:Integer] : TComplexTypeProperty Read GetItem;Default;
  1975. end;
  1976. TComplexType_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  1977. private
  1978. function GetItem(AIndex: Integer): TValueAnnotation;
  1979. public
  1980. class function GetItemClass():TBaseRemotableClass;override;
  1981. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  1982. end;
  1983. TComplexType_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  1984. private
  1985. function GetItem(AIndex: Integer): TTypeAnnotation;
  1986. public
  1987. class function GetItemClass():TBaseRemotableClass;override;
  1988. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  1989. end;
  1990. TReferentialConstraintRoleElement_PropertyRefArray = class(TBaseObjectArrayRemotable)
  1991. private
  1992. function GetItem(AIndex: Integer): TPropertyRef;
  1993. public
  1994. class function GetItemClass():TBaseRemotableClass;override;
  1995. property Item[AIndex:Integer] : TPropertyRef Read GetItem;Default;
  1996. end;
  1997. TNavigationProperty_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  1998. private
  1999. function GetItem(AIndex: Integer): TValueAnnotation;
  2000. public
  2001. class function GetItemClass():TBaseRemotableClass;override;
  2002. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2003. end;
  2004. TNavigationProperty_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2005. private
  2006. function GetItem(AIndex: Integer): TTypeAnnotation;
  2007. public
  2008. class function GetItemClass():TBaseRemotableClass;override;
  2009. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2010. end;
  2011. TEntityType__PropertyArray = class(TBaseObjectArrayRemotable)
  2012. private
  2013. function GetItem(AIndex: Integer): TEntityProperty;
  2014. public
  2015. class function GetItemClass():TBaseRemotableClass;override;
  2016. property Item[AIndex:Integer] : TEntityProperty Read GetItem;Default;
  2017. end;
  2018. TEntityType_NavigationPropertyArray = class(TBaseObjectArrayRemotable)
  2019. private
  2020. function GetItem(AIndex: Integer): TNavigationProperty;
  2021. public
  2022. class function GetItemClass():TBaseRemotableClass;override;
  2023. property Item[AIndex:Integer] : TNavigationProperty Read GetItem;Default;
  2024. end;
  2025. TEntityType_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2026. private
  2027. function GetItem(AIndex: Integer): TValueAnnotation;
  2028. public
  2029. class function GetItemClass():TBaseRemotableClass;override;
  2030. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2031. end;
  2032. TEntityType_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2033. private
  2034. function GetItem(AIndex: Integer): TTypeAnnotation;
  2035. public
  2036. class function GetItemClass():TBaseRemotableClass;override;
  2037. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2038. end;
  2039. TEnumType_MemberArray = class(TBaseObjectArrayRemotable)
  2040. private
  2041. function GetItem(AIndex: Integer): TEnumTypeMember;
  2042. public
  2043. class function GetItemClass():TBaseRemotableClass;override;
  2044. property Item[AIndex:Integer] : TEnumTypeMember Read GetItem;Default;
  2045. end;
  2046. TEnumType_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2047. private
  2048. function GetItem(AIndex: Integer): TValueAnnotation;
  2049. public
  2050. class function GetItemClass():TBaseRemotableClass;override;
  2051. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2052. end;
  2053. TEnumType_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2054. private
  2055. function GetItem(AIndex: Integer): TTypeAnnotation;
  2056. public
  2057. class function GetItemClass():TBaseRemotableClass;override;
  2058. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2059. end;
  2060. TFunction_ParameterArray = class(TBaseObjectArrayRemotable)
  2061. private
  2062. function GetItem(AIndex: Integer): TFunctionParameter;
  2063. public
  2064. class function GetItemClass():TBaseRemotableClass;override;
  2065. property Item[AIndex:Integer] : TFunctionParameter Read GetItem;Default;
  2066. end;
  2067. TFunction_DefiningExpressionArray = class(TBaseSimpleTypeArrayRemotable)
  2068. private
  2069. FData : array of TCommandText;
  2070. private
  2071. function GetItem(AIndex: Integer): TCommandText;
  2072. procedure SetItem(AIndex: Integer; const AValue: TCommandText);
  2073. protected
  2074. function GetLength():Integer;override;
  2075. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2076. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2077. public
  2078. class function GetItemTypeInfo():PTypeInfo;override;
  2079. procedure SetLength(const ANewSize : Integer);override;
  2080. procedure Assign(Source: TPersistent); override;
  2081. property Item[AIndex:Integer] : TCommandText read GetItem write SetItem; default;
  2082. end;
  2083. TFunction_ReturnTypeArray = class(TBaseObjectArrayRemotable)
  2084. private
  2085. function GetItem(AIndex: Integer): TFunctionReturnType;
  2086. public
  2087. class function GetItemClass():TBaseRemotableClass;override;
  2088. property Item[AIndex:Integer] : TFunctionReturnType Read GetItem;Default;
  2089. end;
  2090. TFunction_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2091. private
  2092. function GetItem(AIndex: Integer): TValueAnnotation;
  2093. public
  2094. class function GetItemClass():TBaseRemotableClass;override;
  2095. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2096. end;
  2097. TFunction_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2098. private
  2099. function GetItem(AIndex: Integer): TTypeAnnotation;
  2100. public
  2101. class function GetItemClass():TBaseRemotableClass;override;
  2102. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2103. end;
  2104. TFunctionParameter_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2105. private
  2106. function GetItem(AIndex: Integer): TValueAnnotation;
  2107. public
  2108. class function GetItemClass():TBaseRemotableClass;override;
  2109. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2110. end;
  2111. TFunctionParameter_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2112. private
  2113. function GetItem(AIndex: Integer): TTypeAnnotation;
  2114. public
  2115. class function GetItemClass():TBaseRemotableClass;override;
  2116. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2117. end;
  2118. TRowType = class(TBaseObjectArrayRemotable)
  2119. private
  2120. function GetItem(AIndex: Integer): TRowProperty;
  2121. public
  2122. class function GetItemClass():TBaseRemotableClass;override;
  2123. property Item[AIndex:Integer] : TRowProperty Read GetItem;Default;
  2124. end;
  2125. TEntityKeyElement = class(TBaseObjectArrayRemotable)
  2126. private
  2127. function GetItem(AIndex: Integer): TPropertyRef;
  2128. public
  2129. class function GetItemClass():TBaseRemotableClass;override;
  2130. property Item[AIndex:Integer] : TPropertyRef Read GetItem;Default;
  2131. end;
  2132. TAnnotations_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2133. private
  2134. function GetItem(AIndex: Integer): TValueAnnotation;
  2135. public
  2136. class function GetItemClass():TBaseRemotableClass;override;
  2137. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2138. end;
  2139. TAnnotations_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2140. private
  2141. function GetItem(AIndex: Integer): TTypeAnnotation;
  2142. public
  2143. class function GetItemClass():TBaseRemotableClass;override;
  2144. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2145. end;
  2146. TTypeAnnotation_PropertyValueArray = class(TBaseObjectArrayRemotable)
  2147. private
  2148. function GetItem(AIndex: Integer): TPropertyValue;
  2149. public
  2150. class function GetItemClass():TBaseRemotableClass;override;
  2151. property Item[AIndex:Integer] : TPropertyValue Read GetItem;Default;
  2152. end;
  2153. TRecordExpression_PropertyValueArray = class(TBaseObjectArrayRemotable)
  2154. private
  2155. function GetItem(AIndex: Integer): TPropertyValue;
  2156. public
  2157. class function GetItemClass():TBaseRemotableClass;override;
  2158. property Item[AIndex:Integer] : TPropertyValue Read GetItem;Default;
  2159. end;
  2160. TFunctionReferenceExpression_ParameterArray = class(TBaseObjectArrayRemotable)
  2161. private
  2162. function GetItem(AIndex: Integer): TFunctionReferenceExpression_Parameter_Type;
  2163. public
  2164. class function GetItemClass():TBaseRemotableClass;override;
  2165. property Item[AIndex:Integer] : TFunctionReferenceExpression_Parameter_Type Read GetItem;Default;
  2166. end;
  2167. TEntityProperty_DocumentationArray = class(TBaseObjectArrayRemotable)
  2168. private
  2169. function GetItem(AIndex: Integer): TDocumentation;
  2170. public
  2171. class function GetItemClass():TBaseRemotableClass;override;
  2172. property Item[AIndex:Integer] : TDocumentation Read GetItem;Default;
  2173. end;
  2174. TEntityProperty_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2175. private
  2176. function GetItem(AIndex: Integer): TValueAnnotation;
  2177. public
  2178. class function GetItemClass():TBaseRemotableClass;override;
  2179. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2180. end;
  2181. TEntityProperty_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2182. private
  2183. function GetItem(AIndex: Integer): TTypeAnnotation;
  2184. public
  2185. class function GetItemClass():TBaseRemotableClass;override;
  2186. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2187. end;
  2188. TComplexTypeProperty_DocumentationArray = class(TBaseObjectArrayRemotable)
  2189. private
  2190. function GetItem(AIndex: Integer): TDocumentation;
  2191. public
  2192. class function GetItemClass():TBaseRemotableClass;override;
  2193. property Item[AIndex:Integer] : TDocumentation Read GetItem;Default;
  2194. end;
  2195. TComplexTypeProperty_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2196. private
  2197. function GetItem(AIndex: Integer): TValueAnnotation;
  2198. public
  2199. class function GetItemClass():TBaseRemotableClass;override;
  2200. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2201. end;
  2202. TComplexTypeProperty_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2203. private
  2204. function GetItem(AIndex: Integer): TTypeAnnotation;
  2205. public
  2206. class function GetItemClass():TBaseRemotableClass;override;
  2207. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2208. end;
  2209. TFunctionImportParameter_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2210. private
  2211. function GetItem(AIndex: Integer): TValueAnnotation;
  2212. public
  2213. class function GetItemClass():TBaseRemotableClass;override;
  2214. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2215. end;
  2216. TFunctionImportParameter_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2217. private
  2218. function GetItem(AIndex: Integer): TTypeAnnotation;
  2219. public
  2220. class function GetItemClass():TBaseRemotableClass;override;
  2221. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2222. end;
  2223. EntityContainer_FunctionImport_Type_ReturnTypeArray = class(TBaseObjectArrayRemotable)
  2224. private
  2225. function GetItem(AIndex: Integer): TFunctionImportReturnType;
  2226. public
  2227. class function GetItemClass():TBaseRemotableClass;override;
  2228. property Item[AIndex:Integer] : TFunctionImportReturnType Read GetItem;Default;
  2229. end;
  2230. EntityContainer_FunctionImport_Type_ParameterArray = class(TBaseObjectArrayRemotable)
  2231. private
  2232. function GetItem(AIndex: Integer): TFunctionImportParameter;
  2233. public
  2234. class function GetItemClass():TBaseRemotableClass;override;
  2235. property Item[AIndex:Integer] : TFunctionImportParameter Read GetItem;Default;
  2236. end;
  2237. EntityContainer_FunctionImport_Type_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2238. private
  2239. function GetItem(AIndex: Integer): TValueAnnotation;
  2240. public
  2241. class function GetItemClass():TBaseRemotableClass;override;
  2242. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2243. end;
  2244. EntityContainer_FunctionImport_Type_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2245. private
  2246. function GetItem(AIndex: Integer): TTypeAnnotation;
  2247. public
  2248. class function GetItemClass():TBaseRemotableClass;override;
  2249. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2250. end;
  2251. EntityContainer_EntitySet_Type_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2252. private
  2253. function GetItem(AIndex: Integer): TValueAnnotation;
  2254. public
  2255. class function GetItemClass():TBaseRemotableClass;override;
  2256. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2257. end;
  2258. EntityContainer_EntitySet_Type_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2259. private
  2260. function GetItem(AIndex: Integer): TTypeAnnotation;
  2261. public
  2262. class function GetItemClass():TBaseRemotableClass;override;
  2263. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2264. end;
  2265. EntityContainer_AssociationSet_Type__EndArray = class(TBaseObjectArrayRemotable)
  2266. private
  2267. function GetItem(AIndex: Integer): EntityContainer_AssociationSet_Type_End_Type;
  2268. public
  2269. class function GetItemClass():TBaseRemotableClass;override;
  2270. property Item[AIndex:Integer] : EntityContainer_AssociationSet_Type_End_Type Read GetItem;Default;
  2271. end;
  2272. EntityContainer_FunctionImportArray = class(TBaseObjectArrayRemotable)
  2273. private
  2274. function GetItem(AIndex: Integer): EntityContainer_FunctionImport_Type;
  2275. public
  2276. class function GetItemClass():TBaseRemotableClass;override;
  2277. property Item[AIndex:Integer] : EntityContainer_FunctionImport_Type Read GetItem;Default;
  2278. end;
  2279. EntityContainer_EntitySetArray = class(TBaseObjectArrayRemotable)
  2280. private
  2281. function GetItem(AIndex: Integer): EntityContainer_EntitySet_Type;
  2282. public
  2283. class function GetItemClass():TBaseRemotableClass;override;
  2284. property Item[AIndex:Integer] : EntityContainer_EntitySet_Type Read GetItem;Default;
  2285. end;
  2286. EntityContainer_AssociationSetArray = class(TBaseObjectArrayRemotable)
  2287. private
  2288. function GetItem(AIndex: Integer): EntityContainer_AssociationSet_Type;
  2289. public
  2290. class function GetItemClass():TBaseRemotableClass;override;
  2291. property Item[AIndex:Integer] : EntityContainer_AssociationSet_Type Read GetItem;Default;
  2292. end;
  2293. EntityContainer_ValueAnnotationArray = class(TBaseObjectArrayRemotable)
  2294. private
  2295. function GetItem(AIndex: Integer): TValueAnnotation;
  2296. public
  2297. class function GetItemClass():TBaseRemotableClass;override;
  2298. property Item[AIndex:Integer] : TValueAnnotation Read GetItem;Default;
  2299. end;
  2300. EntityContainer_TypeAnnotationArray = class(TBaseObjectArrayRemotable)
  2301. private
  2302. function GetItem(AIndex: Integer): TTypeAnnotation;
  2303. public
  2304. class function GetItemClass():TBaseRemotableClass;override;
  2305. property Item[AIndex:Integer] : TTypeAnnotation Read GetItem;Default;
  2306. end;
  2307. Implementation
  2308. uses metadata_repository, record_rtti;
  2309. { GSchemaBodyElements }
  2310. constructor GSchemaBodyElements.Create();
  2311. begin
  2312. inherited Create();
  2313. FUsing := GSchemaBodyElements_UsingArray.Create();
  2314. FAssociation := GSchemaBodyElements_AssociationArray.Create();
  2315. FComplexType := GSchemaBodyElements_ComplexTypeArray.Create();
  2316. FEntityType := GSchemaBodyElements_EntityTypeArray.Create();
  2317. FEnumType := GSchemaBodyElements_EnumTypeArray.Create();
  2318. FValueTerm := GSchemaBodyElements_ValueTermArray.Create();
  2319. F_Function := GSchemaBodyElements__FunctionArray.Create();
  2320. FAnnotations := GSchemaBodyElements_AnnotationsArray.Create();
  2321. FEntityContainer := CSDL.EntityContainer.Create();
  2322. end;
  2323. procedure GSchemaBodyElements.FreeObjectProperties();
  2324. begin
  2325. if Assigned(FUsing) then
  2326. FreeAndNil(FUsing);
  2327. if Assigned(FAssociation) then
  2328. FreeAndNil(FAssociation);
  2329. if Assigned(FComplexType) then
  2330. FreeAndNil(FComplexType);
  2331. if Assigned(FEntityType) then
  2332. FreeAndNil(FEntityType);
  2333. if Assigned(FEnumType) then
  2334. FreeAndNil(FEnumType);
  2335. if Assigned(FValueTerm) then
  2336. FreeAndNil(FValueTerm);
  2337. if Assigned(F_Function) then
  2338. FreeAndNil(F_Function);
  2339. if Assigned(FAnnotations) then
  2340. FreeAndNil(FAnnotations);
  2341. if Assigned(FEntityContainer) then
  2342. FreeAndNil(FEntityContainer);
  2343. inherited FreeObjectProperties();
  2344. end;
  2345. function GSchemaBodyElements.wstHas_Using() : Boolean;
  2346. begin
  2347. Result := ( FUsing <> GSchemaBodyElements_UsingArray(0) );
  2348. end;
  2349. function GSchemaBodyElements.wstHas_Association() : Boolean;
  2350. begin
  2351. Result := ( FAssociation <> GSchemaBodyElements_AssociationArray(0) );
  2352. end;
  2353. function GSchemaBodyElements.wstHas_ComplexType() : Boolean;
  2354. begin
  2355. Result := ( FComplexType <> GSchemaBodyElements_ComplexTypeArray(0) );
  2356. end;
  2357. function GSchemaBodyElements.wstHas_EntityType() : Boolean;
  2358. begin
  2359. Result := ( FEntityType <> GSchemaBodyElements_EntityTypeArray(0) );
  2360. end;
  2361. function GSchemaBodyElements.wstHas_EnumType() : Boolean;
  2362. begin
  2363. Result := ( FEnumType <> GSchemaBodyElements_EnumTypeArray(0) );
  2364. end;
  2365. function GSchemaBodyElements.wstHas_ValueTerm() : Boolean;
  2366. begin
  2367. Result := ( FValueTerm <> GSchemaBodyElements_ValueTermArray(0) );
  2368. end;
  2369. function GSchemaBodyElements.wstHas__Function() : Boolean;
  2370. begin
  2371. Result := ( F_Function <> GSchemaBodyElements__FunctionArray(0) );
  2372. end;
  2373. function GSchemaBodyElements.wstHas_Annotations() : Boolean;
  2374. begin
  2375. Result := ( FAnnotations <> GSchemaBodyElements_AnnotationsArray(0) );
  2376. end;
  2377. { TSchema }
  2378. constructor TSchema.Create();
  2379. begin
  2380. inherited Create();
  2381. FUsing := GSchemaBodyElements_UsingArray.Create();
  2382. FAssociation := GSchemaBodyElements_AssociationArray.Create();
  2383. FComplexType := GSchemaBodyElements_ComplexTypeArray.Create();
  2384. FEntityType := GSchemaBodyElements_EntityTypeArray.Create();
  2385. FEnumType := GSchemaBodyElements_EnumTypeArray.Create();
  2386. FValueTerm := GSchemaBodyElements_ValueTermArray.Create();
  2387. F_Function := GSchemaBodyElements__FunctionArray.Create();
  2388. FAnnotations := GSchemaBodyElements_AnnotationsArray.Create();
  2389. FEntityContainer := CSDL.EntityContainer.Create();
  2390. end;
  2391. procedure TSchema.FreeObjectProperties();
  2392. begin
  2393. if Assigned(FUsing) then
  2394. FreeAndNil(FUsing);
  2395. if Assigned(FAssociation) then
  2396. FreeAndNil(FAssociation);
  2397. if Assigned(FComplexType) then
  2398. FreeAndNil(FComplexType);
  2399. if Assigned(FEntityType) then
  2400. FreeAndNil(FEntityType);
  2401. if Assigned(FEnumType) then
  2402. FreeAndNil(FEnumType);
  2403. if Assigned(FValueTerm) then
  2404. FreeAndNil(FValueTerm);
  2405. if Assigned(F_Function) then
  2406. FreeAndNil(F_Function);
  2407. if Assigned(FAnnotations) then
  2408. FreeAndNil(FAnnotations);
  2409. if Assigned(FEntityContainer) then
  2410. FreeAndNil(FEntityContainer);
  2411. inherited FreeObjectProperties();
  2412. end;
  2413. function TSchema.wstHas_Namespace() : Boolean;
  2414. begin
  2415. Result := ( FNamespace <> '' );
  2416. end;
  2417. function TSchema.wstHas_Alias() : Boolean;
  2418. begin
  2419. Result := ( FAlias <> '' );
  2420. end;
  2421. function TSchema.wstHas_Using() : Boolean;
  2422. begin
  2423. Result := ( FUsing <> GSchemaBodyElements_UsingArray(0) );
  2424. end;
  2425. function TSchema.wstHas_Association() : Boolean;
  2426. begin
  2427. Result := ( FAssociation <> GSchemaBodyElements_AssociationArray(0) );
  2428. end;
  2429. function TSchema.wstHas_ComplexType() : Boolean;
  2430. begin
  2431. Result := ( FComplexType <> GSchemaBodyElements_ComplexTypeArray(0) );
  2432. end;
  2433. function TSchema.wstHas_EntityType() : Boolean;
  2434. begin
  2435. Result := ( FEntityType <> GSchemaBodyElements_EntityTypeArray(0) );
  2436. end;
  2437. function TSchema.wstHas_EnumType() : Boolean;
  2438. begin
  2439. Result := ( FEnumType <> GSchemaBodyElements_EnumTypeArray(0) );
  2440. end;
  2441. function TSchema.wstHas_ValueTerm() : Boolean;
  2442. begin
  2443. Result := ( FValueTerm <> GSchemaBodyElements_ValueTermArray(0) );
  2444. end;
  2445. function TSchema.wstHas__Function() : Boolean;
  2446. begin
  2447. Result := ( F_Function <> GSchemaBodyElements__FunctionArray(0) );
  2448. end;
  2449. function TSchema.wstHas_Annotations() : Boolean;
  2450. begin
  2451. Result := ( FAnnotations <> GSchemaBodyElements_AnnotationsArray(0) );
  2452. end;
  2453. { TDocumentation }
  2454. constructor TDocumentation.Create();
  2455. begin
  2456. inherited Create();
  2457. FSummary := TText.Create();
  2458. FLongDescription := TText.Create();
  2459. end;
  2460. procedure TDocumentation.FreeObjectProperties();
  2461. begin
  2462. if Assigned(FSummary) then
  2463. FreeAndNil(FSummary);
  2464. if Assigned(FLongDescription) then
  2465. FreeAndNil(FLongDescription);
  2466. inherited FreeObjectProperties();
  2467. end;
  2468. function TDocumentation.wstHas_Summary() : Boolean;
  2469. begin
  2470. Result := ( FSummary <> nil );
  2471. end;
  2472. function TDocumentation.wstHas_LongDescription() : Boolean;
  2473. begin
  2474. Result := ( FLongDescription <> nil );
  2475. end;
  2476. { GEmptyElementExtensibility }
  2477. constructor GEmptyElementExtensibility.Create();
  2478. begin
  2479. inherited Create();
  2480. FDocumentation := TDocumentation.Create();
  2481. end;
  2482. procedure GEmptyElementExtensibility.FreeObjectProperties();
  2483. begin
  2484. if Assigned(FDocumentation) then
  2485. FreeAndNil(FDocumentation);
  2486. inherited FreeObjectProperties();
  2487. end;
  2488. function GEmptyElementExtensibility.wstHas_Documentation() : Boolean;
  2489. begin
  2490. Result := ( FDocumentation <> nil );
  2491. end;
  2492. { TUsing }
  2493. constructor TUsing.Create();
  2494. begin
  2495. inherited Create();
  2496. FDocumentation := TDocumentation.Create();
  2497. end;
  2498. procedure TUsing.FreeObjectProperties();
  2499. begin
  2500. if Assigned(FDocumentation) then
  2501. FreeAndNil(FDocumentation);
  2502. inherited FreeObjectProperties();
  2503. end;
  2504. function TUsing.wstHas_Documentation() : Boolean;
  2505. begin
  2506. Result := ( FDocumentation <> nil );
  2507. end;
  2508. { TAssociation }
  2509. constructor TAssociation.Create();
  2510. begin
  2511. inherited Create();
  2512. FDocumentation := TDocumentation.Create();
  2513. F_End := TAssociation__EndArray.Create();
  2514. FReferentialConstraint := TConstraint.Create();
  2515. end;
  2516. procedure TAssociation.FreeObjectProperties();
  2517. begin
  2518. if Assigned(FDocumentation) then
  2519. FreeAndNil(FDocumentation);
  2520. if Assigned(F_End) then
  2521. FreeAndNil(F_End);
  2522. if Assigned(FReferentialConstraint) then
  2523. FreeAndNil(FReferentialConstraint);
  2524. inherited FreeObjectProperties();
  2525. end;
  2526. function TAssociation.wstHas_Documentation() : Boolean;
  2527. begin
  2528. Result := ( FDocumentation <> nil );
  2529. end;
  2530. function TAssociation.wstHas_ReferentialConstraint() : Boolean;
  2531. begin
  2532. Result := ( FReferentialConstraint <> nil );
  2533. end;
  2534. { TComplexType }
  2535. constructor TComplexType.Create();
  2536. begin
  2537. inherited Create();
  2538. FDocumentation := TDocumentation.Create();
  2539. F_Property := TComplexType__PropertyArray.Create();
  2540. FValueAnnotation := TComplexType_ValueAnnotationArray.Create();
  2541. FTypeAnnotation := TComplexType_TypeAnnotationArray.Create();
  2542. end;
  2543. procedure TComplexType.FreeObjectProperties();
  2544. begin
  2545. if Assigned(FDocumentation) then
  2546. FreeAndNil(FDocumentation);
  2547. if Assigned(F_Property) then
  2548. FreeAndNil(F_Property);
  2549. if Assigned(FValueAnnotation) then
  2550. FreeAndNil(FValueAnnotation);
  2551. if Assigned(FTypeAnnotation) then
  2552. FreeAndNil(FTypeAnnotation);
  2553. inherited FreeObjectProperties();
  2554. end;
  2555. function TComplexType.wstHas_Documentation() : Boolean;
  2556. begin
  2557. Result := ( FDocumentation <> nil );
  2558. end;
  2559. function TComplexType.wstHas__Property() : Boolean;
  2560. begin
  2561. Result := ( F_Property <> TComplexType__PropertyArray(0) );
  2562. end;
  2563. function TComplexType.wstHas_ValueAnnotation() : Boolean;
  2564. begin
  2565. Result := ( FValueAnnotation <> TComplexType_ValueAnnotationArray(0) );
  2566. end;
  2567. function TComplexType.wstHas_TypeAnnotation() : Boolean;
  2568. begin
  2569. Result := ( FTypeAnnotation <> TComplexType_TypeAnnotationArray(0) );
  2570. end;
  2571. function TComplexType.wstHas_TypeAccess() : Boolean;
  2572. begin
  2573. Result := True;
  2574. end;
  2575. { TConstraint }
  2576. constructor TConstraint.Create();
  2577. begin
  2578. inherited Create();
  2579. FDocumentation := TDocumentation.Create();
  2580. FPrincipal := TReferentialConstraintRoleElement.Create();
  2581. FDependent := TReferentialConstraintRoleElement.Create();
  2582. end;
  2583. procedure TConstraint.FreeObjectProperties();
  2584. begin
  2585. if Assigned(FDocumentation) then
  2586. FreeAndNil(FDocumentation);
  2587. if Assigned(FPrincipal) then
  2588. FreeAndNil(FPrincipal);
  2589. if Assigned(FDependent) then
  2590. FreeAndNil(FDependent);
  2591. inherited FreeObjectProperties();
  2592. end;
  2593. function TConstraint.wstHas_Documentation() : Boolean;
  2594. begin
  2595. Result := ( FDocumentation <> nil );
  2596. end;
  2597. { TReferentialConstraintRoleElement }
  2598. constructor TReferentialConstraintRoleElement.Create();
  2599. begin
  2600. inherited Create();
  2601. FPropertyRef := TReferentialConstraintRoleElement_PropertyRefArray.Create();
  2602. end;
  2603. procedure TReferentialConstraintRoleElement.FreeObjectProperties();
  2604. begin
  2605. if Assigned(FPropertyRef) then
  2606. FreeAndNil(FPropertyRef);
  2607. inherited FreeObjectProperties();
  2608. end;
  2609. { TNavigationProperty }
  2610. constructor TNavigationProperty.Create();
  2611. begin
  2612. inherited Create();
  2613. FDocumentation := TDocumentation.Create();
  2614. FValueAnnotation := TNavigationProperty_ValueAnnotationArray.Create();
  2615. FTypeAnnotation := TNavigationProperty_TypeAnnotationArray.Create();
  2616. end;
  2617. procedure TNavigationProperty.FreeObjectProperties();
  2618. begin
  2619. if Assigned(FDocumentation) then
  2620. FreeAndNil(FDocumentation);
  2621. if Assigned(FValueAnnotation) then
  2622. FreeAndNil(FValueAnnotation);
  2623. if Assigned(FTypeAnnotation) then
  2624. FreeAndNil(FTypeAnnotation);
  2625. inherited FreeObjectProperties();
  2626. end;
  2627. function TNavigationProperty.wstHas_Documentation() : Boolean;
  2628. begin
  2629. Result := ( FDocumentation <> nil );
  2630. end;
  2631. function TNavigationProperty.wstHas_ValueAnnotation() : Boolean;
  2632. begin
  2633. Result := ( FValueAnnotation <> TNavigationProperty_ValueAnnotationArray(0) );
  2634. end;
  2635. function TNavigationProperty.wstHas_TypeAnnotation() : Boolean;
  2636. begin
  2637. Result := ( FTypeAnnotation <> TNavigationProperty_TypeAnnotationArray(0) );
  2638. end;
  2639. function TNavigationProperty.wstHas_ContainsTarget() : Boolean;
  2640. begin
  2641. Result := ( FContainsTarget <> boolean(0) );
  2642. end;
  2643. function TNavigationProperty.wstHas_GetterAccess() : Boolean;
  2644. begin
  2645. Result := True;
  2646. end;
  2647. function TNavigationProperty.wstHas_SetterAccess() : Boolean;
  2648. begin
  2649. Result := True;
  2650. end;
  2651. function TDerivableTypeAttributes.wstHas_BaseType() : Boolean;
  2652. begin
  2653. Result := ( FBaseType <> '' );
  2654. end;
  2655. function TDerivableTypeAttributes.wstHas__Abstract() : Boolean;
  2656. begin
  2657. Result := ( F_Abstract <> boolean(0) );
  2658. end;
  2659. { TEntityType }
  2660. constructor TEntityType.Create();
  2661. begin
  2662. inherited Create();
  2663. FDocumentation := TDocumentation.Create();
  2664. FKey := TEntityKeyElement.Create();
  2665. F_Property := TEntityType__PropertyArray.Create();
  2666. FNavigationProperty := TEntityType_NavigationPropertyArray.Create();
  2667. FValueAnnotation := TEntityType_ValueAnnotationArray.Create();
  2668. FTypeAnnotation := TEntityType_TypeAnnotationArray.Create();
  2669. end;
  2670. procedure TEntityType.FreeObjectProperties();
  2671. begin
  2672. if Assigned(FDocumentation) then
  2673. FreeAndNil(FDocumentation);
  2674. if Assigned(FKey) then
  2675. FreeAndNil(FKey);
  2676. if Assigned(F_Property) then
  2677. FreeAndNil(F_Property);
  2678. if Assigned(FNavigationProperty) then
  2679. FreeAndNil(FNavigationProperty);
  2680. if Assigned(FValueAnnotation) then
  2681. FreeAndNil(FValueAnnotation);
  2682. if Assigned(FTypeAnnotation) then
  2683. FreeAndNil(FTypeAnnotation);
  2684. inherited FreeObjectProperties();
  2685. end;
  2686. function TEntityType.wstHas_Documentation() : Boolean;
  2687. begin
  2688. Result := ( FDocumentation <> nil );
  2689. end;
  2690. function TEntityType.wstHas_Key() : Boolean;
  2691. begin
  2692. Result := ( FKey <> TEntityKeyElement(0) );
  2693. end;
  2694. function TEntityType.wstHas__Property() : Boolean;
  2695. begin
  2696. Result := ( F_Property <> TEntityType__PropertyArray(0) );
  2697. end;
  2698. function TEntityType.wstHas_NavigationProperty() : Boolean;
  2699. begin
  2700. Result := ( FNavigationProperty <> TEntityType_NavigationPropertyArray(0) );
  2701. end;
  2702. function TEntityType.wstHas_ValueAnnotation() : Boolean;
  2703. begin
  2704. Result := ( FValueAnnotation <> TEntityType_ValueAnnotationArray(0) );
  2705. end;
  2706. function TEntityType.wstHas_TypeAnnotation() : Boolean;
  2707. begin
  2708. Result := ( FTypeAnnotation <> TEntityType_TypeAnnotationArray(0) );
  2709. end;
  2710. function TEntityType.wstHas_OpenType() : Boolean;
  2711. begin
  2712. Result := ( FOpenType <> boolean(0) );
  2713. end;
  2714. function TEntityType.wstHas_TypeAccess() : Boolean;
  2715. begin
  2716. Result := True;
  2717. end;
  2718. function TEntityType.wstHas_BaseType() : Boolean;
  2719. begin
  2720. Result := ( FBaseType <> '' );
  2721. end;
  2722. function TEntityType.wstHas__Abstract() : Boolean;
  2723. begin
  2724. Result := ( F_Abstract <> boolean(0) );
  2725. end;
  2726. { TEnumTypeMember }
  2727. constructor TEnumTypeMember.Create();
  2728. begin
  2729. inherited Create();
  2730. FDocumentation := TDocumentation.Create();
  2731. end;
  2732. procedure TEnumTypeMember.FreeObjectProperties();
  2733. begin
  2734. if Assigned(FDocumentation) then
  2735. FreeAndNil(FDocumentation);
  2736. inherited FreeObjectProperties();
  2737. end;
  2738. function TEnumTypeMember.wstHas_Value() : Boolean;
  2739. begin
  2740. Result := ( FValue <> Int64(0) );
  2741. end;
  2742. function TEnumTypeMember.wstHas_Documentation() : Boolean;
  2743. begin
  2744. Result := ( FDocumentation <> nil );
  2745. end;
  2746. { TEnumType }
  2747. constructor TEnumType.Create();
  2748. begin
  2749. inherited Create();
  2750. FDocumentation := TDocumentation.Create();
  2751. FMember := TEnumType_MemberArray.Create();
  2752. FValueAnnotation := TEnumType_ValueAnnotationArray.Create();
  2753. FTypeAnnotation := TEnumType_TypeAnnotationArray.Create();
  2754. end;
  2755. procedure TEnumType.FreeObjectProperties();
  2756. begin
  2757. if Assigned(FDocumentation) then
  2758. FreeAndNil(FDocumentation);
  2759. if Assigned(FMember) then
  2760. FreeAndNil(FMember);
  2761. if Assigned(FValueAnnotation) then
  2762. FreeAndNil(FValueAnnotation);
  2763. if Assigned(FTypeAnnotation) then
  2764. FreeAndNil(FTypeAnnotation);
  2765. inherited FreeObjectProperties();
  2766. end;
  2767. function TEnumType.wstHas_Documentation() : Boolean;
  2768. begin
  2769. Result := ( FDocumentation <> nil );
  2770. end;
  2771. function TEnumType.wstHas_Member() : Boolean;
  2772. begin
  2773. Result := ( FMember <> TEnumType_MemberArray(0) );
  2774. end;
  2775. function TEnumType.wstHas_ValueAnnotation() : Boolean;
  2776. begin
  2777. Result := ( FValueAnnotation <> TEnumType_ValueAnnotationArray(0) );
  2778. end;
  2779. function TEnumType.wstHas_TypeAnnotation() : Boolean;
  2780. begin
  2781. Result := ( FTypeAnnotation <> TEnumType_TypeAnnotationArray(0) );
  2782. end;
  2783. function TEnumType.wstHas_IsFlags() : Boolean;
  2784. begin
  2785. Result := ( FIsFlags <> boolean(0) );
  2786. end;
  2787. function TEnumType.wstHas_UnderlyingType() : Boolean;
  2788. begin
  2789. Result := ( FUnderlyingType <> '' );
  2790. end;
  2791. function TEnumType.wstHas_TypeAccess() : Boolean;
  2792. begin
  2793. Result := True;
  2794. end;
  2795. function TFacetAttributes.wstHas_Nullable() : Boolean;
  2796. begin
  2797. Result := ( FNullable <> boolean(0) );
  2798. end;
  2799. function TFacetAttributes.wstHas_DefaultValue() : Boolean;
  2800. begin
  2801. Result := ( FDefaultValue <> '' );
  2802. end;
  2803. function TFacetAttributes.wstHas_MaxLength() : Boolean;
  2804. begin
  2805. Result := ( FMaxLength <> '' );
  2806. end;
  2807. function TFacetAttributes.wstHas_FixedLength() : Boolean;
  2808. begin
  2809. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  2810. end;
  2811. function TFacetAttributes.wstHas_Precision() : Boolean;
  2812. begin
  2813. Result := ( FPrecision <> TPrecisionFacet(0) );
  2814. end;
  2815. function TFacetAttributes.wstHas_Scale() : Boolean;
  2816. begin
  2817. Result := ( FScale <> TScaleFacet(0) );
  2818. end;
  2819. function TFacetAttributes.wstHas_Unicode() : Boolean;
  2820. begin
  2821. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  2822. end;
  2823. function TFacetAttributes.wstHas_Collation() : Boolean;
  2824. begin
  2825. Result := ( FCollation <> '' );
  2826. end;
  2827. function TFacetAttributes.wstHas_SRID() : Boolean;
  2828. begin
  2829. Result := ( FSRID <> '' );
  2830. end;
  2831. { TFunction }
  2832. constructor TFunction.Create();
  2833. begin
  2834. inherited Create();
  2835. FDocumentation := TDocumentation.Create();
  2836. FParameter := TFunction_ParameterArray.Create();
  2837. FDefiningExpression := TFunction_DefiningExpressionArray.Create();
  2838. FReturnType := TFunction_ReturnTypeArray.Create();
  2839. FValueAnnotation := TFunction_ValueAnnotationArray.Create();
  2840. FTypeAnnotation := TFunction_TypeAnnotationArray.Create();
  2841. end;
  2842. procedure TFunction.FreeObjectProperties();
  2843. begin
  2844. if Assigned(FDocumentation) then
  2845. FreeAndNil(FDocumentation);
  2846. if Assigned(FParameter) then
  2847. FreeAndNil(FParameter);
  2848. if Assigned(FDefiningExpression) then
  2849. FreeAndNil(FDefiningExpression);
  2850. if Assigned(FReturnType) then
  2851. FreeAndNil(FReturnType);
  2852. if Assigned(FValueAnnotation) then
  2853. FreeAndNil(FValueAnnotation);
  2854. if Assigned(FTypeAnnotation) then
  2855. FreeAndNil(FTypeAnnotation);
  2856. inherited FreeObjectProperties();
  2857. end;
  2858. function TFunction.wstHas_Documentation() : Boolean;
  2859. begin
  2860. Result := ( FDocumentation <> nil );
  2861. end;
  2862. function TFunction.wstHas_Parameter() : Boolean;
  2863. begin
  2864. Result := ( FParameter <> TFunction_ParameterArray(0) );
  2865. end;
  2866. function TFunction.wstHas_DefiningExpression() : Boolean;
  2867. begin
  2868. Result := ( FDefiningExpression <> TFunction_DefiningExpressionArray(0) );
  2869. end;
  2870. function TFunction.wstHas_ReturnType() : Boolean;
  2871. begin
  2872. Result := ( FReturnType <> TFunction_ReturnTypeArray(0) );
  2873. end;
  2874. function TFunction.wstHas_ValueAnnotation() : Boolean;
  2875. begin
  2876. Result := ( FValueAnnotation <> TFunction_ValueAnnotationArray(0) );
  2877. end;
  2878. function TFunction.wstHas_TypeAnnotation() : Boolean;
  2879. begin
  2880. Result := ( FTypeAnnotation <> TFunction_TypeAnnotationArray(0) );
  2881. end;
  2882. function TFunction.wstHas_ReturnTypeAtt() : Boolean;
  2883. begin
  2884. Result := ( FReturnTypeAtt <> '' );
  2885. end;
  2886. function TFunction.wstHas_Nullable() : Boolean;
  2887. begin
  2888. Result := ( FNullable <> boolean(0) );
  2889. end;
  2890. function TFunction.wstHas_DefaultValue() : Boolean;
  2891. begin
  2892. Result := ( FDefaultValue <> '' );
  2893. end;
  2894. function TFunction.wstHas_MaxLength() : Boolean;
  2895. begin
  2896. Result := ( FMaxLength <> '' );
  2897. end;
  2898. function TFunction.wstHas_FixedLength() : Boolean;
  2899. begin
  2900. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  2901. end;
  2902. function TFunction.wstHas_Precision() : Boolean;
  2903. begin
  2904. Result := ( FPrecision <> TPrecisionFacet(0) );
  2905. end;
  2906. function TFunction.wstHas_Scale() : Boolean;
  2907. begin
  2908. Result := ( FScale <> TScaleFacet(0) );
  2909. end;
  2910. function TFunction.wstHas_Unicode() : Boolean;
  2911. begin
  2912. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  2913. end;
  2914. function TFunction.wstHas_Collation() : Boolean;
  2915. begin
  2916. Result := ( FCollation <> '' );
  2917. end;
  2918. function TFunction.wstHas_SRID() : Boolean;
  2919. begin
  2920. Result := ( FSRID <> '' );
  2921. end;
  2922. { TFunctionParameter }
  2923. constructor TFunctionParameter.Create();
  2924. begin
  2925. inherited Create();
  2926. FCollectionType := TCollectionType.Create();
  2927. FReferenceType := TReferenceType.Create();
  2928. FRowType := TRowType.Create();
  2929. FValueAnnotation := TFunctionParameter_ValueAnnotationArray.Create();
  2930. FTypeAnnotation := TFunctionParameter_TypeAnnotationArray.Create();
  2931. end;
  2932. procedure TFunctionParameter.FreeObjectProperties();
  2933. begin
  2934. if Assigned(FCollectionType) then
  2935. FreeAndNil(FCollectionType);
  2936. if Assigned(FReferenceType) then
  2937. FreeAndNil(FReferenceType);
  2938. if Assigned(FRowType) then
  2939. FreeAndNil(FRowType);
  2940. if Assigned(FValueAnnotation) then
  2941. FreeAndNil(FValueAnnotation);
  2942. if Assigned(FTypeAnnotation) then
  2943. FreeAndNil(FTypeAnnotation);
  2944. inherited FreeObjectProperties();
  2945. end;
  2946. function TFunctionParameter.wstHas_CollectionType() : Boolean;
  2947. begin
  2948. Result := ( FCollectionType <> nil );
  2949. end;
  2950. function TFunctionParameter.wstHas_ReferenceType() : Boolean;
  2951. begin
  2952. Result := ( FReferenceType <> nil );
  2953. end;
  2954. function TFunctionParameter.wstHas_RowType() : Boolean;
  2955. begin
  2956. Result := ( FRowType <> TRowType(0) );
  2957. end;
  2958. function TFunctionParameter.wstHas_ValueAnnotation() : Boolean;
  2959. begin
  2960. Result := ( FValueAnnotation <> TFunctionParameter_ValueAnnotationArray(0) );
  2961. end;
  2962. function TFunctionParameter.wstHas_TypeAnnotation() : Boolean;
  2963. begin
  2964. Result := ( FTypeAnnotation <> TFunctionParameter_TypeAnnotationArray(0) );
  2965. end;
  2966. function TFunctionParameter.wstHas__Type() : Boolean;
  2967. begin
  2968. Result := ( F_Type <> '' );
  2969. end;
  2970. function TFunctionParameter.wstHas_Nullable() : Boolean;
  2971. begin
  2972. Result := ( FNullable <> boolean(0) );
  2973. end;
  2974. function TFunctionParameter.wstHas_DefaultValue() : Boolean;
  2975. begin
  2976. Result := ( FDefaultValue <> '' );
  2977. end;
  2978. function TFunctionParameter.wstHas_MaxLength() : Boolean;
  2979. begin
  2980. Result := ( FMaxLength <> '' );
  2981. end;
  2982. function TFunctionParameter.wstHas_FixedLength() : Boolean;
  2983. begin
  2984. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  2985. end;
  2986. function TFunctionParameter.wstHas_Precision() : Boolean;
  2987. begin
  2988. Result := ( FPrecision <> TPrecisionFacet(0) );
  2989. end;
  2990. function TFunctionParameter.wstHas_Scale() : Boolean;
  2991. begin
  2992. Result := ( FScale <> TScaleFacet(0) );
  2993. end;
  2994. function TFunctionParameter.wstHas_Unicode() : Boolean;
  2995. begin
  2996. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  2997. end;
  2998. function TFunctionParameter.wstHas_Collation() : Boolean;
  2999. begin
  3000. Result := ( FCollation <> '' );
  3001. end;
  3002. function TFunctionParameter.wstHas_SRID() : Boolean;
  3003. begin
  3004. Result := ( FSRID <> '' );
  3005. end;
  3006. { TCollectionType }
  3007. constructor TCollectionType.Create();
  3008. begin
  3009. inherited Create();
  3010. FReferenceType := TReferenceType.Create();
  3011. FRowType := TRowType.Create();
  3012. FTypeRef := TTypeRef.Create();
  3013. end;
  3014. procedure TCollectionType.FreeObjectProperties();
  3015. begin
  3016. if Assigned(FCollectionType) then
  3017. FreeAndNil(FCollectionType);
  3018. if Assigned(FReferenceType) then
  3019. FreeAndNil(FReferenceType);
  3020. if Assigned(FRowType) then
  3021. FreeAndNil(FRowType);
  3022. if Assigned(FTypeRef) then
  3023. FreeAndNil(FTypeRef);
  3024. inherited FreeObjectProperties();
  3025. end;
  3026. function TCollectionType.wstHas_CollectionType() : Boolean;
  3027. begin
  3028. Result := ( FCollectionType <> nil );
  3029. end;
  3030. function TCollectionType.wstHas_ReferenceType() : Boolean;
  3031. begin
  3032. Result := ( FReferenceType <> nil );
  3033. end;
  3034. function TCollectionType.wstHas_RowType() : Boolean;
  3035. begin
  3036. Result := ( FRowType <> TRowType(0) );
  3037. end;
  3038. function TCollectionType.wstHas_TypeRef() : Boolean;
  3039. begin
  3040. Result := ( FTypeRef <> nil );
  3041. end;
  3042. function TCollectionType.wstHas_ElementType() : Boolean;
  3043. begin
  3044. Result := ( FElementType <> '' );
  3045. end;
  3046. function TCollectionType.wstHas_Nullable() : Boolean;
  3047. begin
  3048. Result := ( FNullable <> boolean(0) );
  3049. end;
  3050. function TCollectionType.wstHas_DefaultValue() : Boolean;
  3051. begin
  3052. Result := ( FDefaultValue <> '' );
  3053. end;
  3054. function TCollectionType.wstHas_MaxLength() : Boolean;
  3055. begin
  3056. Result := ( FMaxLength <> '' );
  3057. end;
  3058. function TCollectionType.wstHas_FixedLength() : Boolean;
  3059. begin
  3060. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  3061. end;
  3062. function TCollectionType.wstHas_Precision() : Boolean;
  3063. begin
  3064. Result := ( FPrecision <> TPrecisionFacet(0) );
  3065. end;
  3066. function TCollectionType.wstHas_Scale() : Boolean;
  3067. begin
  3068. Result := ( FScale <> TScaleFacet(0) );
  3069. end;
  3070. function TCollectionType.wstHas_Unicode() : Boolean;
  3071. begin
  3072. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  3073. end;
  3074. function TCollectionType.wstHas_Collation() : Boolean;
  3075. begin
  3076. Result := ( FCollation <> '' );
  3077. end;
  3078. function TCollectionType.wstHas_SRID() : Boolean;
  3079. begin
  3080. Result := ( FSRID <> '' );
  3081. end;
  3082. { TTypeRef }
  3083. constructor TTypeRef.Create();
  3084. begin
  3085. inherited Create();
  3086. FDocumentation := TDocumentation.Create();
  3087. end;
  3088. procedure TTypeRef.FreeObjectProperties();
  3089. begin
  3090. if Assigned(FDocumentation) then
  3091. FreeAndNil(FDocumentation);
  3092. inherited FreeObjectProperties();
  3093. end;
  3094. function TTypeRef.wstHas_Documentation() : Boolean;
  3095. begin
  3096. Result := ( FDocumentation <> nil );
  3097. end;
  3098. function TTypeRef.wstHas_Nullable() : Boolean;
  3099. begin
  3100. Result := ( FNullable <> boolean(0) );
  3101. end;
  3102. function TTypeRef.wstHas_DefaultValue() : Boolean;
  3103. begin
  3104. Result := ( FDefaultValue <> '' );
  3105. end;
  3106. function TTypeRef.wstHas_MaxLength() : Boolean;
  3107. begin
  3108. Result := ( FMaxLength <> '' );
  3109. end;
  3110. function TTypeRef.wstHas_FixedLength() : Boolean;
  3111. begin
  3112. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  3113. end;
  3114. function TTypeRef.wstHas_Precision() : Boolean;
  3115. begin
  3116. Result := ( FPrecision <> TPrecisionFacet(0) );
  3117. end;
  3118. function TTypeRef.wstHas_Scale() : Boolean;
  3119. begin
  3120. Result := ( FScale <> TScaleFacet(0) );
  3121. end;
  3122. function TTypeRef.wstHas_Unicode() : Boolean;
  3123. begin
  3124. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  3125. end;
  3126. function TTypeRef.wstHas_Collation() : Boolean;
  3127. begin
  3128. Result := ( FCollation <> '' );
  3129. end;
  3130. function TTypeRef.wstHas_SRID() : Boolean;
  3131. begin
  3132. Result := ( FSRID <> '' );
  3133. end;
  3134. { TReferenceType }
  3135. constructor TReferenceType.Create();
  3136. begin
  3137. inherited Create();
  3138. FDocumentation := TDocumentation.Create();
  3139. end;
  3140. procedure TReferenceType.FreeObjectProperties();
  3141. begin
  3142. if Assigned(FDocumentation) then
  3143. FreeAndNil(FDocumentation);
  3144. inherited FreeObjectProperties();
  3145. end;
  3146. function TReferenceType.wstHas_Documentation() : Boolean;
  3147. begin
  3148. Result := ( FDocumentation <> nil );
  3149. end;
  3150. { TRowProperty }
  3151. constructor TRowProperty.Create();
  3152. begin
  3153. inherited Create();
  3154. FCollectionType := TCollectionType.Create();
  3155. FReferenceType := TReferenceType.Create();
  3156. FRowType := TRowType.Create();
  3157. end;
  3158. procedure TRowProperty.FreeObjectProperties();
  3159. begin
  3160. if Assigned(FCollectionType) then
  3161. FreeAndNil(FCollectionType);
  3162. if Assigned(FReferenceType) then
  3163. FreeAndNil(FReferenceType);
  3164. if Assigned(FRowType) then
  3165. FreeAndNil(FRowType);
  3166. inherited FreeObjectProperties();
  3167. end;
  3168. function TRowProperty.wstHas_CollectionType() : Boolean;
  3169. begin
  3170. Result := ( FCollectionType <> nil );
  3171. end;
  3172. function TRowProperty.wstHas_ReferenceType() : Boolean;
  3173. begin
  3174. Result := ( FReferenceType <> nil );
  3175. end;
  3176. function TRowProperty.wstHas_RowType() : Boolean;
  3177. begin
  3178. Result := ( FRowType <> TRowType(0) );
  3179. end;
  3180. function TRowProperty.wstHas__Type() : Boolean;
  3181. begin
  3182. Result := ( F_Type <> '' );
  3183. end;
  3184. function TRowProperty.wstHas_Nullable() : Boolean;
  3185. begin
  3186. Result := ( FNullable <> boolean(0) );
  3187. end;
  3188. function TRowProperty.wstHas_DefaultValue() : Boolean;
  3189. begin
  3190. Result := ( FDefaultValue <> '' );
  3191. end;
  3192. function TRowProperty.wstHas_MaxLength() : Boolean;
  3193. begin
  3194. Result := ( FMaxLength <> '' );
  3195. end;
  3196. function TRowProperty.wstHas_FixedLength() : Boolean;
  3197. begin
  3198. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  3199. end;
  3200. function TRowProperty.wstHas_Precision() : Boolean;
  3201. begin
  3202. Result := ( FPrecision <> TPrecisionFacet(0) );
  3203. end;
  3204. function TRowProperty.wstHas_Scale() : Boolean;
  3205. begin
  3206. Result := ( FScale <> TScaleFacet(0) );
  3207. end;
  3208. function TRowProperty.wstHas_Unicode() : Boolean;
  3209. begin
  3210. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  3211. end;
  3212. function TRowProperty.wstHas_Collation() : Boolean;
  3213. begin
  3214. Result := ( FCollation <> '' );
  3215. end;
  3216. function TRowProperty.wstHas_SRID() : Boolean;
  3217. begin
  3218. Result := ( FSRID <> '' );
  3219. end;
  3220. { TFunctionReturnType }
  3221. constructor TFunctionReturnType.Create();
  3222. begin
  3223. inherited Create();
  3224. FCollectionType := TCollectionType.Create();
  3225. FReferenceType := TReferenceType.Create();
  3226. FRowType := TRowType.Create();
  3227. end;
  3228. procedure TFunctionReturnType.FreeObjectProperties();
  3229. begin
  3230. if Assigned(FCollectionType) then
  3231. FreeAndNil(FCollectionType);
  3232. if Assigned(FReferenceType) then
  3233. FreeAndNil(FReferenceType);
  3234. if Assigned(FRowType) then
  3235. FreeAndNil(FRowType);
  3236. inherited FreeObjectProperties();
  3237. end;
  3238. function TFunctionReturnType.wstHas_CollectionType() : Boolean;
  3239. begin
  3240. Result := ( FCollectionType <> nil );
  3241. end;
  3242. function TFunctionReturnType.wstHas_ReferenceType() : Boolean;
  3243. begin
  3244. Result := ( FReferenceType <> nil );
  3245. end;
  3246. function TFunctionReturnType.wstHas_RowType() : Boolean;
  3247. begin
  3248. Result := ( FRowType <> TRowType(0) );
  3249. end;
  3250. function TFunctionReturnType.wstHas__Type() : Boolean;
  3251. begin
  3252. Result := ( F_Type <> '' );
  3253. end;
  3254. function TFunctionReturnType.wstHas_Nullable() : Boolean;
  3255. begin
  3256. Result := ( FNullable <> boolean(0) );
  3257. end;
  3258. function TFunctionReturnType.wstHas_DefaultValue() : Boolean;
  3259. begin
  3260. Result := ( FDefaultValue <> '' );
  3261. end;
  3262. function TFunctionReturnType.wstHas_MaxLength() : Boolean;
  3263. begin
  3264. Result := ( FMaxLength <> '' );
  3265. end;
  3266. function TFunctionReturnType.wstHas_FixedLength() : Boolean;
  3267. begin
  3268. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  3269. end;
  3270. function TFunctionReturnType.wstHas_Precision() : Boolean;
  3271. begin
  3272. Result := ( FPrecision <> TPrecisionFacet(0) );
  3273. end;
  3274. function TFunctionReturnType.wstHas_Scale() : Boolean;
  3275. begin
  3276. Result := ( FScale <> TScaleFacet(0) );
  3277. end;
  3278. function TFunctionReturnType.wstHas_Unicode() : Boolean;
  3279. begin
  3280. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  3281. end;
  3282. function TFunctionReturnType.wstHas_Collation() : Boolean;
  3283. begin
  3284. Result := ( FCollation <> '' );
  3285. end;
  3286. function TFunctionReturnType.wstHas_SRID() : Boolean;
  3287. begin
  3288. Result := ( FSRID <> '' );
  3289. end;
  3290. function TFunctionImportReturnType.wstHas__Type() : Boolean;
  3291. begin
  3292. Result := ( F_Type <> '' );
  3293. end;
  3294. function TFunctionImportReturnType.wstHas_EntitySet() : Boolean;
  3295. begin
  3296. Result := ( FEntitySet <> '' );
  3297. end;
  3298. function TFunctionImportReturnType.wstHas_EntitySetPath() : Boolean;
  3299. begin
  3300. Result := ( FEntitySetPath <> '' );
  3301. end;
  3302. { TAnnotations }
  3303. constructor TAnnotations.Create();
  3304. begin
  3305. inherited Create();
  3306. FValueAnnotation := TAnnotations_ValueAnnotationArray.Create();
  3307. FTypeAnnotation := TAnnotations_TypeAnnotationArray.Create();
  3308. end;
  3309. procedure TAnnotations.FreeObjectProperties();
  3310. begin
  3311. if Assigned(FValueAnnotation) then
  3312. FreeAndNil(FValueAnnotation);
  3313. if Assigned(FTypeAnnotation) then
  3314. FreeAndNil(FTypeAnnotation);
  3315. inherited FreeObjectProperties();
  3316. end;
  3317. function TAnnotations.wstHas_ValueAnnotation() : Boolean;
  3318. begin
  3319. Result := ( FValueAnnotation <> TAnnotations_ValueAnnotationArray(0) );
  3320. end;
  3321. function TAnnotations.wstHas_TypeAnnotation() : Boolean;
  3322. begin
  3323. Result := ( FTypeAnnotation <> TAnnotations_TypeAnnotationArray(0) );
  3324. end;
  3325. function TAnnotations.wstHas_Qualifier() : Boolean;
  3326. begin
  3327. Result := ( FQualifier <> '' );
  3328. end;
  3329. { GInlineExpressions }
  3330. constructor GInlineExpressions.Create();
  3331. begin
  3332. inherited Create();
  3333. FBinary := TBase16StringRemotable.Create();
  3334. FTime := TTimeRemotable.Create();
  3335. FDateTime := TDateTimeRemotable.Create();
  3336. FDateTimeOffset := TDateTimeRemotable.Create();
  3337. end;
  3338. procedure GInlineExpressions.FreeObjectProperties();
  3339. begin
  3340. if Assigned(FBinary) then
  3341. FreeAndNil(FBinary);
  3342. if Assigned(FTime) then
  3343. FreeAndNil(FTime);
  3344. if Assigned(FDateTime) then
  3345. FreeAndNil(FDateTime);
  3346. if Assigned(FDateTimeOffset) then
  3347. FreeAndNil(FDateTimeOffset);
  3348. inherited FreeObjectProperties();
  3349. end;
  3350. function GInlineExpressions.wstHas__String() : Boolean;
  3351. begin
  3352. Result := ( F_String <> '' );
  3353. end;
  3354. function GInlineExpressions.wstHas_Binary() : Boolean;
  3355. begin
  3356. Result := ( FBinary <> nil );
  3357. end;
  3358. function GInlineExpressions.wstHas_Int() : Boolean;
  3359. begin
  3360. Result := ( FInt <> integer(0) );
  3361. end;
  3362. function GInlineExpressions.wstHas_Float() : Boolean;
  3363. begin
  3364. Result := ( FFloat <> 0 );
  3365. end;
  3366. function GInlineExpressions.wstHas_Guid() : Boolean;
  3367. begin
  3368. Result := ( FGuid <> '' );
  3369. end;
  3370. function GInlineExpressions.wstHas_Decimal() : Boolean;
  3371. begin
  3372. Result := ( FDecimal <> 0 );
  3373. end;
  3374. function GInlineExpressions.wstHas_Bool() : Boolean;
  3375. begin
  3376. Result := ( FBool <> boolean(0) );
  3377. end;
  3378. function GInlineExpressions.wstHas_Time() : Boolean;
  3379. begin
  3380. Result := ( FTime <> nil );
  3381. end;
  3382. function GInlineExpressions.wstHas_DateTime() : Boolean;
  3383. begin
  3384. Result := ( FDateTime <> nil );
  3385. end;
  3386. function GInlineExpressions.wstHas_DateTimeOffset() : Boolean;
  3387. begin
  3388. Result := ( FDateTimeOffset <> nil );
  3389. end;
  3390. function GInlineExpressions.wstHas_Path() : Boolean;
  3391. begin
  3392. Result := ( FPath <> '' );
  3393. end;
  3394. { TValueAnnotation }
  3395. constructor TValueAnnotation.Create();
  3396. begin
  3397. inherited Create();
  3398. FDocumentation := TDocumentation.Create();
  3399. FBinary := TBase16StringRemotable.Create();
  3400. FTime := TTimeRemotable.Create();
  3401. FDateTime := TDateTimeRemotable.Create();
  3402. FDateTimeOffset := TDateTimeRemotable.Create();
  3403. end;
  3404. procedure TValueAnnotation.FreeObjectProperties();
  3405. begin
  3406. if Assigned(FDocumentation) then
  3407. FreeAndNil(FDocumentation);
  3408. if Assigned(FBinary) then
  3409. FreeAndNil(FBinary);
  3410. if Assigned(FTime) then
  3411. FreeAndNil(FTime);
  3412. if Assigned(FDateTime) then
  3413. FreeAndNil(FDateTime);
  3414. if Assigned(FDateTimeOffset) then
  3415. FreeAndNil(FDateTimeOffset);
  3416. inherited FreeObjectProperties();
  3417. end;
  3418. function TValueAnnotation.wstHas_Documentation() : Boolean;
  3419. begin
  3420. Result := ( FDocumentation <> nil );
  3421. end;
  3422. function TValueAnnotation.wstHas_Qualifier() : Boolean;
  3423. begin
  3424. Result := ( FQualifier <> '' );
  3425. end;
  3426. function TValueAnnotation.wstHas__String() : Boolean;
  3427. begin
  3428. Result := ( F_String <> '' );
  3429. end;
  3430. function TValueAnnotation.wstHas_Binary() : Boolean;
  3431. begin
  3432. Result := ( FBinary <> nil );
  3433. end;
  3434. function TValueAnnotation.wstHas_Int() : Boolean;
  3435. begin
  3436. Result := ( FInt <> integer(0) );
  3437. end;
  3438. function TValueAnnotation.wstHas_Float() : Boolean;
  3439. begin
  3440. Result := ( FFloat <> 0 );
  3441. end;
  3442. function TValueAnnotation.wstHas_Guid() : Boolean;
  3443. begin
  3444. Result := ( FGuid <> '' );
  3445. end;
  3446. function TValueAnnotation.wstHas_Decimal() : Boolean;
  3447. begin
  3448. Result := ( FDecimal <> 0 );
  3449. end;
  3450. function TValueAnnotation.wstHas_Bool() : Boolean;
  3451. begin
  3452. Result := ( FBool <> boolean(0) );
  3453. end;
  3454. function TValueAnnotation.wstHas_Time() : Boolean;
  3455. begin
  3456. Result := ( FTime <> nil );
  3457. end;
  3458. function TValueAnnotation.wstHas_DateTime() : Boolean;
  3459. begin
  3460. Result := ( FDateTime <> nil );
  3461. end;
  3462. function TValueAnnotation.wstHas_DateTimeOffset() : Boolean;
  3463. begin
  3464. Result := ( FDateTimeOffset <> nil );
  3465. end;
  3466. function TValueAnnotation.wstHas_Path() : Boolean;
  3467. begin
  3468. Result := ( FPath <> '' );
  3469. end;
  3470. { TTypeAnnotation }
  3471. constructor TTypeAnnotation.Create();
  3472. begin
  3473. inherited Create();
  3474. FDocumentation := TDocumentation.Create();
  3475. FPropertyValue := TTypeAnnotation_PropertyValueArray.Create();
  3476. FBinary := TBase16StringRemotable.Create();
  3477. FTime := TTimeRemotable.Create();
  3478. FDateTime := TDateTimeRemotable.Create();
  3479. FDateTimeOffset := TDateTimeRemotable.Create();
  3480. end;
  3481. procedure TTypeAnnotation.FreeObjectProperties();
  3482. begin
  3483. if Assigned(FDocumentation) then
  3484. FreeAndNil(FDocumentation);
  3485. if Assigned(FPropertyValue) then
  3486. FreeAndNil(FPropertyValue);
  3487. if Assigned(FBinary) then
  3488. FreeAndNil(FBinary);
  3489. if Assigned(FTime) then
  3490. FreeAndNil(FTime);
  3491. if Assigned(FDateTime) then
  3492. FreeAndNil(FDateTime);
  3493. if Assigned(FDateTimeOffset) then
  3494. FreeAndNil(FDateTimeOffset);
  3495. inherited FreeObjectProperties();
  3496. end;
  3497. function TTypeAnnotation.wstHas_Documentation() : Boolean;
  3498. begin
  3499. Result := ( FDocumentation <> nil );
  3500. end;
  3501. function TTypeAnnotation.wstHas_PropertyValue() : Boolean;
  3502. begin
  3503. Result := ( FPropertyValue <> TTypeAnnotation_PropertyValueArray(0) );
  3504. end;
  3505. function TTypeAnnotation.wstHas_Qualifier() : Boolean;
  3506. begin
  3507. Result := ( FQualifier <> '' );
  3508. end;
  3509. function TTypeAnnotation.wstHas__String() : Boolean;
  3510. begin
  3511. Result := ( F_String <> '' );
  3512. end;
  3513. function TTypeAnnotation.wstHas_Binary() : Boolean;
  3514. begin
  3515. Result := ( FBinary <> nil );
  3516. end;
  3517. function TTypeAnnotation.wstHas_Int() : Boolean;
  3518. begin
  3519. Result := ( FInt <> integer(0) );
  3520. end;
  3521. function TTypeAnnotation.wstHas_Float() : Boolean;
  3522. begin
  3523. Result := ( FFloat <> 0 );
  3524. end;
  3525. function TTypeAnnotation.wstHas_Guid() : Boolean;
  3526. begin
  3527. Result := ( FGuid <> '' );
  3528. end;
  3529. function TTypeAnnotation.wstHas_Decimal() : Boolean;
  3530. begin
  3531. Result := ( FDecimal <> 0 );
  3532. end;
  3533. function TTypeAnnotation.wstHas_Bool() : Boolean;
  3534. begin
  3535. Result := ( FBool <> boolean(0) );
  3536. end;
  3537. function TTypeAnnotation.wstHas_Time() : Boolean;
  3538. begin
  3539. Result := ( FTime <> nil );
  3540. end;
  3541. function TTypeAnnotation.wstHas_DateTime() : Boolean;
  3542. begin
  3543. Result := ( FDateTime <> nil );
  3544. end;
  3545. function TTypeAnnotation.wstHas_DateTimeOffset() : Boolean;
  3546. begin
  3547. Result := ( FDateTimeOffset <> nil );
  3548. end;
  3549. function TTypeAnnotation.wstHas_Path() : Boolean;
  3550. begin
  3551. Result := ( FPath <> '' );
  3552. end;
  3553. { TNullExpression }
  3554. constructor TNullExpression.Create();
  3555. begin
  3556. inherited Create();
  3557. FDocumentation := TDocumentation.Create();
  3558. end;
  3559. procedure TNullExpression.FreeObjectProperties();
  3560. begin
  3561. if Assigned(FDocumentation) then
  3562. FreeAndNil(FDocumentation);
  3563. inherited FreeObjectProperties();
  3564. end;
  3565. function TNullExpression.wstHas_Documentation() : Boolean;
  3566. begin
  3567. Result := ( FDocumentation <> nil );
  3568. end;
  3569. { TIfExpression }
  3570. constructor TIfExpression.Create();
  3571. begin
  3572. inherited Create();
  3573. FDocumentation := TDocumentation.Create();
  3574. end;
  3575. procedure TIfExpression.FreeObjectProperties();
  3576. begin
  3577. if Assigned(FDocumentation) then
  3578. FreeAndNil(FDocumentation);
  3579. inherited FreeObjectProperties();
  3580. end;
  3581. function TIfExpression.wstHas_Documentation() : Boolean;
  3582. begin
  3583. Result := ( FDocumentation <> nil );
  3584. end;
  3585. { TRecordExpression }
  3586. constructor TRecordExpression.Create();
  3587. begin
  3588. inherited Create();
  3589. FDocumentation := TDocumentation.Create();
  3590. FPropertyValue := TRecordExpression_PropertyValueArray.Create();
  3591. end;
  3592. procedure TRecordExpression.FreeObjectProperties();
  3593. begin
  3594. if Assigned(FDocumentation) then
  3595. FreeAndNil(FDocumentation);
  3596. if Assigned(FPropertyValue) then
  3597. FreeAndNil(FPropertyValue);
  3598. inherited FreeObjectProperties();
  3599. end;
  3600. function TRecordExpression.wstHas_Documentation() : Boolean;
  3601. begin
  3602. Result := ( FDocumentation <> nil );
  3603. end;
  3604. function TRecordExpression.wstHas_PropertyValue() : Boolean;
  3605. begin
  3606. Result := ( FPropertyValue <> TRecordExpression_PropertyValueArray(0) );
  3607. end;
  3608. function TRecordExpression.wstHas__Type() : Boolean;
  3609. begin
  3610. Result := ( F_Type <> '' );
  3611. end;
  3612. { TPropertyValue }
  3613. constructor TPropertyValue.Create();
  3614. begin
  3615. inherited Create();
  3616. FDocumentation := TDocumentation.Create();
  3617. FBinary := TBase16StringRemotable.Create();
  3618. FTime := TTimeRemotable.Create();
  3619. FDateTime := TDateTimeRemotable.Create();
  3620. FDateTimeOffset := TDateTimeRemotable.Create();
  3621. end;
  3622. procedure TPropertyValue.FreeObjectProperties();
  3623. begin
  3624. if Assigned(FDocumentation) then
  3625. FreeAndNil(FDocumentation);
  3626. if Assigned(FBinary) then
  3627. FreeAndNil(FBinary);
  3628. if Assigned(FTime) then
  3629. FreeAndNil(FTime);
  3630. if Assigned(FDateTime) then
  3631. FreeAndNil(FDateTime);
  3632. if Assigned(FDateTimeOffset) then
  3633. FreeAndNil(FDateTimeOffset);
  3634. inherited FreeObjectProperties();
  3635. end;
  3636. function TPropertyValue.wstHas_Documentation() : Boolean;
  3637. begin
  3638. Result := ( FDocumentation <> nil );
  3639. end;
  3640. function TPropertyValue.wstHas__String() : Boolean;
  3641. begin
  3642. Result := ( F_String <> '' );
  3643. end;
  3644. function TPropertyValue.wstHas_Binary() : Boolean;
  3645. begin
  3646. Result := ( FBinary <> nil );
  3647. end;
  3648. function TPropertyValue.wstHas_Int() : Boolean;
  3649. begin
  3650. Result := ( FInt <> integer(0) );
  3651. end;
  3652. function TPropertyValue.wstHas_Float() : Boolean;
  3653. begin
  3654. Result := ( FFloat <> 0 );
  3655. end;
  3656. function TPropertyValue.wstHas_Guid() : Boolean;
  3657. begin
  3658. Result := ( FGuid <> '' );
  3659. end;
  3660. function TPropertyValue.wstHas_Decimal() : Boolean;
  3661. begin
  3662. Result := ( FDecimal <> 0 );
  3663. end;
  3664. function TPropertyValue.wstHas_Bool() : Boolean;
  3665. begin
  3666. Result := ( FBool <> boolean(0) );
  3667. end;
  3668. function TPropertyValue.wstHas_Time() : Boolean;
  3669. begin
  3670. Result := ( FTime <> nil );
  3671. end;
  3672. function TPropertyValue.wstHas_DateTime() : Boolean;
  3673. begin
  3674. Result := ( FDateTime <> nil );
  3675. end;
  3676. function TPropertyValue.wstHas_DateTimeOffset() : Boolean;
  3677. begin
  3678. Result := ( FDateTimeOffset <> nil );
  3679. end;
  3680. function TPropertyValue.wstHas_Path() : Boolean;
  3681. begin
  3682. Result := ( FPath <> '' );
  3683. end;
  3684. { TCollectionExpression }
  3685. constructor TCollectionExpression.Create();
  3686. begin
  3687. inherited Create();
  3688. FDocumentation := TDocumentation.Create();
  3689. end;
  3690. procedure TCollectionExpression.FreeObjectProperties();
  3691. begin
  3692. if Assigned(FDocumentation) then
  3693. FreeAndNil(FDocumentation);
  3694. inherited FreeObjectProperties();
  3695. end;
  3696. function TCollectionExpression.wstHas_Documentation() : Boolean;
  3697. begin
  3698. Result := ( FDocumentation <> nil );
  3699. end;
  3700. { TAssertTypeExpression }
  3701. constructor TAssertTypeExpression.Create();
  3702. begin
  3703. inherited Create();
  3704. FDocumentation := TDocumentation.Create();
  3705. FCollectionType := TCollectionType.Create();
  3706. FReferenceType := TReferenceType.Create();
  3707. FRowType := TRowType.Create();
  3708. end;
  3709. procedure TAssertTypeExpression.FreeObjectProperties();
  3710. begin
  3711. if Assigned(FDocumentation) then
  3712. FreeAndNil(FDocumentation);
  3713. if Assigned(FCollectionType) then
  3714. FreeAndNil(FCollectionType);
  3715. if Assigned(FReferenceType) then
  3716. FreeAndNil(FReferenceType);
  3717. if Assigned(FRowType) then
  3718. FreeAndNil(FRowType);
  3719. inherited FreeObjectProperties();
  3720. end;
  3721. function TAssertTypeExpression.wstHas_Documentation() : Boolean;
  3722. begin
  3723. Result := ( FDocumentation <> nil );
  3724. end;
  3725. function TAssertTypeExpression.wstHas_CollectionType() : Boolean;
  3726. begin
  3727. Result := ( FCollectionType <> nil );
  3728. end;
  3729. function TAssertTypeExpression.wstHas_ReferenceType() : Boolean;
  3730. begin
  3731. Result := ( FReferenceType <> nil );
  3732. end;
  3733. function TAssertTypeExpression.wstHas_RowType() : Boolean;
  3734. begin
  3735. Result := ( FRowType <> TRowType(0) );
  3736. end;
  3737. function TAssertTypeExpression.wstHas__Type() : Boolean;
  3738. begin
  3739. Result := ( F_Type <> '' );
  3740. end;
  3741. function TAssertTypeExpression.wstHas_Nullable() : Boolean;
  3742. begin
  3743. Result := ( FNullable <> boolean(0) );
  3744. end;
  3745. function TAssertTypeExpression.wstHas_DefaultValue() : Boolean;
  3746. begin
  3747. Result := ( FDefaultValue <> '' );
  3748. end;
  3749. function TAssertTypeExpression.wstHas_MaxLength() : Boolean;
  3750. begin
  3751. Result := ( FMaxLength <> '' );
  3752. end;
  3753. function TAssertTypeExpression.wstHas_FixedLength() : Boolean;
  3754. begin
  3755. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  3756. end;
  3757. function TAssertTypeExpression.wstHas_Precision() : Boolean;
  3758. begin
  3759. Result := ( FPrecision <> TPrecisionFacet(0) );
  3760. end;
  3761. function TAssertTypeExpression.wstHas_Scale() : Boolean;
  3762. begin
  3763. Result := ( FScale <> TScaleFacet(0) );
  3764. end;
  3765. function TAssertTypeExpression.wstHas_Unicode() : Boolean;
  3766. begin
  3767. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  3768. end;
  3769. function TAssertTypeExpression.wstHas_Collation() : Boolean;
  3770. begin
  3771. Result := ( FCollation <> '' );
  3772. end;
  3773. function TAssertTypeExpression.wstHas_SRID() : Boolean;
  3774. begin
  3775. Result := ( FSRID <> '' );
  3776. end;
  3777. { TIsTypeExpression }
  3778. constructor TIsTypeExpression.Create();
  3779. begin
  3780. inherited Create();
  3781. FDocumentation := TDocumentation.Create();
  3782. FCollectionType := TCollectionType.Create();
  3783. FReferenceType := TReferenceType.Create();
  3784. FRowType := TRowType.Create();
  3785. end;
  3786. procedure TIsTypeExpression.FreeObjectProperties();
  3787. begin
  3788. if Assigned(FDocumentation) then
  3789. FreeAndNil(FDocumentation);
  3790. if Assigned(FCollectionType) then
  3791. FreeAndNil(FCollectionType);
  3792. if Assigned(FReferenceType) then
  3793. FreeAndNil(FReferenceType);
  3794. if Assigned(FRowType) then
  3795. FreeAndNil(FRowType);
  3796. inherited FreeObjectProperties();
  3797. end;
  3798. function TIsTypeExpression.wstHas_Documentation() : Boolean;
  3799. begin
  3800. Result := ( FDocumentation <> nil );
  3801. end;
  3802. function TIsTypeExpression.wstHas_CollectionType() : Boolean;
  3803. begin
  3804. Result := ( FCollectionType <> nil );
  3805. end;
  3806. function TIsTypeExpression.wstHas_ReferenceType() : Boolean;
  3807. begin
  3808. Result := ( FReferenceType <> nil );
  3809. end;
  3810. function TIsTypeExpression.wstHas_RowType() : Boolean;
  3811. begin
  3812. Result := ( FRowType <> TRowType(0) );
  3813. end;
  3814. function TIsTypeExpression.wstHas__Type() : Boolean;
  3815. begin
  3816. Result := ( F_Type <> '' );
  3817. end;
  3818. function TIsTypeExpression.wstHas_Nullable() : Boolean;
  3819. begin
  3820. Result := ( FNullable <> boolean(0) );
  3821. end;
  3822. function TIsTypeExpression.wstHas_DefaultValue() : Boolean;
  3823. begin
  3824. Result := ( FDefaultValue <> '' );
  3825. end;
  3826. function TIsTypeExpression.wstHas_MaxLength() : Boolean;
  3827. begin
  3828. Result := ( FMaxLength <> '' );
  3829. end;
  3830. function TIsTypeExpression.wstHas_FixedLength() : Boolean;
  3831. begin
  3832. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  3833. end;
  3834. function TIsTypeExpression.wstHas_Precision() : Boolean;
  3835. begin
  3836. Result := ( FPrecision <> TPrecisionFacet(0) );
  3837. end;
  3838. function TIsTypeExpression.wstHas_Scale() : Boolean;
  3839. begin
  3840. Result := ( FScale <> TScaleFacet(0) );
  3841. end;
  3842. function TIsTypeExpression.wstHas_Unicode() : Boolean;
  3843. begin
  3844. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  3845. end;
  3846. function TIsTypeExpression.wstHas_Collation() : Boolean;
  3847. begin
  3848. Result := ( FCollation <> '' );
  3849. end;
  3850. function TIsTypeExpression.wstHas_SRID() : Boolean;
  3851. begin
  3852. Result := ( FSRID <> '' );
  3853. end;
  3854. { TFunctionReferenceExpression_Parameter_Type }
  3855. constructor TFunctionReferenceExpression_Parameter_Type.Create();
  3856. begin
  3857. inherited Create();
  3858. FCollectionType := TCollectionType.Create();
  3859. FReferenceType := TReferenceType.Create();
  3860. FRowType := TRowType.Create();
  3861. end;
  3862. procedure TFunctionReferenceExpression_Parameter_Type.FreeObjectProperties();
  3863. begin
  3864. if Assigned(FCollectionType) then
  3865. FreeAndNil(FCollectionType);
  3866. if Assigned(FReferenceType) then
  3867. FreeAndNil(FReferenceType);
  3868. if Assigned(FRowType) then
  3869. FreeAndNil(FRowType);
  3870. inherited FreeObjectProperties();
  3871. end;
  3872. function TFunctionReferenceExpression_Parameter_Type.wstHas_CollectionType() : Boolean;
  3873. begin
  3874. Result := ( FCollectionType <> nil );
  3875. end;
  3876. function TFunctionReferenceExpression_Parameter_Type.wstHas_ReferenceType() : Boolean;
  3877. begin
  3878. Result := ( FReferenceType <> nil );
  3879. end;
  3880. function TFunctionReferenceExpression_Parameter_Type.wstHas_RowType() : Boolean;
  3881. begin
  3882. Result := ( FRowType <> TRowType(0) );
  3883. end;
  3884. function TFunctionReferenceExpression_Parameter_Type.wstHas__Type() : Boolean;
  3885. begin
  3886. Result := ( F_Type <> '' );
  3887. end;
  3888. { TFunctionReferenceExpression }
  3889. constructor TFunctionReferenceExpression.Create();
  3890. begin
  3891. inherited Create();
  3892. FDocumentation := TDocumentation.Create();
  3893. FParameter := TFunctionReferenceExpression_ParameterArray.Create();
  3894. end;
  3895. procedure TFunctionReferenceExpression.FreeObjectProperties();
  3896. begin
  3897. if Assigned(FDocumentation) then
  3898. FreeAndNil(FDocumentation);
  3899. if Assigned(FParameter) then
  3900. FreeAndNil(FParameter);
  3901. inherited FreeObjectProperties();
  3902. end;
  3903. function TFunctionReferenceExpression.wstHas_Documentation() : Boolean;
  3904. begin
  3905. Result := ( FDocumentation <> nil );
  3906. end;
  3907. function TFunctionReferenceExpression.wstHas_Parameter() : Boolean;
  3908. begin
  3909. Result := ( FParameter <> TFunctionReferenceExpression_ParameterArray(0) );
  3910. end;
  3911. { TApplyExpression }
  3912. constructor TApplyExpression.Create();
  3913. begin
  3914. inherited Create();
  3915. FDocumentation := TDocumentation.Create();
  3916. end;
  3917. procedure TApplyExpression.FreeObjectProperties();
  3918. begin
  3919. if Assigned(FDocumentation) then
  3920. FreeAndNil(FDocumentation);
  3921. inherited FreeObjectProperties();
  3922. end;
  3923. function TApplyExpression.wstHas_Documentation() : Boolean;
  3924. begin
  3925. Result := ( FDocumentation <> nil );
  3926. end;
  3927. function TApplyExpression.wstHas__Function() : Boolean;
  3928. begin
  3929. Result := ( F_Function <> '' );
  3930. end;
  3931. { TPropertyReferenceExpression }
  3932. constructor TPropertyReferenceExpression.Create();
  3933. begin
  3934. inherited Create();
  3935. FDocumentation := TDocumentation.Create();
  3936. end;
  3937. procedure TPropertyReferenceExpression.FreeObjectProperties();
  3938. begin
  3939. if Assigned(FDocumentation) then
  3940. FreeAndNil(FDocumentation);
  3941. inherited FreeObjectProperties();
  3942. end;
  3943. function TPropertyReferenceExpression.wstHas_Documentation() : Boolean;
  3944. begin
  3945. Result := ( FDocumentation <> nil );
  3946. end;
  3947. { TValueTermReferenceExpression }
  3948. constructor TValueTermReferenceExpression.Create();
  3949. begin
  3950. inherited Create();
  3951. FDocumentation := TDocumentation.Create();
  3952. end;
  3953. procedure TValueTermReferenceExpression.FreeObjectProperties();
  3954. begin
  3955. if Assigned(FDocumentation) then
  3956. FreeAndNil(FDocumentation);
  3957. inherited FreeObjectProperties();
  3958. end;
  3959. function TValueTermReferenceExpression.wstHas_Documentation() : Boolean;
  3960. begin
  3961. Result := ( FDocumentation <> nil );
  3962. end;
  3963. function TValueTermReferenceExpression.wstHas_Qualifier() : Boolean;
  3964. begin
  3965. Result := ( FQualifier <> '' );
  3966. end;
  3967. { TLabeledElement }
  3968. constructor TLabeledElement.Create();
  3969. begin
  3970. inherited Create();
  3971. FDocumentation := TDocumentation.Create();
  3972. end;
  3973. procedure TLabeledElement.FreeObjectProperties();
  3974. begin
  3975. if Assigned(FDocumentation) then
  3976. FreeAndNil(FDocumentation);
  3977. inherited FreeObjectProperties();
  3978. end;
  3979. function TLabeledElement.wstHas_Documentation() : Boolean;
  3980. begin
  3981. Result := ( FDocumentation <> nil );
  3982. end;
  3983. { TOperations }
  3984. constructor TOperations.Create();
  3985. begin
  3986. inherited Create();
  3987. FOnDelete := TOnAction.Create();
  3988. end;
  3989. procedure TOperations.FreeObjectProperties();
  3990. begin
  3991. if Assigned(FOnDelete) then
  3992. FreeAndNil(FOnDelete);
  3993. inherited FreeObjectProperties();
  3994. end;
  3995. function TOperations.wstHas_OnDelete() : Boolean;
  3996. begin
  3997. Result := ( FOnDelete <> nil );
  3998. end;
  3999. { TAssociationEnd }
  4000. constructor TAssociationEnd.Create();
  4001. begin
  4002. inherited Create();
  4003. FDocumentation := TDocumentation.Create();
  4004. FOnDelete := TOnAction.Create();
  4005. end;
  4006. procedure TAssociationEnd.FreeObjectProperties();
  4007. begin
  4008. if Assigned(FDocumentation) then
  4009. FreeAndNil(FDocumentation);
  4010. if Assigned(FOnDelete) then
  4011. FreeAndNil(FOnDelete);
  4012. inherited FreeObjectProperties();
  4013. end;
  4014. function TAssociationEnd.wstHas_Documentation() : Boolean;
  4015. begin
  4016. Result := ( FDocumentation <> nil );
  4017. end;
  4018. function TAssociationEnd.wstHas_Role() : Boolean;
  4019. begin
  4020. Result := ( FRole <> '' );
  4021. end;
  4022. function TAssociationEnd.wstHas_Multiplicity() : Boolean;
  4023. begin
  4024. Result := True;
  4025. end;
  4026. function TAssociationEnd.wstHas_OnDelete() : Boolean;
  4027. begin
  4028. Result := ( FOnDelete <> nil );
  4029. end;
  4030. { TOnAction }
  4031. constructor TOnAction.Create();
  4032. begin
  4033. inherited Create();
  4034. FDocumentation := TDocumentation.Create();
  4035. end;
  4036. procedure TOnAction.FreeObjectProperties();
  4037. begin
  4038. if Assigned(FDocumentation) then
  4039. FreeAndNil(FDocumentation);
  4040. inherited FreeObjectProperties();
  4041. end;
  4042. function TOnAction.wstHas_Documentation() : Boolean;
  4043. begin
  4044. Result := ( FDocumentation <> nil );
  4045. end;
  4046. function TCommonPropertyAttributes.wstHas_Nullable() : Boolean;
  4047. begin
  4048. Result := ( FNullable <> boolean(0) );
  4049. end;
  4050. function TCommonPropertyAttributes.wstHas_DefaultValue() : Boolean;
  4051. begin
  4052. Result := ( FDefaultValue <> '' );
  4053. end;
  4054. function TCommonPropertyAttributes.wstHas_MaxLength() : Boolean;
  4055. begin
  4056. Result := ( FMaxLength <> '' );
  4057. end;
  4058. function TCommonPropertyAttributes.wstHas_FixedLength() : Boolean;
  4059. begin
  4060. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  4061. end;
  4062. function TCommonPropertyAttributes.wstHas_Precision() : Boolean;
  4063. begin
  4064. Result := ( FPrecision <> TPrecisionFacet(0) );
  4065. end;
  4066. function TCommonPropertyAttributes.wstHas_Scale() : Boolean;
  4067. begin
  4068. Result := ( FScale <> TScaleFacet(0) );
  4069. end;
  4070. function TCommonPropertyAttributes.wstHas_Unicode() : Boolean;
  4071. begin
  4072. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  4073. end;
  4074. function TCommonPropertyAttributes.wstHas_Collation() : Boolean;
  4075. begin
  4076. Result := ( FCollation <> '' );
  4077. end;
  4078. function TCommonPropertyAttributes.wstHas_SRID() : Boolean;
  4079. begin
  4080. Result := ( FSRID <> '' );
  4081. end;
  4082. function TCommonPropertyAttributes.wstHas_ConcurrencyMode() : Boolean;
  4083. begin
  4084. Result := True;
  4085. end;
  4086. function TCommonPropertyAttributes.wstHas_SetterAccess() : Boolean;
  4087. begin
  4088. Result := True;
  4089. end;
  4090. function TCommonPropertyAttributes.wstHas_GetterAccess() : Boolean;
  4091. begin
  4092. Result := True;
  4093. end;
  4094. { TEntityProperty }
  4095. constructor TEntityProperty.Create();
  4096. begin
  4097. inherited Create();
  4098. FDocumentation := TEntityProperty_DocumentationArray.Create();
  4099. FValueAnnotation := TEntityProperty_ValueAnnotationArray.Create();
  4100. FTypeAnnotation := TEntityProperty_TypeAnnotationArray.Create();
  4101. end;
  4102. procedure TEntityProperty.FreeObjectProperties();
  4103. begin
  4104. if Assigned(FDocumentation) then
  4105. FreeAndNil(FDocumentation);
  4106. if Assigned(FValueAnnotation) then
  4107. FreeAndNil(FValueAnnotation);
  4108. if Assigned(FTypeAnnotation) then
  4109. FreeAndNil(FTypeAnnotation);
  4110. inherited FreeObjectProperties();
  4111. end;
  4112. function TEntityProperty.wstHas_Documentation() : Boolean;
  4113. begin
  4114. Result := ( FDocumentation <> TEntityProperty_DocumentationArray(0) );
  4115. end;
  4116. function TEntityProperty.wstHas_ValueAnnotation() : Boolean;
  4117. begin
  4118. Result := ( FValueAnnotation <> TEntityProperty_ValueAnnotationArray(0) );
  4119. end;
  4120. function TEntityProperty.wstHas_TypeAnnotation() : Boolean;
  4121. begin
  4122. Result := ( FTypeAnnotation <> TEntityProperty_TypeAnnotationArray(0) );
  4123. end;
  4124. function TEntityProperty.wstHas_StoreGeneratedPattern() : Boolean;
  4125. begin
  4126. Result := True;
  4127. end;
  4128. function TEntityProperty.wstHas_Nullable() : Boolean;
  4129. begin
  4130. Result := ( FNullable <> boolean(0) );
  4131. end;
  4132. function TEntityProperty.wstHas_DefaultValue() : Boolean;
  4133. begin
  4134. Result := ( FDefaultValue <> '' );
  4135. end;
  4136. function TEntityProperty.wstHas_MaxLength() : Boolean;
  4137. begin
  4138. Result := ( FMaxLength <> '' );
  4139. end;
  4140. function TEntityProperty.wstHas_FixedLength() : Boolean;
  4141. begin
  4142. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  4143. end;
  4144. function TEntityProperty.wstHas_Precision() : Boolean;
  4145. begin
  4146. Result := ( FPrecision <> TPrecisionFacet(0) );
  4147. end;
  4148. function TEntityProperty.wstHas_Scale() : Boolean;
  4149. begin
  4150. Result := ( FScale <> TScaleFacet(0) );
  4151. end;
  4152. function TEntityProperty.wstHas_Unicode() : Boolean;
  4153. begin
  4154. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  4155. end;
  4156. function TEntityProperty.wstHas_Collation() : Boolean;
  4157. begin
  4158. Result := ( FCollation <> '' );
  4159. end;
  4160. function TEntityProperty.wstHas_SRID() : Boolean;
  4161. begin
  4162. Result := ( FSRID <> '' );
  4163. end;
  4164. function TEntityProperty.wstHas_ConcurrencyMode() : Boolean;
  4165. begin
  4166. Result := True;
  4167. end;
  4168. function TEntityProperty.wstHas_SetterAccess() : Boolean;
  4169. begin
  4170. Result := True;
  4171. end;
  4172. function TEntityProperty.wstHas_GetterAccess() : Boolean;
  4173. begin
  4174. Result := True;
  4175. end;
  4176. { TComplexTypeProperty }
  4177. constructor TComplexTypeProperty.Create();
  4178. begin
  4179. inherited Create();
  4180. FDocumentation := TComplexTypeProperty_DocumentationArray.Create();
  4181. FValueAnnotation := TComplexTypeProperty_ValueAnnotationArray.Create();
  4182. FTypeAnnotation := TComplexTypeProperty_TypeAnnotationArray.Create();
  4183. end;
  4184. procedure TComplexTypeProperty.FreeObjectProperties();
  4185. begin
  4186. if Assigned(FDocumentation) then
  4187. FreeAndNil(FDocumentation);
  4188. if Assigned(FValueAnnotation) then
  4189. FreeAndNil(FValueAnnotation);
  4190. if Assigned(FTypeAnnotation) then
  4191. FreeAndNil(FTypeAnnotation);
  4192. inherited FreeObjectProperties();
  4193. end;
  4194. function TComplexTypeProperty.wstHas_Documentation() : Boolean;
  4195. begin
  4196. Result := ( FDocumentation <> TComplexTypeProperty_DocumentationArray(0) );
  4197. end;
  4198. function TComplexTypeProperty.wstHas_ValueAnnotation() : Boolean;
  4199. begin
  4200. Result := ( FValueAnnotation <> TComplexTypeProperty_ValueAnnotationArray(0) );
  4201. end;
  4202. function TComplexTypeProperty.wstHas_TypeAnnotation() : Boolean;
  4203. begin
  4204. Result := ( FTypeAnnotation <> TComplexTypeProperty_TypeAnnotationArray(0) );
  4205. end;
  4206. function TComplexTypeProperty.wstHas_Nullable() : Boolean;
  4207. begin
  4208. Result := ( FNullable <> boolean(0) );
  4209. end;
  4210. function TComplexTypeProperty.wstHas_DefaultValue() : Boolean;
  4211. begin
  4212. Result := ( FDefaultValue <> '' );
  4213. end;
  4214. function TComplexTypeProperty.wstHas_MaxLength() : Boolean;
  4215. begin
  4216. Result := ( FMaxLength <> '' );
  4217. end;
  4218. function TComplexTypeProperty.wstHas_FixedLength() : Boolean;
  4219. begin
  4220. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  4221. end;
  4222. function TComplexTypeProperty.wstHas_Precision() : Boolean;
  4223. begin
  4224. Result := ( FPrecision <> TPrecisionFacet(0) );
  4225. end;
  4226. function TComplexTypeProperty.wstHas_Scale() : Boolean;
  4227. begin
  4228. Result := ( FScale <> TScaleFacet(0) );
  4229. end;
  4230. function TComplexTypeProperty.wstHas_Unicode() : Boolean;
  4231. begin
  4232. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  4233. end;
  4234. function TComplexTypeProperty.wstHas_Collation() : Boolean;
  4235. begin
  4236. Result := ( FCollation <> '' );
  4237. end;
  4238. function TComplexTypeProperty.wstHas_SRID() : Boolean;
  4239. begin
  4240. Result := ( FSRID <> '' );
  4241. end;
  4242. function TComplexTypeProperty.wstHas_ConcurrencyMode() : Boolean;
  4243. begin
  4244. Result := True;
  4245. end;
  4246. function TComplexTypeProperty.wstHas_SetterAccess() : Boolean;
  4247. begin
  4248. Result := True;
  4249. end;
  4250. function TComplexTypeProperty.wstHas_GetterAccess() : Boolean;
  4251. begin
  4252. Result := True;
  4253. end;
  4254. { TValueTerm }
  4255. constructor TValueTerm.Create();
  4256. begin
  4257. inherited Create();
  4258. FDocumentation := TDocumentation.Create();
  4259. FCollectionType := TCollectionType.Create();
  4260. FReferenceType := TReferenceType.Create();
  4261. FRowType := TRowType.Create();
  4262. end;
  4263. procedure TValueTerm.FreeObjectProperties();
  4264. begin
  4265. if Assigned(FDocumentation) then
  4266. FreeAndNil(FDocumentation);
  4267. if Assigned(FCollectionType) then
  4268. FreeAndNil(FCollectionType);
  4269. if Assigned(FReferenceType) then
  4270. FreeAndNil(FReferenceType);
  4271. if Assigned(FRowType) then
  4272. FreeAndNil(FRowType);
  4273. inherited FreeObjectProperties();
  4274. end;
  4275. function TValueTerm.wstHas_Documentation() : Boolean;
  4276. begin
  4277. Result := ( FDocumentation <> nil );
  4278. end;
  4279. function TValueTerm.wstHas_CollectionType() : Boolean;
  4280. begin
  4281. Result := ( FCollectionType <> nil );
  4282. end;
  4283. function TValueTerm.wstHas_ReferenceType() : Boolean;
  4284. begin
  4285. Result := ( FReferenceType <> nil );
  4286. end;
  4287. function TValueTerm.wstHas_RowType() : Boolean;
  4288. begin
  4289. Result := ( FRowType <> TRowType(0) );
  4290. end;
  4291. function TValueTerm.wstHas__Type() : Boolean;
  4292. begin
  4293. Result := ( F_Type <> '' );
  4294. end;
  4295. function TValueTerm.wstHas_Nullable() : Boolean;
  4296. begin
  4297. Result := ( FNullable <> boolean(0) );
  4298. end;
  4299. function TValueTerm.wstHas_DefaultValue() : Boolean;
  4300. begin
  4301. Result := ( FDefaultValue <> '' );
  4302. end;
  4303. function TValueTerm.wstHas_MaxLength() : Boolean;
  4304. begin
  4305. Result := ( FMaxLength <> '' );
  4306. end;
  4307. function TValueTerm.wstHas_FixedLength() : Boolean;
  4308. begin
  4309. Result := ( FFixedLength <> TIsFixedLengthFacet(0) );
  4310. end;
  4311. function TValueTerm.wstHas_Precision() : Boolean;
  4312. begin
  4313. Result := ( FPrecision <> TPrecisionFacet(0) );
  4314. end;
  4315. function TValueTerm.wstHas_Scale() : Boolean;
  4316. begin
  4317. Result := ( FScale <> TScaleFacet(0) );
  4318. end;
  4319. function TValueTerm.wstHas_Unicode() : Boolean;
  4320. begin
  4321. Result := ( FUnicode <> TIsUnicodeFacet(0) );
  4322. end;
  4323. function TValueTerm.wstHas_Collation() : Boolean;
  4324. begin
  4325. Result := ( FCollation <> '' );
  4326. end;
  4327. function TValueTerm.wstHas_SRID() : Boolean;
  4328. begin
  4329. Result := ( FSRID <> '' );
  4330. end;
  4331. function TFunctionImportParameterAttributes.wstHas_Mode() : Boolean;
  4332. begin
  4333. Result := True;
  4334. end;
  4335. function TFunctionImportParameterAttributes.wstHas_Nullable() : Boolean;
  4336. begin
  4337. Result := ( FNullable <> boolean(0) );
  4338. end;
  4339. function TFunctionImportParameterAttributes.wstHas_MaxLength() : Boolean;
  4340. begin
  4341. Result := ( FMaxLength <> '' );
  4342. end;
  4343. function TFunctionImportParameterAttributes.wstHas_Precision() : Boolean;
  4344. begin
  4345. Result := ( FPrecision <> TPrecisionFacet(0) );
  4346. end;
  4347. function TFunctionImportParameterAttributes.wstHas_Scale() : Boolean;
  4348. begin
  4349. Result := ( FScale <> TScaleFacet(0) );
  4350. end;
  4351. function TFunctionImportParameterAttributes.wstHas_SRID() : Boolean;
  4352. begin
  4353. Result := ( FSRID <> '' );
  4354. end;
  4355. { TFunctionImportParameter }
  4356. constructor TFunctionImportParameter.Create();
  4357. begin
  4358. inherited Create();
  4359. FDocumentation := TDocumentation.Create();
  4360. FValueAnnotation := TFunctionImportParameter_ValueAnnotationArray.Create();
  4361. FTypeAnnotation := TFunctionImportParameter_TypeAnnotationArray.Create();
  4362. end;
  4363. procedure TFunctionImportParameter.FreeObjectProperties();
  4364. begin
  4365. if Assigned(FDocumentation) then
  4366. FreeAndNil(FDocumentation);
  4367. if Assigned(FValueAnnotation) then
  4368. FreeAndNil(FValueAnnotation);
  4369. if Assigned(FTypeAnnotation) then
  4370. FreeAndNil(FTypeAnnotation);
  4371. inherited FreeObjectProperties();
  4372. end;
  4373. function TFunctionImportParameter.wstHas_Documentation() : Boolean;
  4374. begin
  4375. Result := ( FDocumentation <> nil );
  4376. end;
  4377. function TFunctionImportParameter.wstHas_ValueAnnotation() : Boolean;
  4378. begin
  4379. Result := ( FValueAnnotation <> TFunctionImportParameter_ValueAnnotationArray(0) );
  4380. end;
  4381. function TFunctionImportParameter.wstHas_TypeAnnotation() : Boolean;
  4382. begin
  4383. Result := ( FTypeAnnotation <> TFunctionImportParameter_TypeAnnotationArray(0) );
  4384. end;
  4385. function TFunctionImportParameter.wstHas_Mode() : Boolean;
  4386. begin
  4387. Result := True;
  4388. end;
  4389. function TFunctionImportParameter.wstHas_Nullable() : Boolean;
  4390. begin
  4391. Result := ( FNullable <> boolean(0) );
  4392. end;
  4393. function TFunctionImportParameter.wstHas_MaxLength() : Boolean;
  4394. begin
  4395. Result := ( FMaxLength <> '' );
  4396. end;
  4397. function TFunctionImportParameter.wstHas_Precision() : Boolean;
  4398. begin
  4399. Result := ( FPrecision <> TPrecisionFacet(0) );
  4400. end;
  4401. function TFunctionImportParameter.wstHas_Scale() : Boolean;
  4402. begin
  4403. Result := ( FScale <> TScaleFacet(0) );
  4404. end;
  4405. function TFunctionImportParameter.wstHas_SRID() : Boolean;
  4406. begin
  4407. Result := ( FSRID <> '' );
  4408. end;
  4409. function TFunctionImportAttributes.wstHas_ReturnType() : Boolean;
  4410. begin
  4411. Result := ( FReturnType <> '' );
  4412. end;
  4413. function TFunctionImportAttributes.wstHas_EntitySet() : Boolean;
  4414. begin
  4415. Result := ( FEntitySet <> '' );
  4416. end;
  4417. function TFunctionImportAttributes.wstHas_EntitySetPath() : Boolean;
  4418. begin
  4419. Result := ( FEntitySetPath <> '' );
  4420. end;
  4421. function TFunctionImportAttributes.wstHas_IsComposable() : Boolean;
  4422. begin
  4423. Result := ( FIsComposable <> boolean(0) );
  4424. end;
  4425. function TFunctionImportAttributes.wstHas_IsSideEffecting() : Boolean;
  4426. begin
  4427. Result := ( FIsSideEffecting <> boolean(0) );
  4428. end;
  4429. function TFunctionImportAttributes.wstHas_IsBindable() : Boolean;
  4430. begin
  4431. Result := ( FIsBindable <> boolean(0) );
  4432. end;
  4433. function TFunctionImportAttributes.wstHas_MethodAccess() : Boolean;
  4434. begin
  4435. Result := True;
  4436. end;
  4437. function TEntitySetAttributes.wstHas_GetterAccess() : Boolean;
  4438. begin
  4439. Result := True;
  4440. end;
  4441. { EntityContainer_FunctionImport_Type }
  4442. constructor EntityContainer_FunctionImport_Type.Create();
  4443. begin
  4444. inherited Create();
  4445. FDocumentation := TDocumentation.Create();
  4446. FReturnType := EntityContainer_FunctionImport_Type_ReturnTypeArray.Create();
  4447. FParameter := EntityContainer_FunctionImport_Type_ParameterArray.Create();
  4448. FValueAnnotation := EntityContainer_FunctionImport_Type_ValueAnnotationArray.Create();
  4449. FTypeAnnotation := EntityContainer_FunctionImport_Type_TypeAnnotationArray.Create();
  4450. end;
  4451. procedure EntityContainer_FunctionImport_Type.FreeObjectProperties();
  4452. begin
  4453. if Assigned(FDocumentation) then
  4454. FreeAndNil(FDocumentation);
  4455. if Assigned(FReturnType) then
  4456. FreeAndNil(FReturnType);
  4457. if Assigned(FParameter) then
  4458. FreeAndNil(FParameter);
  4459. if Assigned(FValueAnnotation) then
  4460. FreeAndNil(FValueAnnotation);
  4461. if Assigned(FTypeAnnotation) then
  4462. FreeAndNil(FTypeAnnotation);
  4463. inherited FreeObjectProperties();
  4464. end;
  4465. function EntityContainer_FunctionImport_Type.wstHas_Documentation() : Boolean;
  4466. begin
  4467. Result := ( FDocumentation <> nil );
  4468. end;
  4469. function EntityContainer_FunctionImport_Type.wstHas_ReturnType() : Boolean;
  4470. begin
  4471. Result := ( FReturnType <> EntityContainer_FunctionImport_Type_ReturnTypeArray(0) );
  4472. end;
  4473. function EntityContainer_FunctionImport_Type.wstHas_Parameter() : Boolean;
  4474. begin
  4475. Result := ( FParameter <> EntityContainer_FunctionImport_Type_ParameterArray(0) );
  4476. end;
  4477. function EntityContainer_FunctionImport_Type.wstHas_ValueAnnotation() : Boolean;
  4478. begin
  4479. Result := ( FValueAnnotation <> EntityContainer_FunctionImport_Type_ValueAnnotationArray(0) );
  4480. end;
  4481. function EntityContainer_FunctionImport_Type.wstHas_TypeAnnotation() : Boolean;
  4482. begin
  4483. Result := ( FTypeAnnotation <> EntityContainer_FunctionImport_Type_TypeAnnotationArray(0) );
  4484. end;
  4485. function EntityContainer_FunctionImport_Type.wstHas_ReturnTypeAtt() : Boolean;
  4486. begin
  4487. Result := ( FReturnTypeAtt <> '' );
  4488. end;
  4489. function EntityContainer_FunctionImport_Type.wstHas_EntitySet() : Boolean;
  4490. begin
  4491. Result := ( FEntitySet <> '' );
  4492. end;
  4493. function EntityContainer_FunctionImport_Type.wstHas_EntitySetPath() : Boolean;
  4494. begin
  4495. Result := ( FEntitySetPath <> '' );
  4496. end;
  4497. function EntityContainer_FunctionImport_Type.wstHas_IsComposable() : Boolean;
  4498. begin
  4499. Result := ( FIsComposable <> boolean(0) );
  4500. end;
  4501. function EntityContainer_FunctionImport_Type.wstHas_IsSideEffecting() : Boolean;
  4502. begin
  4503. Result := ( FIsSideEffecting <> boolean(0) );
  4504. end;
  4505. function EntityContainer_FunctionImport_Type.wstHas_IsBindable() : Boolean;
  4506. begin
  4507. Result := ( FIsBindable <> boolean(0) );
  4508. end;
  4509. function EntityContainer_FunctionImport_Type.wstHas_MethodAccess() : Boolean;
  4510. begin
  4511. Result := True;
  4512. end;
  4513. { EntityContainer_EntitySet_Type }
  4514. constructor EntityContainer_EntitySet_Type.Create();
  4515. begin
  4516. inherited Create();
  4517. FDocumentation := TDocumentation.Create();
  4518. FValueAnnotation := EntityContainer_EntitySet_Type_ValueAnnotationArray.Create();
  4519. FTypeAnnotation := EntityContainer_EntitySet_Type_TypeAnnotationArray.Create();
  4520. end;
  4521. procedure EntityContainer_EntitySet_Type.FreeObjectProperties();
  4522. begin
  4523. if Assigned(FDocumentation) then
  4524. FreeAndNil(FDocumentation);
  4525. if Assigned(FValueAnnotation) then
  4526. FreeAndNil(FValueAnnotation);
  4527. if Assigned(FTypeAnnotation) then
  4528. FreeAndNil(FTypeAnnotation);
  4529. inherited FreeObjectProperties();
  4530. end;
  4531. function EntityContainer_EntitySet_Type.wstHas_Documentation() : Boolean;
  4532. begin
  4533. Result := ( FDocumentation <> nil );
  4534. end;
  4535. function EntityContainer_EntitySet_Type.wstHas_ValueAnnotation() : Boolean;
  4536. begin
  4537. Result := ( FValueAnnotation <> EntityContainer_EntitySet_Type_ValueAnnotationArray(0) );
  4538. end;
  4539. function EntityContainer_EntitySet_Type.wstHas_TypeAnnotation() : Boolean;
  4540. begin
  4541. Result := ( FTypeAnnotation <> EntityContainer_EntitySet_Type_TypeAnnotationArray(0) );
  4542. end;
  4543. function EntityContainer_EntitySet_Type.wstHas_GetterAccess() : Boolean;
  4544. begin
  4545. Result := True;
  4546. end;
  4547. { EntityContainer_AssociationSet_Type_End_Type }
  4548. constructor EntityContainer_AssociationSet_Type_End_Type.Create();
  4549. begin
  4550. inherited Create();
  4551. FDocumentation := TDocumentation.Create();
  4552. end;
  4553. procedure EntityContainer_AssociationSet_Type_End_Type.FreeObjectProperties();
  4554. begin
  4555. if Assigned(FDocumentation) then
  4556. FreeAndNil(FDocumentation);
  4557. inherited FreeObjectProperties();
  4558. end;
  4559. function EntityContainer_AssociationSet_Type_End_Type.wstHas_Role() : Boolean;
  4560. begin
  4561. Result := ( FRole <> '' );
  4562. end;
  4563. function EntityContainer_AssociationSet_Type_End_Type.wstHas_Documentation() : Boolean;
  4564. begin
  4565. Result := ( FDocumentation <> nil );
  4566. end;
  4567. { EntityContainer_AssociationSet_Type }
  4568. constructor EntityContainer_AssociationSet_Type.Create();
  4569. begin
  4570. inherited Create();
  4571. FDocumentation := TDocumentation.Create();
  4572. F_End := EntityContainer_AssociationSet_Type__EndArray.Create();
  4573. end;
  4574. procedure EntityContainer_AssociationSet_Type.FreeObjectProperties();
  4575. begin
  4576. if Assigned(FDocumentation) then
  4577. FreeAndNil(FDocumentation);
  4578. if Assigned(F_End) then
  4579. FreeAndNil(F_End);
  4580. inherited FreeObjectProperties();
  4581. end;
  4582. function EntityContainer_AssociationSet_Type.wstHas_Documentation() : Boolean;
  4583. begin
  4584. Result := ( FDocumentation <> nil );
  4585. end;
  4586. function EntityContainer_AssociationSet_Type.wstHas__End() : Boolean;
  4587. begin
  4588. Result := ( F_End <> EntityContainer_AssociationSet_Type__EndArray(0) );
  4589. end;
  4590. { EntityContainer }
  4591. constructor EntityContainer.Create();
  4592. begin
  4593. inherited Create();
  4594. FDocumentation := TDocumentation.Create();
  4595. FFunctionImport := EntityContainer_FunctionImportArray.Create();
  4596. FEntitySet := EntityContainer_EntitySetArray.Create();
  4597. FAssociationSet := EntityContainer_AssociationSetArray.Create();
  4598. FValueAnnotation := EntityContainer_ValueAnnotationArray.Create();
  4599. FTypeAnnotation := EntityContainer_TypeAnnotationArray.Create();
  4600. end;
  4601. procedure EntityContainer.FreeObjectProperties();
  4602. begin
  4603. if Assigned(FDocumentation) then
  4604. FreeAndNil(FDocumentation);
  4605. if Assigned(FFunctionImport) then
  4606. FreeAndNil(FFunctionImport);
  4607. if Assigned(FEntitySet) then
  4608. FreeAndNil(FEntitySet);
  4609. if Assigned(FAssociationSet) then
  4610. FreeAndNil(FAssociationSet);
  4611. if Assigned(FValueAnnotation) then
  4612. FreeAndNil(FValueAnnotation);
  4613. if Assigned(FTypeAnnotation) then
  4614. FreeAndNil(FTypeAnnotation);
  4615. inherited FreeObjectProperties();
  4616. end;
  4617. function EntityContainer.wstHas_Documentation() : Boolean;
  4618. begin
  4619. Result := ( FDocumentation <> nil );
  4620. end;
  4621. function EntityContainer.wstHas_FunctionImport() : Boolean;
  4622. begin
  4623. Result := ( FFunctionImport <> EntityContainer_FunctionImportArray(0) );
  4624. end;
  4625. function EntityContainer.wstHas_EntitySet() : Boolean;
  4626. begin
  4627. Result := ( FEntitySet <> EntityContainer_EntitySetArray(0) );
  4628. end;
  4629. function EntityContainer.wstHas_AssociationSet() : Boolean;
  4630. begin
  4631. Result := ( FAssociationSet <> EntityContainer_AssociationSetArray(0) );
  4632. end;
  4633. function EntityContainer.wstHas_ValueAnnotation() : Boolean;
  4634. begin
  4635. Result := ( FValueAnnotation <> EntityContainer_ValueAnnotationArray(0) );
  4636. end;
  4637. function EntityContainer.wstHas_TypeAnnotation() : Boolean;
  4638. begin
  4639. Result := ( FTypeAnnotation <> EntityContainer_TypeAnnotationArray(0) );
  4640. end;
  4641. function EntityContainer.wstHas_Extends() : Boolean;
  4642. begin
  4643. Result := ( FExtends <> '' );
  4644. end;
  4645. function EntityContainer.wstHas_TypeAccess() : Boolean;
  4646. begin
  4647. Result := True;
  4648. end;
  4649. function EntityContainer.wstHas_LazyLoadingEnabled() : Boolean;
  4650. begin
  4651. Result := ( FLazyLoadingEnabled <> LazyLoadingEnabled_Type(0) );
  4652. end;
  4653. { GSchemaBodyElements_UsingArray }
  4654. function GSchemaBodyElements_UsingArray.GetItem(AIndex: Integer): TUsing;
  4655. begin
  4656. Result := TUsing(Inherited GetItem(AIndex));
  4657. end;
  4658. class function GSchemaBodyElements_UsingArray.GetItemClass(): TBaseRemotableClass;
  4659. begin
  4660. Result:= TUsing;
  4661. end;
  4662. { GSchemaBodyElements_AssociationArray }
  4663. function GSchemaBodyElements_AssociationArray.GetItem(AIndex: Integer): TAssociation;
  4664. begin
  4665. Result := TAssociation(Inherited GetItem(AIndex));
  4666. end;
  4667. class function GSchemaBodyElements_AssociationArray.GetItemClass(): TBaseRemotableClass;
  4668. begin
  4669. Result:= TAssociation;
  4670. end;
  4671. { GSchemaBodyElements_ComplexTypeArray }
  4672. function GSchemaBodyElements_ComplexTypeArray.GetItem(AIndex: Integer): TComplexType;
  4673. begin
  4674. Result := TComplexType(Inherited GetItem(AIndex));
  4675. end;
  4676. class function GSchemaBodyElements_ComplexTypeArray.GetItemClass(): TBaseRemotableClass;
  4677. begin
  4678. Result:= TComplexType;
  4679. end;
  4680. { GSchemaBodyElements_EntityTypeArray }
  4681. function GSchemaBodyElements_EntityTypeArray.GetItem(AIndex: Integer): TEntityType;
  4682. begin
  4683. Result := TEntityType(Inherited GetItem(AIndex));
  4684. end;
  4685. class function GSchemaBodyElements_EntityTypeArray.GetItemClass(): TBaseRemotableClass;
  4686. begin
  4687. Result:= TEntityType;
  4688. end;
  4689. { GSchemaBodyElements_EnumTypeArray }
  4690. function GSchemaBodyElements_EnumTypeArray.GetItem(AIndex: Integer): TEnumType;
  4691. begin
  4692. Result := TEnumType(Inherited GetItem(AIndex));
  4693. end;
  4694. class function GSchemaBodyElements_EnumTypeArray.GetItemClass(): TBaseRemotableClass;
  4695. begin
  4696. Result:= TEnumType;
  4697. end;
  4698. { GSchemaBodyElements_ValueTermArray }
  4699. function GSchemaBodyElements_ValueTermArray.GetItem(AIndex: Integer): TValueTerm;
  4700. begin
  4701. Result := TValueTerm(Inherited GetItem(AIndex));
  4702. end;
  4703. class function GSchemaBodyElements_ValueTermArray.GetItemClass(): TBaseRemotableClass;
  4704. begin
  4705. Result:= TValueTerm;
  4706. end;
  4707. { GSchemaBodyElements__FunctionArray }
  4708. function GSchemaBodyElements__FunctionArray.GetItem(AIndex: Integer): TFunction;
  4709. begin
  4710. Result := TFunction(Inherited GetItem(AIndex));
  4711. end;
  4712. class function GSchemaBodyElements__FunctionArray.GetItemClass(): TBaseRemotableClass;
  4713. begin
  4714. Result:= TFunction;
  4715. end;
  4716. { GSchemaBodyElements_AnnotationsArray }
  4717. function GSchemaBodyElements_AnnotationsArray.GetItem(AIndex: Integer): TAnnotations;
  4718. begin
  4719. Result := TAnnotations(Inherited GetItem(AIndex));
  4720. end;
  4721. class function GSchemaBodyElements_AnnotationsArray.GetItemClass(): TBaseRemotableClass;
  4722. begin
  4723. Result:= TAnnotations;
  4724. end;
  4725. { TAssociation__EndArray }
  4726. function TAssociation__EndArray.GetItem(AIndex: Integer): TAssociationEnd;
  4727. begin
  4728. Result := TAssociationEnd(Inherited GetItem(AIndex));
  4729. end;
  4730. class function TAssociation__EndArray.GetItemClass(): TBaseRemotableClass;
  4731. begin
  4732. Result:= TAssociationEnd;
  4733. end;
  4734. { TComplexType__PropertyArray }
  4735. function TComplexType__PropertyArray.GetItem(AIndex: Integer): TComplexTypeProperty;
  4736. begin
  4737. Result := TComplexTypeProperty(Inherited GetItem(AIndex));
  4738. end;
  4739. class function TComplexType__PropertyArray.GetItemClass(): TBaseRemotableClass;
  4740. begin
  4741. Result:= TComplexTypeProperty;
  4742. end;
  4743. { TComplexType_ValueAnnotationArray }
  4744. function TComplexType_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4745. begin
  4746. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4747. end;
  4748. class function TComplexType_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4749. begin
  4750. Result:= TValueAnnotation;
  4751. end;
  4752. { TComplexType_TypeAnnotationArray }
  4753. function TComplexType_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4754. begin
  4755. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4756. end;
  4757. class function TComplexType_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4758. begin
  4759. Result:= TTypeAnnotation;
  4760. end;
  4761. { TReferentialConstraintRoleElement_PropertyRefArray }
  4762. function TReferentialConstraintRoleElement_PropertyRefArray.GetItem(AIndex: Integer): TPropertyRef;
  4763. begin
  4764. Result := TPropertyRef(Inherited GetItem(AIndex));
  4765. end;
  4766. class function TReferentialConstraintRoleElement_PropertyRefArray.GetItemClass(): TBaseRemotableClass;
  4767. begin
  4768. Result:= TPropertyRef;
  4769. end;
  4770. { TNavigationProperty_ValueAnnotationArray }
  4771. function TNavigationProperty_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4772. begin
  4773. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4774. end;
  4775. class function TNavigationProperty_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4776. begin
  4777. Result:= TValueAnnotation;
  4778. end;
  4779. { TNavigationProperty_TypeAnnotationArray }
  4780. function TNavigationProperty_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4781. begin
  4782. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4783. end;
  4784. class function TNavigationProperty_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4785. begin
  4786. Result:= TTypeAnnotation;
  4787. end;
  4788. { TEntityType__PropertyArray }
  4789. function TEntityType__PropertyArray.GetItem(AIndex: Integer): TEntityProperty;
  4790. begin
  4791. Result := TEntityProperty(Inherited GetItem(AIndex));
  4792. end;
  4793. class function TEntityType__PropertyArray.GetItemClass(): TBaseRemotableClass;
  4794. begin
  4795. Result:= TEntityProperty;
  4796. end;
  4797. { TEntityType_NavigationPropertyArray }
  4798. function TEntityType_NavigationPropertyArray.GetItem(AIndex: Integer): TNavigationProperty;
  4799. begin
  4800. Result := TNavigationProperty(Inherited GetItem(AIndex));
  4801. end;
  4802. class function TEntityType_NavigationPropertyArray.GetItemClass(): TBaseRemotableClass;
  4803. begin
  4804. Result:= TNavigationProperty;
  4805. end;
  4806. { TEntityType_ValueAnnotationArray }
  4807. function TEntityType_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4808. begin
  4809. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4810. end;
  4811. class function TEntityType_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4812. begin
  4813. Result:= TValueAnnotation;
  4814. end;
  4815. { TEntityType_TypeAnnotationArray }
  4816. function TEntityType_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4817. begin
  4818. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4819. end;
  4820. class function TEntityType_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4821. begin
  4822. Result:= TTypeAnnotation;
  4823. end;
  4824. { TEnumType_MemberArray }
  4825. function TEnumType_MemberArray.GetItem(AIndex: Integer): TEnumTypeMember;
  4826. begin
  4827. Result := TEnumTypeMember(Inherited GetItem(AIndex));
  4828. end;
  4829. class function TEnumType_MemberArray.GetItemClass(): TBaseRemotableClass;
  4830. begin
  4831. Result:= TEnumTypeMember;
  4832. end;
  4833. { TEnumType_ValueAnnotationArray }
  4834. function TEnumType_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4835. begin
  4836. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4837. end;
  4838. class function TEnumType_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4839. begin
  4840. Result:= TValueAnnotation;
  4841. end;
  4842. { TEnumType_TypeAnnotationArray }
  4843. function TEnumType_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4844. begin
  4845. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4846. end;
  4847. class function TEnumType_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4848. begin
  4849. Result:= TTypeAnnotation;
  4850. end;
  4851. { TFunction_ParameterArray }
  4852. function TFunction_ParameterArray.GetItem(AIndex: Integer): TFunctionParameter;
  4853. begin
  4854. Result := TFunctionParameter(Inherited GetItem(AIndex));
  4855. end;
  4856. class function TFunction_ParameterArray.GetItemClass(): TBaseRemotableClass;
  4857. begin
  4858. Result:= TFunctionParameter;
  4859. end;
  4860. { TFunction_DefiningExpressionArray }
  4861. function TFunction_DefiningExpressionArray.GetItem(AIndex: Integer): TCommandText;
  4862. begin
  4863. CheckIndex(AIndex);
  4864. Result := FData[AIndex];
  4865. end;
  4866. procedure TFunction_DefiningExpressionArray.SetItem(AIndex: Integer;const AValue: TCommandText);
  4867. begin
  4868. CheckIndex(AIndex);
  4869. FData[AIndex] := AValue;
  4870. end;
  4871. function TFunction_DefiningExpressionArray.GetLength(): Integer;
  4872. begin
  4873. Result := System.Length(FData);
  4874. end;
  4875. procedure TFunction_DefiningExpressionArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  4876. begin
  4877. AStore.Put('DefiningExpression',TypeInfo(TCommandText),FData[AIndex]);
  4878. end;
  4879. procedure TFunction_DefiningExpressionArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  4880. var
  4881. sName : string;
  4882. begin
  4883. sName := 'DefiningExpression';
  4884. AStore.Get(TypeInfo(TCommandText),sName,FData[AIndex]);
  4885. end;
  4886. class function TFunction_DefiningExpressionArray.GetItemTypeInfo(): PTypeInfo;
  4887. begin
  4888. Result := TypeInfo(TCommandText);
  4889. end;
  4890. procedure TFunction_DefiningExpressionArray.SetLength(const ANewSize: Integer);
  4891. var
  4892. i : Integer;
  4893. begin
  4894. if ( ANewSize < 0 ) then
  4895. i := 0
  4896. else
  4897. i := ANewSize;
  4898. System.SetLength(FData,i);
  4899. end;
  4900. procedure TFunction_DefiningExpressionArray.Assign(Source: TPersistent);
  4901. var
  4902. src : TFunction_DefiningExpressionArray;
  4903. i, c : Integer;
  4904. begin
  4905. if Assigned(Source) and Source.InheritsFrom(TFunction_DefiningExpressionArray) then begin
  4906. src := TFunction_DefiningExpressionArray(Source);
  4907. c := src.Length;
  4908. Self.SetLength(c);
  4909. if ( c > 0 ) then begin
  4910. for i := 0 to Pred(c) do begin
  4911. Self[i] := src[i];
  4912. end;
  4913. end;
  4914. end else begin
  4915. inherited Assign(Source);
  4916. end;
  4917. end;
  4918. { TFunction_ReturnTypeArray }
  4919. function TFunction_ReturnTypeArray.GetItem(AIndex: Integer): TFunctionReturnType;
  4920. begin
  4921. Result := TFunctionReturnType(Inherited GetItem(AIndex));
  4922. end;
  4923. class function TFunction_ReturnTypeArray.GetItemClass(): TBaseRemotableClass;
  4924. begin
  4925. Result:= TFunctionReturnType;
  4926. end;
  4927. { TFunction_ValueAnnotationArray }
  4928. function TFunction_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4929. begin
  4930. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4931. end;
  4932. class function TFunction_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4933. begin
  4934. Result:= TValueAnnotation;
  4935. end;
  4936. { TFunction_TypeAnnotationArray }
  4937. function TFunction_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4938. begin
  4939. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4940. end;
  4941. class function TFunction_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4942. begin
  4943. Result:= TTypeAnnotation;
  4944. end;
  4945. { TFunctionParameter_ValueAnnotationArray }
  4946. function TFunctionParameter_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4947. begin
  4948. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4949. end;
  4950. class function TFunctionParameter_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4951. begin
  4952. Result:= TValueAnnotation;
  4953. end;
  4954. { TFunctionParameter_TypeAnnotationArray }
  4955. function TFunctionParameter_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4956. begin
  4957. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4958. end;
  4959. class function TFunctionParameter_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4960. begin
  4961. Result:= TTypeAnnotation;
  4962. end;
  4963. { TRowType }
  4964. function TRowType.GetItem(AIndex: Integer): TRowProperty;
  4965. begin
  4966. Result := TRowProperty(Inherited GetItem(AIndex));
  4967. end;
  4968. class function TRowType.GetItemClass(): TBaseRemotableClass;
  4969. begin
  4970. Result:= TRowProperty;
  4971. end;
  4972. { TEntityKeyElement }
  4973. function TEntityKeyElement.GetItem(AIndex: Integer): TPropertyRef;
  4974. begin
  4975. Result := TPropertyRef(Inherited GetItem(AIndex));
  4976. end;
  4977. class function TEntityKeyElement.GetItemClass(): TBaseRemotableClass;
  4978. begin
  4979. Result:= TPropertyRef;
  4980. end;
  4981. { TAnnotations_ValueAnnotationArray }
  4982. function TAnnotations_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  4983. begin
  4984. Result := TValueAnnotation(Inherited GetItem(AIndex));
  4985. end;
  4986. class function TAnnotations_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4987. begin
  4988. Result:= TValueAnnotation;
  4989. end;
  4990. { TAnnotations_TypeAnnotationArray }
  4991. function TAnnotations_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  4992. begin
  4993. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  4994. end;
  4995. class function TAnnotations_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  4996. begin
  4997. Result:= TTypeAnnotation;
  4998. end;
  4999. { TTypeAnnotation_PropertyValueArray }
  5000. function TTypeAnnotation_PropertyValueArray.GetItem(AIndex: Integer): TPropertyValue;
  5001. begin
  5002. Result := TPropertyValue(Inherited GetItem(AIndex));
  5003. end;
  5004. class function TTypeAnnotation_PropertyValueArray.GetItemClass(): TBaseRemotableClass;
  5005. begin
  5006. Result:= TPropertyValue;
  5007. end;
  5008. { TRecordExpression_PropertyValueArray }
  5009. function TRecordExpression_PropertyValueArray.GetItem(AIndex: Integer): TPropertyValue;
  5010. begin
  5011. Result := TPropertyValue(Inherited GetItem(AIndex));
  5012. end;
  5013. class function TRecordExpression_PropertyValueArray.GetItemClass(): TBaseRemotableClass;
  5014. begin
  5015. Result:= TPropertyValue;
  5016. end;
  5017. { TFunctionReferenceExpression_ParameterArray }
  5018. function TFunctionReferenceExpression_ParameterArray.GetItem(AIndex: Integer): TFunctionReferenceExpression_Parameter_Type;
  5019. begin
  5020. Result := TFunctionReferenceExpression_Parameter_Type(Inherited GetItem(AIndex));
  5021. end;
  5022. class function TFunctionReferenceExpression_ParameterArray.GetItemClass(): TBaseRemotableClass;
  5023. begin
  5024. Result:= TFunctionReferenceExpression_Parameter_Type;
  5025. end;
  5026. { TEntityProperty_DocumentationArray }
  5027. function TEntityProperty_DocumentationArray.GetItem(AIndex: Integer): TDocumentation;
  5028. begin
  5029. Result := TDocumentation(Inherited GetItem(AIndex));
  5030. end;
  5031. class function TEntityProperty_DocumentationArray.GetItemClass(): TBaseRemotableClass;
  5032. begin
  5033. Result:= TDocumentation;
  5034. end;
  5035. { TEntityProperty_ValueAnnotationArray }
  5036. function TEntityProperty_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  5037. begin
  5038. Result := TValueAnnotation(Inherited GetItem(AIndex));
  5039. end;
  5040. class function TEntityProperty_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5041. begin
  5042. Result:= TValueAnnotation;
  5043. end;
  5044. { TEntityProperty_TypeAnnotationArray }
  5045. function TEntityProperty_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  5046. begin
  5047. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  5048. end;
  5049. class function TEntityProperty_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5050. begin
  5051. Result:= TTypeAnnotation;
  5052. end;
  5053. { TComplexTypeProperty_DocumentationArray }
  5054. function TComplexTypeProperty_DocumentationArray.GetItem(AIndex: Integer): TDocumentation;
  5055. begin
  5056. Result := TDocumentation(Inherited GetItem(AIndex));
  5057. end;
  5058. class function TComplexTypeProperty_DocumentationArray.GetItemClass(): TBaseRemotableClass;
  5059. begin
  5060. Result:= TDocumentation;
  5061. end;
  5062. { TComplexTypeProperty_ValueAnnotationArray }
  5063. function TComplexTypeProperty_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  5064. begin
  5065. Result := TValueAnnotation(Inherited GetItem(AIndex));
  5066. end;
  5067. class function TComplexTypeProperty_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5068. begin
  5069. Result:= TValueAnnotation;
  5070. end;
  5071. { TComplexTypeProperty_TypeAnnotationArray }
  5072. function TComplexTypeProperty_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  5073. begin
  5074. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  5075. end;
  5076. class function TComplexTypeProperty_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5077. begin
  5078. Result:= TTypeAnnotation;
  5079. end;
  5080. { TFunctionImportParameter_ValueAnnotationArray }
  5081. function TFunctionImportParameter_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  5082. begin
  5083. Result := TValueAnnotation(Inherited GetItem(AIndex));
  5084. end;
  5085. class function TFunctionImportParameter_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5086. begin
  5087. Result:= TValueAnnotation;
  5088. end;
  5089. { TFunctionImportParameter_TypeAnnotationArray }
  5090. function TFunctionImportParameter_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  5091. begin
  5092. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  5093. end;
  5094. class function TFunctionImportParameter_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5095. begin
  5096. Result:= TTypeAnnotation;
  5097. end;
  5098. { EntityContainer_FunctionImport_Type_ReturnTypeArray }
  5099. function EntityContainer_FunctionImport_Type_ReturnTypeArray.GetItem(AIndex: Integer): TFunctionImportReturnType;
  5100. begin
  5101. Result := TFunctionImportReturnType(Inherited GetItem(AIndex));
  5102. end;
  5103. class function EntityContainer_FunctionImport_Type_ReturnTypeArray.GetItemClass(): TBaseRemotableClass;
  5104. begin
  5105. Result:= TFunctionImportReturnType;
  5106. end;
  5107. { EntityContainer_FunctionImport_Type_ParameterArray }
  5108. function EntityContainer_FunctionImport_Type_ParameterArray.GetItem(AIndex: Integer): TFunctionImportParameter;
  5109. begin
  5110. Result := TFunctionImportParameter(Inherited GetItem(AIndex));
  5111. end;
  5112. class function EntityContainer_FunctionImport_Type_ParameterArray.GetItemClass(): TBaseRemotableClass;
  5113. begin
  5114. Result:= TFunctionImportParameter;
  5115. end;
  5116. { EntityContainer_FunctionImport_Type_ValueAnnotationArray }
  5117. function EntityContainer_FunctionImport_Type_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  5118. begin
  5119. Result := TValueAnnotation(Inherited GetItem(AIndex));
  5120. end;
  5121. class function EntityContainer_FunctionImport_Type_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5122. begin
  5123. Result:= TValueAnnotation;
  5124. end;
  5125. { EntityContainer_FunctionImport_Type_TypeAnnotationArray }
  5126. function EntityContainer_FunctionImport_Type_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  5127. begin
  5128. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  5129. end;
  5130. class function EntityContainer_FunctionImport_Type_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5131. begin
  5132. Result:= TTypeAnnotation;
  5133. end;
  5134. { EntityContainer_EntitySet_Type_ValueAnnotationArray }
  5135. function EntityContainer_EntitySet_Type_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  5136. begin
  5137. Result := TValueAnnotation(Inherited GetItem(AIndex));
  5138. end;
  5139. class function EntityContainer_EntitySet_Type_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5140. begin
  5141. Result:= TValueAnnotation;
  5142. end;
  5143. { EntityContainer_EntitySet_Type_TypeAnnotationArray }
  5144. function EntityContainer_EntitySet_Type_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  5145. begin
  5146. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  5147. end;
  5148. class function EntityContainer_EntitySet_Type_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5149. begin
  5150. Result:= TTypeAnnotation;
  5151. end;
  5152. { EntityContainer_AssociationSet_Type__EndArray }
  5153. function EntityContainer_AssociationSet_Type__EndArray.GetItem(AIndex: Integer): EntityContainer_AssociationSet_Type_End_Type;
  5154. begin
  5155. Result := EntityContainer_AssociationSet_Type_End_Type(Inherited GetItem(AIndex));
  5156. end;
  5157. class function EntityContainer_AssociationSet_Type__EndArray.GetItemClass(): TBaseRemotableClass;
  5158. begin
  5159. Result:= EntityContainer_AssociationSet_Type_End_Type;
  5160. end;
  5161. { EntityContainer_FunctionImportArray }
  5162. function EntityContainer_FunctionImportArray.GetItem(AIndex: Integer): EntityContainer_FunctionImport_Type;
  5163. begin
  5164. Result := EntityContainer_FunctionImport_Type(Inherited GetItem(AIndex));
  5165. end;
  5166. class function EntityContainer_FunctionImportArray.GetItemClass(): TBaseRemotableClass;
  5167. begin
  5168. Result:= EntityContainer_FunctionImport_Type;
  5169. end;
  5170. { EntityContainer_EntitySetArray }
  5171. function EntityContainer_EntitySetArray.GetItem(AIndex: Integer): EntityContainer_EntitySet_Type;
  5172. begin
  5173. Result := EntityContainer_EntitySet_Type(Inherited GetItem(AIndex));
  5174. end;
  5175. class function EntityContainer_EntitySetArray.GetItemClass(): TBaseRemotableClass;
  5176. begin
  5177. Result:= EntityContainer_EntitySet_Type;
  5178. end;
  5179. { EntityContainer_AssociationSetArray }
  5180. function EntityContainer_AssociationSetArray.GetItem(AIndex: Integer): EntityContainer_AssociationSet_Type;
  5181. begin
  5182. Result := EntityContainer_AssociationSet_Type(Inherited GetItem(AIndex));
  5183. end;
  5184. class function EntityContainer_AssociationSetArray.GetItemClass(): TBaseRemotableClass;
  5185. begin
  5186. Result:= EntityContainer_AssociationSet_Type;
  5187. end;
  5188. { EntityContainer_ValueAnnotationArray }
  5189. function EntityContainer_ValueAnnotationArray.GetItem(AIndex: Integer): TValueAnnotation;
  5190. begin
  5191. Result := TValueAnnotation(Inherited GetItem(AIndex));
  5192. end;
  5193. class function EntityContainer_ValueAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5194. begin
  5195. Result:= TValueAnnotation;
  5196. end;
  5197. { EntityContainer_TypeAnnotationArray }
  5198. function EntityContainer_TypeAnnotationArray.GetItem(AIndex: Integer): TTypeAnnotation;
  5199. begin
  5200. Result := TTypeAnnotation(Inherited GetItem(AIndex));
  5201. end;
  5202. class function EntityContainer_TypeAnnotationArray.GetItemClass(): TBaseRemotableClass;
  5203. begin
  5204. Result:= TTypeAnnotation;
  5205. end;
  5206. var
  5207. typeRegistryInstance : TTypeRegistry = nil;
  5208. initialization
  5209. typeRegistryInstance := GetTypeRegistry();
  5210. TSchema.RegisterAttributeProperty('Namespace');
  5211. TSchema.RegisterAttributeProperty('Alias');
  5212. TUsing.RegisterAttributeProperty('Namespace');
  5213. TUsing.RegisterAttributeProperty('Alias');
  5214. TAssociation.RegisterAttributeProperty('Name');
  5215. TTypeAttributes.RegisterAttributeProperty('Name');
  5216. TComplexType.RegisterAttributeProperty('TypeAccess');
  5217. TComplexType.RegisterAttributeProperty('Name');
  5218. TReferentialConstraintRoleElement.RegisterAttributeProperty('Role');
  5219. TNavigationProperty.RegisterAttributeProperty('Name');
  5220. TNavigationProperty.RegisterAttributeProperty('Relationship');
  5221. TNavigationProperty.RegisterAttributeProperty('ToRole');
  5222. TNavigationProperty.RegisterAttributeProperty('FromRole');
  5223. TNavigationProperty.RegisterAttributeProperty('ContainsTarget');
  5224. TNavigationProperty.RegisterAttributeProperty('GetterAccess');
  5225. TNavigationProperty.RegisterAttributeProperty('SetterAccess');
  5226. TDerivableTypeAttributes.RegisterAttributeProperty('BaseType');
  5227. TDerivableTypeAttributes.RegisterAttributeProperty('_Abstract');
  5228. TDerivableTypeAttributes.RegisterAttributeProperty('Name');
  5229. TEntityType.RegisterAttributeProperty('OpenType');
  5230. TEntityType.RegisterAttributeProperty('TypeAccess');
  5231. TEntityType.RegisterAttributeProperty('BaseType');
  5232. TEntityType.RegisterAttributeProperty('_Abstract');
  5233. TEntityType.RegisterAttributeProperty('Name');
  5234. TEnumTypeMember.RegisterAttributeProperty('Name');
  5235. TEnumTypeMember.RegisterAttributeProperty('Value');
  5236. TEnumType.RegisterAttributeProperty('IsFlags');
  5237. TEnumType.RegisterAttributeProperty('UnderlyingType');
  5238. TEnumType.RegisterAttributeProperty('TypeAccess');
  5239. TEnumType.RegisterAttributeProperty('Name');
  5240. TFacetAttributes.RegisterAttributeProperty('Nullable');
  5241. TFacetAttributes.RegisterAttributeProperty('DefaultValue');
  5242. TFacetAttributes.RegisterAttributeProperty('MaxLength');
  5243. TFacetAttributes.RegisterAttributeProperty('FixedLength');
  5244. TFacetAttributes.RegisterAttributeProperty('Precision');
  5245. TFacetAttributes.RegisterAttributeProperty('Scale');
  5246. TFacetAttributes.RegisterAttributeProperty('Unicode');
  5247. TFacetAttributes.RegisterAttributeProperty('Collation');
  5248. TFacetAttributes.RegisterAttributeProperty('SRID');
  5249. TFunction.RegisterAttributeProperty('Name');
  5250. TFunction.RegisterAttributeProperty('ReturnTypeAtt');
  5251. TFunction.RegisterAttributeProperty('Nullable');
  5252. TFunction.RegisterAttributeProperty('DefaultValue');
  5253. TFunction.RegisterAttributeProperty('MaxLength');
  5254. TFunction.RegisterAttributeProperty('FixedLength');
  5255. TFunction.RegisterAttributeProperty('Precision');
  5256. TFunction.RegisterAttributeProperty('Scale');
  5257. TFunction.RegisterAttributeProperty('Unicode');
  5258. TFunction.RegisterAttributeProperty('Collation');
  5259. TFunction.RegisterAttributeProperty('SRID');
  5260. TFunctionParameter.RegisterAttributeProperty('Name');
  5261. TFunctionParameter.RegisterAttributeProperty('_Type');
  5262. TFunctionParameter.RegisterAttributeProperty('Nullable');
  5263. TFunctionParameter.RegisterAttributeProperty('DefaultValue');
  5264. TFunctionParameter.RegisterAttributeProperty('MaxLength');
  5265. TFunctionParameter.RegisterAttributeProperty('FixedLength');
  5266. TFunctionParameter.RegisterAttributeProperty('Precision');
  5267. TFunctionParameter.RegisterAttributeProperty('Scale');
  5268. TFunctionParameter.RegisterAttributeProperty('Unicode');
  5269. TFunctionParameter.RegisterAttributeProperty('Collation');
  5270. TFunctionParameter.RegisterAttributeProperty('SRID');
  5271. TCollectionType.RegisterAttributeProperty('ElementType');
  5272. TCollectionType.RegisterAttributeProperty('Nullable');
  5273. TCollectionType.RegisterAttributeProperty('DefaultValue');
  5274. TCollectionType.RegisterAttributeProperty('MaxLength');
  5275. TCollectionType.RegisterAttributeProperty('FixedLength');
  5276. TCollectionType.RegisterAttributeProperty('Precision');
  5277. TCollectionType.RegisterAttributeProperty('Scale');
  5278. TCollectionType.RegisterAttributeProperty('Unicode');
  5279. TCollectionType.RegisterAttributeProperty('Collation');
  5280. TCollectionType.RegisterAttributeProperty('SRID');
  5281. TTypeRef.RegisterAttributeProperty('_Type');
  5282. TTypeRef.RegisterAttributeProperty('Nullable');
  5283. TTypeRef.RegisterAttributeProperty('DefaultValue');
  5284. TTypeRef.RegisterAttributeProperty('MaxLength');
  5285. TTypeRef.RegisterAttributeProperty('FixedLength');
  5286. TTypeRef.RegisterAttributeProperty('Precision');
  5287. TTypeRef.RegisterAttributeProperty('Scale');
  5288. TTypeRef.RegisterAttributeProperty('Unicode');
  5289. TTypeRef.RegisterAttributeProperty('Collation');
  5290. TTypeRef.RegisterAttributeProperty('SRID');
  5291. TReferenceType.RegisterAttributeProperty('_Type');
  5292. TRowProperty.RegisterAttributeProperty('Name');
  5293. TRowProperty.RegisterAttributeProperty('_Type');
  5294. TRowProperty.RegisterAttributeProperty('Nullable');
  5295. TRowProperty.RegisterAttributeProperty('DefaultValue');
  5296. TRowProperty.RegisterAttributeProperty('MaxLength');
  5297. TRowProperty.RegisterAttributeProperty('FixedLength');
  5298. TRowProperty.RegisterAttributeProperty('Precision');
  5299. TRowProperty.RegisterAttributeProperty('Scale');
  5300. TRowProperty.RegisterAttributeProperty('Unicode');
  5301. TRowProperty.RegisterAttributeProperty('Collation');
  5302. TRowProperty.RegisterAttributeProperty('SRID');
  5303. TFunctionReturnType.RegisterAttributeProperty('_Type');
  5304. TFunctionReturnType.RegisterAttributeProperty('Nullable');
  5305. TFunctionReturnType.RegisterAttributeProperty('DefaultValue');
  5306. TFunctionReturnType.RegisterAttributeProperty('MaxLength');
  5307. TFunctionReturnType.RegisterAttributeProperty('FixedLength');
  5308. TFunctionReturnType.RegisterAttributeProperty('Precision');
  5309. TFunctionReturnType.RegisterAttributeProperty('Scale');
  5310. TFunctionReturnType.RegisterAttributeProperty('Unicode');
  5311. TFunctionReturnType.RegisterAttributeProperty('Collation');
  5312. TFunctionReturnType.RegisterAttributeProperty('SRID');
  5313. TFunctionImportReturnType.RegisterAttributeProperty('_Type');
  5314. TFunctionImportReturnType.RegisterAttributeProperty('EntitySet');
  5315. TFunctionImportReturnType.RegisterAttributeProperty('EntitySetPath');
  5316. TPropertyRef.RegisterAttributeProperty('Name');
  5317. TAnnotations.RegisterAttributeProperty('Target');
  5318. TAnnotations.RegisterAttributeProperty('Qualifier');
  5319. GInlineExpressions.RegisterAttributeProperty('_String');
  5320. GInlineExpressions.RegisterAttributeProperty('Binary');
  5321. GInlineExpressions.RegisterAttributeProperty('Int');
  5322. GInlineExpressions.RegisterAttributeProperty('Float');
  5323. GInlineExpressions.RegisterAttributeProperty('Guid');
  5324. GInlineExpressions.RegisterAttributeProperty('Decimal');
  5325. GInlineExpressions.RegisterAttributeProperty('Bool');
  5326. GInlineExpressions.RegisterAttributeProperty('Time');
  5327. GInlineExpressions.RegisterAttributeProperty('DateTime');
  5328. GInlineExpressions.RegisterAttributeProperty('DateTimeOffset');
  5329. GInlineExpressions.RegisterAttributeProperty('Path');
  5330. TValueAnnotation.RegisterAttributeProperty('Term');
  5331. TValueAnnotation.RegisterAttributeProperty('Qualifier');
  5332. TValueAnnotation.RegisterAttributeProperty('_String');
  5333. TValueAnnotation.RegisterAttributeProperty('Binary');
  5334. TValueAnnotation.RegisterAttributeProperty('Int');
  5335. TValueAnnotation.RegisterAttributeProperty('Float');
  5336. TValueAnnotation.RegisterAttributeProperty('Guid');
  5337. TValueAnnotation.RegisterAttributeProperty('Decimal');
  5338. TValueAnnotation.RegisterAttributeProperty('Bool');
  5339. TValueAnnotation.RegisterAttributeProperty('Time');
  5340. TValueAnnotation.RegisterAttributeProperty('DateTime');
  5341. TValueAnnotation.RegisterAttributeProperty('DateTimeOffset');
  5342. TValueAnnotation.RegisterAttributeProperty('Path');
  5343. TTypeAnnotation.RegisterAttributeProperty('Term');
  5344. TTypeAnnotation.RegisterAttributeProperty('Qualifier');
  5345. TTypeAnnotation.RegisterAttributeProperty('_String');
  5346. TTypeAnnotation.RegisterAttributeProperty('Binary');
  5347. TTypeAnnotation.RegisterAttributeProperty('Int');
  5348. TTypeAnnotation.RegisterAttributeProperty('Float');
  5349. TTypeAnnotation.RegisterAttributeProperty('Guid');
  5350. TTypeAnnotation.RegisterAttributeProperty('Decimal');
  5351. TTypeAnnotation.RegisterAttributeProperty('Bool');
  5352. TTypeAnnotation.RegisterAttributeProperty('Time');
  5353. TTypeAnnotation.RegisterAttributeProperty('DateTime');
  5354. TTypeAnnotation.RegisterAttributeProperty('DateTimeOffset');
  5355. TTypeAnnotation.RegisterAttributeProperty('Path');
  5356. TRecordExpression.RegisterAttributeProperty('_Type');
  5357. TPropertyValue.RegisterAttributeProperty('_Property');
  5358. TPropertyValue.RegisterAttributeProperty('_String');
  5359. TPropertyValue.RegisterAttributeProperty('Binary');
  5360. TPropertyValue.RegisterAttributeProperty('Int');
  5361. TPropertyValue.RegisterAttributeProperty('Float');
  5362. TPropertyValue.RegisterAttributeProperty('Guid');
  5363. TPropertyValue.RegisterAttributeProperty('Decimal');
  5364. TPropertyValue.RegisterAttributeProperty('Bool');
  5365. TPropertyValue.RegisterAttributeProperty('Time');
  5366. TPropertyValue.RegisterAttributeProperty('DateTime');
  5367. TPropertyValue.RegisterAttributeProperty('DateTimeOffset');
  5368. TPropertyValue.RegisterAttributeProperty('Path');
  5369. TAssertTypeExpression.RegisterAttributeProperty('_Type');
  5370. TAssertTypeExpression.RegisterAttributeProperty('Nullable');
  5371. TAssertTypeExpression.RegisterAttributeProperty('DefaultValue');
  5372. TAssertTypeExpression.RegisterAttributeProperty('MaxLength');
  5373. TAssertTypeExpression.RegisterAttributeProperty('FixedLength');
  5374. TAssertTypeExpression.RegisterAttributeProperty('Precision');
  5375. TAssertTypeExpression.RegisterAttributeProperty('Scale');
  5376. TAssertTypeExpression.RegisterAttributeProperty('Unicode');
  5377. TAssertTypeExpression.RegisterAttributeProperty('Collation');
  5378. TAssertTypeExpression.RegisterAttributeProperty('SRID');
  5379. TIsTypeExpression.RegisterAttributeProperty('_Type');
  5380. TIsTypeExpression.RegisterAttributeProperty('Nullable');
  5381. TIsTypeExpression.RegisterAttributeProperty('DefaultValue');
  5382. TIsTypeExpression.RegisterAttributeProperty('MaxLength');
  5383. TIsTypeExpression.RegisterAttributeProperty('FixedLength');
  5384. TIsTypeExpression.RegisterAttributeProperty('Precision');
  5385. TIsTypeExpression.RegisterAttributeProperty('Scale');
  5386. TIsTypeExpression.RegisterAttributeProperty('Unicode');
  5387. TIsTypeExpression.RegisterAttributeProperty('Collation');
  5388. TIsTypeExpression.RegisterAttributeProperty('SRID');
  5389. TFunctionReferenceExpression_Parameter_Type.RegisterAttributeProperty('_Type');
  5390. TFunctionReferenceExpression.RegisterAttributeProperty('_Function');
  5391. TApplyExpression.RegisterAttributeProperty('_Function');
  5392. TPropertyReferenceExpression.RegisterAttributeProperty('_Property');
  5393. TValueTermReferenceExpression.RegisterAttributeProperty('Term');
  5394. TValueTermReferenceExpression.RegisterAttributeProperty('Qualifier');
  5395. TLabeledElement.RegisterAttributeProperty('Name');
  5396. TAssociationEnd.RegisterAttributeProperty('_Type');
  5397. TAssociationEnd.RegisterAttributeProperty('Role');
  5398. TAssociationEnd.RegisterAttributeProperty('Multiplicity');
  5399. TOnAction.RegisterAttributeProperty('Action');
  5400. TCommonPropertyAttributes.RegisterAttributeProperty('Name');
  5401. TCommonPropertyAttributes.RegisterAttributeProperty('_Type');
  5402. TCommonPropertyAttributes.RegisterAttributeProperty('Nullable');
  5403. TCommonPropertyAttributes.RegisterAttributeProperty('DefaultValue');
  5404. TCommonPropertyAttributes.RegisterAttributeProperty('MaxLength');
  5405. TCommonPropertyAttributes.RegisterAttributeProperty('FixedLength');
  5406. TCommonPropertyAttributes.RegisterAttributeProperty('Precision');
  5407. TCommonPropertyAttributes.RegisterAttributeProperty('Scale');
  5408. TCommonPropertyAttributes.RegisterAttributeProperty('Unicode');
  5409. TCommonPropertyAttributes.RegisterAttributeProperty('Collation');
  5410. TCommonPropertyAttributes.RegisterAttributeProperty('SRID');
  5411. TCommonPropertyAttributes.RegisterAttributeProperty('ConcurrencyMode');
  5412. TCommonPropertyAttributes.RegisterAttributeProperty('SetterAccess');
  5413. TCommonPropertyAttributes.RegisterAttributeProperty('GetterAccess');
  5414. TEntityProperty.RegisterAttributeProperty('StoreGeneratedPattern');
  5415. TEntityProperty.RegisterAttributeProperty('Name');
  5416. TEntityProperty.RegisterAttributeProperty('_Type');
  5417. TEntityProperty.RegisterAttributeProperty('Nullable');
  5418. TEntityProperty.RegisterAttributeProperty('DefaultValue');
  5419. TEntityProperty.RegisterAttributeProperty('MaxLength');
  5420. TEntityProperty.RegisterAttributeProperty('FixedLength');
  5421. TEntityProperty.RegisterAttributeProperty('Precision');
  5422. TEntityProperty.RegisterAttributeProperty('Scale');
  5423. TEntityProperty.RegisterAttributeProperty('Unicode');
  5424. TEntityProperty.RegisterAttributeProperty('Collation');
  5425. TEntityProperty.RegisterAttributeProperty('SRID');
  5426. TEntityProperty.RegisterAttributeProperty('ConcurrencyMode');
  5427. TEntityProperty.RegisterAttributeProperty('SetterAccess');
  5428. TEntityProperty.RegisterAttributeProperty('GetterAccess');
  5429. TComplexTypeProperty.RegisterAttributeProperty('Name');
  5430. TComplexTypeProperty.RegisterAttributeProperty('_Type');
  5431. TComplexTypeProperty.RegisterAttributeProperty('Nullable');
  5432. TComplexTypeProperty.RegisterAttributeProperty('DefaultValue');
  5433. TComplexTypeProperty.RegisterAttributeProperty('MaxLength');
  5434. TComplexTypeProperty.RegisterAttributeProperty('FixedLength');
  5435. TComplexTypeProperty.RegisterAttributeProperty('Precision');
  5436. TComplexTypeProperty.RegisterAttributeProperty('Scale');
  5437. TComplexTypeProperty.RegisterAttributeProperty('Unicode');
  5438. TComplexTypeProperty.RegisterAttributeProperty('Collation');
  5439. TComplexTypeProperty.RegisterAttributeProperty('SRID');
  5440. TComplexTypeProperty.RegisterAttributeProperty('ConcurrencyMode');
  5441. TComplexTypeProperty.RegisterAttributeProperty('SetterAccess');
  5442. TComplexTypeProperty.RegisterAttributeProperty('GetterAccess');
  5443. TValueTerm.RegisterAttributeProperty('Name');
  5444. TValueTerm.RegisterAttributeProperty('_Type');
  5445. TValueTerm.RegisterAttributeProperty('Nullable');
  5446. TValueTerm.RegisterAttributeProperty('DefaultValue');
  5447. TValueTerm.RegisterAttributeProperty('MaxLength');
  5448. TValueTerm.RegisterAttributeProperty('FixedLength');
  5449. TValueTerm.RegisterAttributeProperty('Precision');
  5450. TValueTerm.RegisterAttributeProperty('Scale');
  5451. TValueTerm.RegisterAttributeProperty('Unicode');
  5452. TValueTerm.RegisterAttributeProperty('Collation');
  5453. TValueTerm.RegisterAttributeProperty('SRID');
  5454. TFunctionImportParameterAttributes.RegisterAttributeProperty('Name');
  5455. TFunctionImportParameterAttributes.RegisterAttributeProperty('_Type');
  5456. TFunctionImportParameterAttributes.RegisterAttributeProperty('Mode');
  5457. TFunctionImportParameterAttributes.RegisterAttributeProperty('Nullable');
  5458. TFunctionImportParameterAttributes.RegisterAttributeProperty('MaxLength');
  5459. TFunctionImportParameterAttributes.RegisterAttributeProperty('Precision');
  5460. TFunctionImportParameterAttributes.RegisterAttributeProperty('Scale');
  5461. TFunctionImportParameterAttributes.RegisterAttributeProperty('SRID');
  5462. TFunctionImportParameter.RegisterAttributeProperty('Name');
  5463. TFunctionImportParameter.RegisterAttributeProperty('_Type');
  5464. TFunctionImportParameter.RegisterAttributeProperty('Mode');
  5465. TFunctionImportParameter.RegisterAttributeProperty('Nullable');
  5466. TFunctionImportParameter.RegisterAttributeProperty('MaxLength');
  5467. TFunctionImportParameter.RegisterAttributeProperty('Precision');
  5468. TFunctionImportParameter.RegisterAttributeProperty('Scale');
  5469. TFunctionImportParameter.RegisterAttributeProperty('SRID');
  5470. TFunctionImportAttributes.RegisterAttributeProperty('Name');
  5471. TFunctionImportAttributes.RegisterAttributeProperty('ReturnType');
  5472. TFunctionImportAttributes.RegisterAttributeProperty('EntitySet');
  5473. TFunctionImportAttributes.RegisterAttributeProperty('EntitySetPath');
  5474. TFunctionImportAttributes.RegisterAttributeProperty('IsComposable');
  5475. TFunctionImportAttributes.RegisterAttributeProperty('IsSideEffecting');
  5476. TFunctionImportAttributes.RegisterAttributeProperty('IsBindable');
  5477. TFunctionImportAttributes.RegisterAttributeProperty('MethodAccess');
  5478. TEntitySetAttributes.RegisterAttributeProperty('Name');
  5479. TEntitySetAttributes.RegisterAttributeProperty('EntityType');
  5480. TEntitySetAttributes.RegisterAttributeProperty('GetterAccess');
  5481. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('Name');
  5482. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('ReturnTypeAtt');
  5483. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('EntitySet');
  5484. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('EntitySetPath');
  5485. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('IsComposable');
  5486. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('IsSideEffecting');
  5487. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('IsBindable');
  5488. EntityContainer_FunctionImport_Type.RegisterAttributeProperty('MethodAccess');
  5489. EntityContainer_EntitySet_Type.RegisterAttributeProperty('Name');
  5490. EntityContainer_EntitySet_Type.RegisterAttributeProperty('EntityType');
  5491. EntityContainer_EntitySet_Type.RegisterAttributeProperty('GetterAccess');
  5492. EntityContainer_AssociationSet_Type_End_Type.RegisterAttributeProperty('Role');
  5493. EntityContainer_AssociationSet_Type_End_Type.RegisterAttributeProperty('EntitySet');
  5494. EntityContainer_AssociationSet_Type.RegisterAttributeProperty('Name');
  5495. EntityContainer_AssociationSet_Type.RegisterAttributeProperty('Association');
  5496. EntityContainer.RegisterAttributeProperty('Name');
  5497. EntityContainer.RegisterAttributeProperty('Extends');
  5498. EntityContainer.RegisterAttributeProperty('TypeAccess');
  5499. EntityContainer.RegisterAttributeProperty('LazyLoadingEnabled');
  5500. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EDMSimpleType),'EDMSimpleType');
  5501. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EDMSimpleType)].RegisterExternalPropertyName('EDMSimpleType_Boolean','Boolean');
  5502. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EDMSimpleType)].RegisterExternalPropertyName('EDMSimpleType_Byte','Byte');
  5503. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EDMSimpleType)].RegisterExternalPropertyName('EDMSimpleType_Double','Double');
  5504. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EDMSimpleType)].RegisterExternalPropertyName('EDMSimpleType_Single','Single');
  5505. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EDMSimpleType)].RegisterExternalPropertyName('EDMSimpleType_Int64','Int64');
  5506. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EDMSimpleType)].RegisterExternalPropertyName('EDMSimpleType_String','String');
  5507. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TMax),'TMax');
  5508. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TVariable),'TVariable');
  5509. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TParameterMode),'TParameterMode');
  5510. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TParameterMode)].RegisterExternalPropertyName('TParameterMode_In','In');
  5511. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TParameterMode)].RegisterExternalPropertyName('TParameterMode_Out','Out');
  5512. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAction),'TAction');
  5513. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TMultiplicity),'TMultiplicity');
  5514. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TMultiplicity)].RegisterExternalPropertyName('TMultiplicity__0_1','0..1');
  5515. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TMultiplicity)].RegisterExternalPropertyName('TMultiplicity__1','1');
  5516. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TMultiplicity)].RegisterExternalPropertyName('TMultiplicity__','*');
  5517. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TConcurrencyMode),'TConcurrencyMode');
  5518. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TConcurrencyMode)].RegisterExternalPropertyName('TConcurrencyMode_None','None');
  5519. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements),'GSchemaBodyElements',[trioqualifiedElement, triounqualifiedAttribute]);
  5520. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TSchema),'TSchema',[trioqualifiedElement, triounqualifiedAttribute]);
  5521. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDocumentation),'TDocumentation',[trioqualifiedElement, triounqualifiedAttribute]);
  5522. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TText),'TText',[trioqualifiedElement, triounqualifiedAttribute]);
  5523. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TXmlOrText),'TXmlOrText',[trioqualifiedElement, triounqualifiedAttribute]);
  5524. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GEmptyElementExtensibility),'GEmptyElementExtensibility',[trioqualifiedElement, triounqualifiedAttribute]);
  5525. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TUsing),'TUsing',[trioqualifiedElement, triounqualifiedAttribute]);
  5526. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAssociation),'TAssociation',[trioqualifiedElement, triounqualifiedAttribute]);
  5527. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeAttributes),'TTypeAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5528. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType),'TComplexType',[trioqualifiedElement, triounqualifiedAttribute]);
  5529. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TConstraint),'TConstraint',[trioqualifiedElement, triounqualifiedAttribute]);
  5530. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TReferentialConstraintRoleElement),'TReferentialConstraintRoleElement',[trioqualifiedElement, triounqualifiedAttribute]);
  5531. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty),'TNavigationProperty',[trioqualifiedElement, triounqualifiedAttribute]);
  5532. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDerivableTypeAttributes),'TDerivableTypeAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5533. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType),'TEntityType',[trioqualifiedElement, triounqualifiedAttribute]);
  5534. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumTypeMember),'TEnumTypeMember',[trioqualifiedElement, triounqualifiedAttribute]);
  5535. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType),'TEnumType',[trioqualifiedElement, triounqualifiedAttribute]);
  5536. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFacetAttributes),'TFacetAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5537. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction),'TFunction',[trioqualifiedElement, triounqualifiedAttribute]);
  5538. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionParameter),'TFunctionParameter',[trioqualifiedElement, triounqualifiedAttribute]);
  5539. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCollectionType),'TCollectionType',[trioqualifiedElement, triounqualifiedAttribute]);
  5540. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeRef),'TTypeRef',[trioqualifiedElement, triounqualifiedAttribute]);
  5541. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TReferenceType),'TReferenceType',[trioqualifiedElement, triounqualifiedAttribute]);
  5542. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRowProperty),'TRowProperty',[trioqualifiedElement, triounqualifiedAttribute]);
  5543. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionReturnType),'TFunctionReturnType',[trioqualifiedElement, triounqualifiedAttribute]);
  5544. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImportReturnType),'TFunctionImportReturnType',[trioqualifiedElement, triounqualifiedAttribute]);
  5545. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyRef),'TPropertyRef',[trioqualifiedElement, triounqualifiedAttribute]);
  5546. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAnnotations),'TAnnotations',[trioqualifiedElement, triounqualifiedAttribute]);
  5547. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GExpression),'GExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5548. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GInlineExpressions),'GInlineExpressions',[trioqualifiedElement, triounqualifiedAttribute]);
  5549. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TValueAnnotation),'TValueAnnotation',[trioqualifiedElement, triounqualifiedAttribute]);
  5550. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeAnnotation),'TTypeAnnotation',[trioqualifiedElement, triounqualifiedAttribute]);
  5551. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TStringConstantExpression),'TStringConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5552. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TBinaryConstantExpression),'TBinaryConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5553. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TIntConstantExpression),'TIntConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5554. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFloatConstantExpression),'TFloatConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5555. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TGuidConstantExpression),'TGuidConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5556. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDecimalConstantExpression),'TDecimalConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5557. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TBoolConstantExpression),'TBoolConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5558. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTimeConstantExpression),'TTimeConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5559. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDateTimeConstantExpression),'TDateTimeConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5560. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDateTimeOffsetConstantExpression),'TDateTimeOffsetConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5561. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumMemberReferenceExpression),'TEnumMemberReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5562. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNullExpression),'TNullExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5563. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPathExpression),'TPathExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5564. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TIfExpression),'TIfExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5565. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRecordExpression),'TRecordExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5566. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyValue),'TPropertyValue',[trioqualifiedElement, triounqualifiedAttribute]);
  5567. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCollectionExpression),'TCollectionExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5568. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAssertTypeExpression),'TAssertTypeExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5569. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TIsTypeExpression),'TIsTypeExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5570. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionReferenceExpression_Parameter_Type),'TFunctionReferenceExpression_Parameter_Type',[trioqualifiedElement, triounqualifiedAttribute]);
  5571. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionReferenceExpression),'TFunctionReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5572. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntitySetReferenceExpression),'TEntitySetReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5573. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TParameterReferenceExpression),'TParameterReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5574. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TApplyExpression),'TApplyExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5575. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyReferenceExpression),'TPropertyReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5576. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TValueTermReferenceExpression),'TValueTermReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5577. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TLabeledElement),'TLabeledElement',[trioqualifiedElement, triounqualifiedAttribute]);
  5578. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TLabeledElementReferenceExpression),'TLabeledElementReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  5579. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOperations),'TOperations',[trioqualifiedElement, triounqualifiedAttribute]);
  5580. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAssociationEnd),'TAssociationEnd',[trioqualifiedElement, triounqualifiedAttribute]);
  5581. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOnAction),'TOnAction',[trioqualifiedElement, triounqualifiedAttribute]);
  5582. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCommonPropertyAttributes),'TCommonPropertyAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5583. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityProperty),'TEntityProperty',[trioqualifiedElement, triounqualifiedAttribute]);
  5584. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexTypeProperty),'TComplexTypeProperty',[trioqualifiedElement, triounqualifiedAttribute]);
  5585. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TValueTerm),'TValueTerm',[trioqualifiedElement, triounqualifiedAttribute]);
  5586. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImportParameterAttributes),'TFunctionImportParameterAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5587. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImportParameter),'TFunctionImportParameter',[trioqualifiedElement, triounqualifiedAttribute]);
  5588. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImportAttributes),'TFunctionImportAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5589. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntitySetAttributes),'TEntitySetAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  5590. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_FunctionImport_Type),'EntityContainer_FunctionImport_Type',[trioqualifiedElement, triounqualifiedAttribute]);
  5591. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_EntitySet_Type),'EntityContainer_EntitySet_Type',[trioqualifiedElement, triounqualifiedAttribute]);
  5592. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_AssociationSet_Type_End_Type),'EntityContainer_AssociationSet_Type_End_Type',[trioqualifiedElement, triounqualifiedAttribute]);
  5593. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_AssociationSet_Type),'EntityContainer_AssociationSet_Type',[trioqualifiedElement, triounqualifiedAttribute]);
  5594. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer),'EntityContainer',[trioqualifiedElement, triounqualifiedAttribute]);
  5595. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_UsingArray),'GSchemaBodyElements_UsingArray');
  5596. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_UsingArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5597. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_AssociationArray),'GSchemaBodyElements_AssociationArray');
  5598. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_AssociationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5599. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_ComplexTypeArray),'GSchemaBodyElements_ComplexTypeArray');
  5600. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_ComplexTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5601. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_EntityTypeArray),'GSchemaBodyElements_EntityTypeArray');
  5602. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_EntityTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5603. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_EnumTypeArray),'GSchemaBodyElements_EnumTypeArray');
  5604. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_EnumTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5605. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_ValueTermArray),'GSchemaBodyElements_ValueTermArray');
  5606. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_ValueTermArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5607. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements__FunctionArray),'GSchemaBodyElements__FunctionArray');
  5608. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements__FunctionArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5609. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GSchemaBodyElements_AnnotationsArray),'GSchemaBodyElements_AnnotationsArray');
  5610. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements_AnnotationsArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5611. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAssociation__EndArray),'TAssociation__EndArray');
  5612. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAssociation__EndArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5613. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType__PropertyArray),'TComplexType__PropertyArray');
  5614. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType__PropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5615. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType_ValueAnnotationArray),'TComplexType_ValueAnnotationArray');
  5616. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5617. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType_TypeAnnotationArray),'TComplexType_TypeAnnotationArray');
  5618. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5619. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TReferentialConstraintRoleElement_PropertyRefArray),'TReferentialConstraintRoleElement_PropertyRefArray');
  5620. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TReferentialConstraintRoleElement_PropertyRefArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5621. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty_ValueAnnotationArray),'TNavigationProperty_ValueAnnotationArray');
  5622. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNavigationProperty_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5623. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty_TypeAnnotationArray),'TNavigationProperty_TypeAnnotationArray');
  5624. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNavigationProperty_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5625. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType__PropertyArray),'TEntityType__PropertyArray');
  5626. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType__PropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5627. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType_NavigationPropertyArray),'TEntityType_NavigationPropertyArray');
  5628. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType_NavigationPropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5629. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType_ValueAnnotationArray),'TEntityType_ValueAnnotationArray');
  5630. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5631. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType_TypeAnnotationArray),'TEntityType_TypeAnnotationArray');
  5632. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5633. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType_MemberArray),'TEnumType_MemberArray');
  5634. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEnumType_MemberArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5635. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType_ValueAnnotationArray),'TEnumType_ValueAnnotationArray');
  5636. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEnumType_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5637. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType_TypeAnnotationArray),'TEnumType_TypeAnnotationArray');
  5638. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEnumType_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5639. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_ParameterArray),'TFunction_ParameterArray');
  5640. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_ParameterArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5641. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_DefiningExpressionArray),'TFunction_DefiningExpressionArray');
  5642. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_DefiningExpressionArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5643. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_ReturnTypeArray),'TFunction_ReturnTypeArray');
  5644. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_ReturnTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5645. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_ValueAnnotationArray),'TFunction_ValueAnnotationArray');
  5646. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5647. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_TypeAnnotationArray),'TFunction_TypeAnnotationArray');
  5648. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5649. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionParameter_ValueAnnotationArray),'TFunctionParameter_ValueAnnotationArray');
  5650. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionParameter_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5651. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionParameter_TypeAnnotationArray),'TFunctionParameter_TypeAnnotationArray');
  5652. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionParameter_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5653. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRowType),'TRowType');
  5654. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRowType)].RegisterExternalPropertyName(sARRAY_ITEM,'Property');
  5655. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityKeyElement),'TEntityKeyElement');
  5656. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityKeyElement)].RegisterExternalPropertyName(sARRAY_ITEM,'PropertyRef');
  5657. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAnnotations_ValueAnnotationArray),'TAnnotations_ValueAnnotationArray');
  5658. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAnnotations_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5659. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAnnotations_TypeAnnotationArray),'TAnnotations_TypeAnnotationArray');
  5660. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAnnotations_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5661. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeAnnotation_PropertyValueArray),'TTypeAnnotation_PropertyValueArray');
  5662. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTypeAnnotation_PropertyValueArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5663. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRecordExpression_PropertyValueArray),'TRecordExpression_PropertyValueArray');
  5664. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRecordExpression_PropertyValueArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5665. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionReferenceExpression_ParameterArray),'TFunctionReferenceExpression_ParameterArray');
  5666. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionReferenceExpression_ParameterArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5667. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityProperty_DocumentationArray),'TEntityProperty_DocumentationArray');
  5668. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityProperty_DocumentationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5669. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityProperty_ValueAnnotationArray),'TEntityProperty_ValueAnnotationArray');
  5670. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityProperty_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5671. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityProperty_TypeAnnotationArray),'TEntityProperty_TypeAnnotationArray');
  5672. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityProperty_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5673. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexTypeProperty_DocumentationArray),'TComplexTypeProperty_DocumentationArray');
  5674. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexTypeProperty_DocumentationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5675. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexTypeProperty_ValueAnnotationArray),'TComplexTypeProperty_ValueAnnotationArray');
  5676. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexTypeProperty_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5677. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexTypeProperty_TypeAnnotationArray),'TComplexTypeProperty_TypeAnnotationArray');
  5678. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexTypeProperty_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5679. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImportParameter_ValueAnnotationArray),'TFunctionImportParameter_ValueAnnotationArray');
  5680. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImportParameter_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5681. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImportParameter_TypeAnnotationArray),'TFunctionImportParameter_TypeAnnotationArray');
  5682. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImportParameter_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5683. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_FunctionImport_Type_ReturnTypeArray),'EntityContainer_FunctionImport_Type_ReturnTypeArray');
  5684. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_FunctionImport_Type_ReturnTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5685. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_FunctionImport_Type_ParameterArray),'EntityContainer_FunctionImport_Type_ParameterArray');
  5686. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_FunctionImport_Type_ParameterArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5687. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_FunctionImport_Type_ValueAnnotationArray),'EntityContainer_FunctionImport_Type_ValueAnnotationArray');
  5688. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_FunctionImport_Type_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5689. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_FunctionImport_Type_TypeAnnotationArray),'EntityContainer_FunctionImport_Type_TypeAnnotationArray');
  5690. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_FunctionImport_Type_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5691. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_EntitySet_Type_ValueAnnotationArray),'EntityContainer_EntitySet_Type_ValueAnnotationArray');
  5692. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_EntitySet_Type_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5693. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_EntitySet_Type_TypeAnnotationArray),'EntityContainer_EntitySet_Type_TypeAnnotationArray');
  5694. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_EntitySet_Type_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5695. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_AssociationSet_Type__EndArray),'EntityContainer_AssociationSet_Type__EndArray');
  5696. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_AssociationSet_Type__EndArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5697. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_FunctionImportArray),'EntityContainer_FunctionImportArray');
  5698. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_FunctionImportArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5699. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_EntitySetArray),'EntityContainer_EntitySetArray');
  5700. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_EntitySetArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5701. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_AssociationSetArray),'EntityContainer_AssociationSetArray');
  5702. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_AssociationSetArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5703. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_ValueAnnotationArray),'EntityContainer_ValueAnnotationArray');
  5704. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_ValueAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5705. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(EntityContainer_TypeAnnotationArray),'EntityContainer_TypeAnnotationArray');
  5706. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_TypeAnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  5707. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GSchemaBodyElements)].RegisterExternalPropertyName('_Function','Function');
  5708. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TSchema)].RegisterExternalPropertyName('_Function','Function');
  5709. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAssociation)].RegisterExternalPropertyName('_End','End');
  5710. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType)].RegisterExternalPropertyName('_Property','Property');
  5711. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TDerivableTypeAttributes)].RegisterExternalPropertyName('_Abstract','Abstract');
  5712. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType)].RegisterExternalPropertyName('_Property','Property');
  5713. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType)].RegisterExternalPropertyName('_Abstract','Abstract');
  5714. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction)].RegisterExternalPropertyName('ReturnTypeAtt','ReturnType');
  5715. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionParameter)].RegisterExternalPropertyName('_Type','Type');
  5716. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTypeRef)].RegisterExternalPropertyName('_Type','Type');
  5717. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TReferenceType)].RegisterExternalPropertyName('_Type','Type');
  5718. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRowProperty)].RegisterExternalPropertyName('_Type','Type');
  5719. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionReturnType)].RegisterExternalPropertyName('_Type','Type');
  5720. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImportReturnType)].RegisterExternalPropertyName('_Type','Type');
  5721. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GInlineExpressions)].RegisterExternalPropertyName('_String','String');
  5722. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TValueAnnotation)].RegisterExternalPropertyName('_String','String');
  5723. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTypeAnnotation)].RegisterExternalPropertyName('_String','String');
  5724. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRecordExpression)].RegisterExternalPropertyName('_Type','Type');
  5725. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_Property','Property');
  5726. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_String','String');
  5727. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAssertTypeExpression)].RegisterExternalPropertyName('_Type','Type');
  5728. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIsTypeExpression)].RegisterExternalPropertyName('_Type','Type');
  5729. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionReferenceExpression_Parameter_Type)].RegisterExternalPropertyName('_Type','Type');
  5730. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionReferenceExpression)].RegisterExternalPropertyName('_Function','Function');
  5731. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_Function','Function');
  5732. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyReferenceExpression)].RegisterExternalPropertyName('_Property','Property');
  5733. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAssociationEnd)].RegisterExternalPropertyName('_Type','Type');
  5734. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCommonPropertyAttributes)].RegisterExternalPropertyName('_Type','Type');
  5735. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityProperty)].RegisterExternalPropertyName('_Type','Type');
  5736. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexTypeProperty)].RegisterExternalPropertyName('_Type','Type');
  5737. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TValueTerm)].RegisterExternalPropertyName('_Type','Type');
  5738. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImportParameterAttributes)].RegisterExternalPropertyName('_Type','Type');
  5739. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImportParameter)].RegisterExternalPropertyName('_Type','Type');
  5740. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_FunctionImport_Type)].RegisterExternalPropertyName('ReturnTypeAtt','ReturnType');
  5741. typeRegistryInstance.ItemByTypeInfo[TypeInfo(EntityContainer_AssociationSet_Type)].RegisterExternalPropertyName('_End','End');
  5742. End.