edm.pas 344 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845
  1. {
  2. This unit has been produced by ws_helper.
  3. Input unit name : "edm".
  4. This unit name : "edm".
  5. Date : "27-5-16 21:52:37".
  6. }
  7. unit edm;
  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;
  14. const
  15. sNAME_SPACE = 'http://docs.oasis-open.org/odata/ns/edm';
  16. sUNIT_NAME = 'edm';
  17. type
  18. Schema_ComplexTypeArray = class;
  19. Schema_EntityTypeArray = class;
  20. Schema_TypeDefinitionArray = class;
  21. Schema_EnumTypeArray = class;
  22. Schema_ActionArray = class;
  23. Schema__FunctionArray = class;
  24. Schema_TermArray = class;
  25. Schema_AnnotationsArray = class;
  26. Schema_EntityContainerArray = class;
  27. Schema_AnnotationArray = class;
  28. Schema = class;
  29. TTypeAttributes = class;
  30. TDerivableTypeAttributes = class;
  31. TEntityType_KeyArray = class;
  32. TEntityType__PropertyArray = class;
  33. TEntityType_NavigationPropertyArray = class;
  34. TEntityType_AnnotationArray = class;
  35. TEntityType = class;
  36. TEntityKeyElement = class;
  37. TPropertyRef = class;
  38. TComplexType__PropertyArray = class;
  39. TComplexType_NavigationPropertyArray = class;
  40. TComplexType_AnnotationArray = class;
  41. TComplexType = class;
  42. TFacetAttributes = class;
  43. TPropertyFacetAttributes = class;
  44. TCommonPropertyAttributes = class;
  45. TProperty_AnnotationArray = class;
  46. TProperty = class;
  47. TTypeDefinition_AnnotationArray = class;
  48. TTypeDefinition = class;
  49. TNavigationProperty_ReferentialConstraintArray = class;
  50. TNavigationProperty_OnDeleteArray = class;
  51. TNavigationProperty_AnnotationArray = class;
  52. TNavigationProperty = class;
  53. TReferentialConstraint_AnnotationArray = class;
  54. TReferentialConstraint = class;
  55. TOnDelete_AnnotationArray = class;
  56. TOnDelete = class;
  57. TEnumType_MemberArray = class;
  58. TEnumType_AnnotationArray = class;
  59. TEnumType = class;
  60. TEnumTypeMember_AnnotationArray = class;
  61. TEnumTypeMember = class;
  62. TActionFunctionReturnType_AnnotationArray = class;
  63. TActionFunctionReturnType = class;
  64. TActionAttributes = class;
  65. TAction_ParameterArray = class;
  66. TAction_AnnotationArray = class;
  67. TAction = class;
  68. TFunctionAttributes = class;
  69. TFunction_ParameterArray = class;
  70. TFunction_AnnotationArray = class;
  71. TFunction = class;
  72. TActionFunctionParameterAttributes = class;
  73. TActionFunctionParameter_AnnotationArray = class;
  74. TActionFunctionParameter = class;
  75. TTerm_AnnotationArray = class;
  76. TTerm = class;
  77. TAnnotations_AnnotationArray = class;
  78. TAnnotations = class;
  79. GExpression = class;
  80. GInlineExpressions = class;
  81. Annotation_AnnotationArray = class;
  82. Annotation_Type = class;
  83. TBinaryConstantExpression = class;
  84. TBoolConstantExpression = class;
  85. TDateConstantExpression = class;
  86. TDateTimeOffsetConstantExpression = class;
  87. TDecimalConstantExpression = class;
  88. TDurationConstantExpression = class;
  89. TFloatConstantExpression = class;
  90. TGuidConstantExpression = class;
  91. TIntConstantExpression = class;
  92. TStringConstantExpression = class;
  93. TTimeOfDayConstantExpression = class;
  94. TApplyExpression_AnnotationArray = class;
  95. TApplyExpression = class;
  96. TCastOrIsOfExpression_AnnotationArray = class;
  97. TCastOrIsOfExpression = class;
  98. TCollectionExpression = class;
  99. TIfExpression_AnnotationArray = class;
  100. TIfExpression = class;
  101. TOneChildExpression_AnnotationArray = class;
  102. TOneChildExpression = class;
  103. TTwoChildrenExpression_AnnotationArray = class;
  104. TTwoChildrenExpression = class;
  105. TLabeledElementExpression_AnnotationArray = class;
  106. TLabeledElementExpression = class;
  107. TLabeledElementReferenceExpression = class;
  108. TNullExpression = class;
  109. TPathExpression = class;
  110. TRecordExpression_PropertyValueArray = class;
  111. TRecordExpression_AnnotationArray = class;
  112. TRecordExpression = class;
  113. TPropertyValue_AnnotationArray = class;
  114. TPropertyValue = class;
  115. TEntityContainer_EntitySetArray = class;
  116. TEntityContainer_ActionImportArray = class;
  117. TEntityContainer_FunctionImportArray = class;
  118. TEntityContainer_SingletonArray = class;
  119. TEntityContainer_AnnotationArray = class;
  120. TEntityContainer = class;
  121. TEntitySetAttributes = class;
  122. TEntitySet_NavigationPropertyBindingArray = class;
  123. TEntitySet_AnnotationArray = class;
  124. TEntitySet = class;
  125. TNavigationPropertyBinding = class;
  126. TSingleton_NavigationPropertyBindingArray = class;
  127. TSingleton_AnnotationArray = class;
  128. TSingleton = class;
  129. TActionFunctionImportAttributes = class;
  130. TActionImport_AnnotationArray = class;
  131. TActionImport = class;
  132. TFunctionImport_AnnotationArray = class;
  133. TFunctionImport = class;
  134. TAbstractType = (
  135. TAbstractType_Edm_ComplexType
  136. ,TAbstractType_Edm_EntityType
  137. ,TAbstractType_Edm_PrimitiveType
  138. ,TAbstractType_Edm_Geography
  139. ,TAbstractType_Edm_Geometry
  140. ,TAbstractType_Edm_AnnotationPath
  141. ,TAbstractType_Edm_NavigationPropertyPath
  142. ,TAbstractType_Edm_PropertyPath
  143. ,TAbstractType_Collection_Edm_ComplexType
  144. ,TAbstractType_Collection_Edm_EntityType
  145. ,TAbstractType_Collection_Edm_PrimitiveType
  146. ,TAbstractType_Collection_Edm_Geography
  147. ,TAbstractType_Collection_Edm_Geometry
  148. ,TAbstractType_Collection_Edm_AnnotationPath
  149. ,TAbstractType_Collection_Edm_NavigationPropertyPath
  150. ,TAbstractType_Collection_Edm_PropertyPath
  151. );
  152. TMax = (
  153. max
  154. );
  155. TVariable = (
  156. variable
  157. );
  158. TOnDeleteAction = (
  159. Cascade
  160. ,None
  161. ,SetDefault
  162. ,SetNull
  163. );
  164. TGuidLiteral = type UnicodeString;
  165. TSimpleIdentifier = type NCName;
  166. TNamespaceName = type NCName;
  167. TQualifiedName = type NCName;
  168. TEnumMemberList = type UnicodeString;
  169. TTypeName = type UnicodeString;
  170. TPath = type UnicodeString;
  171. TPathWithTermSegments = type UnicodeString;
  172. TClientFunction = type UnicodeString;
  173. TPrimitiveType = type UnicodeString;
  174. TAppliesTo = type UnicodeString;
  175. TMaxLengthFacet = type UnicodeString;
  176. TPrecisionFacet = type nonNegativeInteger;
  177. TScaleFacet = type UnicodeString;
  178. TSridFacet = type UnicodeString;
  179. TUnicodeFacet = type boolean;
  180. binary = type UnicodeString;
  181. _boolean = type boolean;
  182. date = type TDateRemotable;
  183. time = type TTimeRemotable;
  184. dateTimeStamp = type TDateTimeRemotable;
  185. dayTimeDuration = type TDurationRemotable;
  186. Schema = class(TBaseComplexRemotable)
  187. private
  188. FComplexType : Schema_ComplexTypeArray;
  189. FEntityType : Schema_EntityTypeArray;
  190. FTypeDefinition : Schema_TypeDefinitionArray;
  191. FEnumType : Schema_EnumTypeArray;
  192. FAction : Schema_ActionArray;
  193. F_Function : Schema__FunctionArray;
  194. FTerm : Schema_TermArray;
  195. FAnnotations : Schema_AnnotationsArray;
  196. FEntityContainer : Schema_EntityContainerArray;
  197. FAnnotation : Schema_AnnotationArray;
  198. FNamespace : TNamespaceName;
  199. FAlias : TSimpleIdentifier;
  200. private
  201. function wstHas_ComplexType() : Boolean;
  202. function wstHas_EntityType() : Boolean;
  203. function wstHas_TypeDefinition() : Boolean;
  204. function wstHas_EnumType() : Boolean;
  205. function wstHas_Action() : Boolean;
  206. function wstHas__Function() : Boolean;
  207. function wstHas_Term() : Boolean;
  208. function wstHas_Annotations() : Boolean;
  209. function wstHas_EntityContainer() : Boolean;
  210. function wstHas_Annotation() : Boolean;
  211. function wstHas_Alias() : Boolean;
  212. public
  213. constructor Create();override;
  214. procedure FreeObjectProperties();override;
  215. published
  216. property ComplexType : Schema_ComplexTypeArray read FComplexType write FComplexType stored wstHas_ComplexType;
  217. property EntityType : Schema_EntityTypeArray read FEntityType write FEntityType stored wstHas_EntityType;
  218. property TypeDefinition : Schema_TypeDefinitionArray read FTypeDefinition write FTypeDefinition stored wstHas_TypeDefinition;
  219. property EnumType : Schema_EnumTypeArray read FEnumType write FEnumType stored wstHas_EnumType;
  220. property Action : Schema_ActionArray read FAction write FAction stored wstHas_Action;
  221. property _Function : Schema__FunctionArray read F_Function write F_Function stored wstHas__Function;
  222. property Term : Schema_TermArray read FTerm write FTerm stored wstHas_Term;
  223. property Annotations : Schema_AnnotationsArray read FAnnotations write FAnnotations stored wstHas_Annotations;
  224. property EntityContainer : Schema_EntityContainerArray read FEntityContainer write FEntityContainer stored wstHas_EntityContainer;
  225. property Annotation : Schema_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  226. property Namespace : TNamespaceName read FNamespace write FNamespace;
  227. property Alias : TSimpleIdentifier read FAlias write FAlias stored wstHas_Alias;
  228. end;
  229. TTypeAttributes = class(TBaseComplexRemotable)
  230. private
  231. FName : TSimpleIdentifier;
  232. published
  233. property Name : TSimpleIdentifier read FName write FName;
  234. end;
  235. TDerivableTypeAttributes = class(TBaseComplexRemotable)
  236. private
  237. FBaseType : TQualifiedName;
  238. F_Abstract : boolean;
  239. FName : TSimpleIdentifier;
  240. private
  241. function wstHas_BaseType() : Boolean;
  242. function wstHas__Abstract() : Boolean;
  243. published
  244. property BaseType : TQualifiedName read FBaseType write FBaseType stored wstHas_BaseType;
  245. property _Abstract : boolean read F_Abstract write F_Abstract stored wstHas__Abstract;
  246. property Name : TSimpleIdentifier read FName write FName;
  247. end;
  248. TEntityType = class(TBaseComplexRemotable)
  249. private
  250. FKey : TEntityType_KeyArray;
  251. F_Property : TEntityType__PropertyArray;
  252. FNavigationProperty : TEntityType_NavigationPropertyArray;
  253. FAnnotation : TEntityType_AnnotationArray;
  254. FOpenType : boolean;
  255. FHasStream : boolean;
  256. FBaseType : TQualifiedName;
  257. F_Abstract : boolean;
  258. FName : TSimpleIdentifier;
  259. private
  260. function wstHas_Key() : Boolean;
  261. function wstHas__Property() : Boolean;
  262. function wstHas_NavigationProperty() : Boolean;
  263. function wstHas_Annotation() : Boolean;
  264. function wstHas_OpenType() : Boolean;
  265. function wstHas_HasStream() : Boolean;
  266. function wstHas_BaseType() : Boolean;
  267. function wstHas__Abstract() : Boolean;
  268. public
  269. constructor Create();override;
  270. procedure FreeObjectProperties();override;
  271. published
  272. property Key : TEntityType_KeyArray read FKey write FKey stored wstHas_Key;
  273. property _Property : TEntityType__PropertyArray read F_Property write F_Property stored wstHas__Property;
  274. property NavigationProperty : TEntityType_NavigationPropertyArray read FNavigationProperty write FNavigationProperty stored wstHas_NavigationProperty;
  275. property Annotation : TEntityType_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  276. property OpenType : boolean read FOpenType write FOpenType stored wstHas_OpenType;
  277. property HasStream : boolean read FHasStream write FHasStream stored wstHas_HasStream;
  278. property BaseType : TQualifiedName read FBaseType write FBaseType stored wstHas_BaseType;
  279. property _Abstract : boolean read F_Abstract write F_Abstract stored wstHas__Abstract;
  280. property Name : TSimpleIdentifier read FName write FName;
  281. end;
  282. TPropertyRef = class(TBaseComplexRemotable)
  283. private
  284. FName : TPath;
  285. FAlias : TSimpleIdentifier;
  286. private
  287. function wstHas_Alias() : Boolean;
  288. published
  289. property Name : TPath read FName write FName;
  290. property Alias : TSimpleIdentifier read FAlias write FAlias stored wstHas_Alias;
  291. end;
  292. TComplexType = class(TBaseComplexRemotable)
  293. private
  294. F_Property : TComplexType__PropertyArray;
  295. FNavigationProperty : TComplexType_NavigationPropertyArray;
  296. FAnnotation : TComplexType_AnnotationArray;
  297. FOpenType : boolean;
  298. FBaseType : TQualifiedName;
  299. F_Abstract : boolean;
  300. FName : TSimpleIdentifier;
  301. private
  302. function wstHas__Property() : Boolean;
  303. function wstHas_NavigationProperty() : Boolean;
  304. function wstHas_Annotation() : Boolean;
  305. function wstHas_OpenType() : Boolean;
  306. function wstHas_BaseType() : Boolean;
  307. function wstHas__Abstract() : Boolean;
  308. public
  309. constructor Create();override;
  310. procedure FreeObjectProperties();override;
  311. published
  312. property _Property : TComplexType__PropertyArray read F_Property write F_Property stored wstHas__Property;
  313. property NavigationProperty : TComplexType_NavigationPropertyArray read FNavigationProperty write FNavigationProperty stored wstHas_NavigationProperty;
  314. property Annotation : TComplexType_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  315. property OpenType : boolean read FOpenType write FOpenType stored wstHas_OpenType;
  316. property BaseType : TQualifiedName read FBaseType write FBaseType stored wstHas_BaseType;
  317. property _Abstract : boolean read F_Abstract write F_Abstract stored wstHas__Abstract;
  318. property Name : TSimpleIdentifier read FName write FName;
  319. end;
  320. TFacetAttributes = class(TBaseComplexRemotable)
  321. private
  322. FMaxLength : TMaxLengthFacet;
  323. FPrecision : TPrecisionFacet;
  324. FScale : TScaleFacet;
  325. FSRID : TSridFacet;
  326. private
  327. function wstHas_MaxLength() : Boolean;
  328. function wstHas_Precision() : Boolean;
  329. function wstHas_Scale() : Boolean;
  330. function wstHas_SRID() : Boolean;
  331. published
  332. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  333. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  334. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  335. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  336. end;
  337. TPropertyFacetAttributes = class(TBaseComplexRemotable)
  338. private
  339. FUnicode : TUnicodeFacet;
  340. private
  341. function wstHas_Unicode() : Boolean;
  342. published
  343. property Unicode : TUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  344. end;
  345. TCommonPropertyAttributes = class(TBaseComplexRemotable)
  346. private
  347. FName : TSimpleIdentifier;
  348. F_Type : TTypeName;
  349. FNullable : boolean;
  350. FDefaultValue : UnicodeString;
  351. FMaxLength : TMaxLengthFacet;
  352. FPrecision : TPrecisionFacet;
  353. FScale : TScaleFacet;
  354. FSRID : TSridFacet;
  355. FUnicode : TUnicodeFacet;
  356. private
  357. function wstHas_Nullable() : Boolean;
  358. function wstHas_DefaultValue() : Boolean;
  359. function wstHas_MaxLength() : Boolean;
  360. function wstHas_Precision() : Boolean;
  361. function wstHas_Scale() : Boolean;
  362. function wstHas_SRID() : Boolean;
  363. function wstHas_Unicode() : Boolean;
  364. published
  365. property Name : TSimpleIdentifier read FName write FName;
  366. property _Type : TTypeName read F_Type write F_Type;
  367. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  368. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  369. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  370. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  371. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  372. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  373. property Unicode : TUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  374. end;
  375. TProperty = class(TBaseComplexRemotable)
  376. private
  377. FAnnotation : TProperty_AnnotationArray;
  378. FName : TSimpleIdentifier;
  379. F_Type : TTypeName;
  380. FNullable : boolean;
  381. FDefaultValue : UnicodeString;
  382. FMaxLength : TMaxLengthFacet;
  383. FPrecision : TPrecisionFacet;
  384. FScale : TScaleFacet;
  385. FSRID : TSridFacet;
  386. FUnicode : TUnicodeFacet;
  387. private
  388. function wstHas_Annotation() : Boolean;
  389. function wstHas_Nullable() : Boolean;
  390. function wstHas_DefaultValue() : Boolean;
  391. function wstHas_MaxLength() : Boolean;
  392. function wstHas_Precision() : Boolean;
  393. function wstHas_Scale() : Boolean;
  394. function wstHas_SRID() : Boolean;
  395. function wstHas_Unicode() : Boolean;
  396. public
  397. constructor Create();override;
  398. procedure FreeObjectProperties();override;
  399. published
  400. property Annotation : TProperty_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  401. property Name : TSimpleIdentifier read FName write FName;
  402. property _Type : TTypeName read F_Type write F_Type;
  403. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  404. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  405. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  406. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  407. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  408. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  409. property Unicode : TUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  410. end;
  411. TTypeDefinition = class(TBaseComplexRemotable)
  412. private
  413. FAnnotation : TTypeDefinition_AnnotationArray;
  414. FName : TSimpleIdentifier;
  415. FUnderlyingType : TPrimitiveType;
  416. FMaxLength : TMaxLengthFacet;
  417. FPrecision : TPrecisionFacet;
  418. FScale : TScaleFacet;
  419. FSRID : TSridFacet;
  420. FUnicode : TUnicodeFacet;
  421. private
  422. function wstHas_Annotation() : Boolean;
  423. function wstHas_MaxLength() : Boolean;
  424. function wstHas_Precision() : Boolean;
  425. function wstHas_Scale() : Boolean;
  426. function wstHas_SRID() : Boolean;
  427. function wstHas_Unicode() : Boolean;
  428. public
  429. constructor Create();override;
  430. procedure FreeObjectProperties();override;
  431. published
  432. property Annotation : TTypeDefinition_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  433. property Name : TSimpleIdentifier read FName write FName;
  434. property UnderlyingType : TPrimitiveType read FUnderlyingType write FUnderlyingType;
  435. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  436. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  437. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  438. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  439. property Unicode : TUnicodeFacet read FUnicode write FUnicode stored wstHas_Unicode;
  440. end;
  441. TNavigationProperty = class(TBaseComplexRemotable)
  442. private
  443. FReferentialConstraint : TNavigationProperty_ReferentialConstraintArray;
  444. FOnDelete : TNavigationProperty_OnDeleteArray;
  445. FAnnotation : TNavigationProperty_AnnotationArray;
  446. FName : TSimpleIdentifier;
  447. F_Type : TTypeName;
  448. FNullable : boolean;
  449. FPartner : TPath;
  450. FContainsTarget : boolean;
  451. private
  452. function wstHas_ReferentialConstraint() : Boolean;
  453. function wstHas_OnDelete() : Boolean;
  454. function wstHas_Annotation() : Boolean;
  455. function wstHas_Nullable() : Boolean;
  456. function wstHas_Partner() : Boolean;
  457. function wstHas_ContainsTarget() : Boolean;
  458. public
  459. constructor Create();override;
  460. procedure FreeObjectProperties();override;
  461. published
  462. property ReferentialConstraint : TNavigationProperty_ReferentialConstraintArray read FReferentialConstraint write FReferentialConstraint stored wstHas_ReferentialConstraint;
  463. property OnDelete : TNavigationProperty_OnDeleteArray read FOnDelete write FOnDelete stored wstHas_OnDelete;
  464. property Annotation : TNavigationProperty_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  465. property Name : TSimpleIdentifier read FName write FName;
  466. property _Type : TTypeName read F_Type write F_Type;
  467. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  468. property Partner : TPath read FPartner write FPartner stored wstHas_Partner;
  469. property ContainsTarget : boolean read FContainsTarget write FContainsTarget stored wstHas_ContainsTarget;
  470. end;
  471. TReferentialConstraint = class(TBaseComplexRemotable)
  472. private
  473. FAnnotation : TReferentialConstraint_AnnotationArray;
  474. F_Property : TPath;
  475. FReferencedProperty : TPath;
  476. private
  477. function wstHas_Annotation() : Boolean;
  478. public
  479. constructor Create();override;
  480. procedure FreeObjectProperties();override;
  481. published
  482. property Annotation : TReferentialConstraint_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  483. property _Property : TPath read F_Property write F_Property;
  484. property ReferencedProperty : TPath read FReferencedProperty write FReferencedProperty;
  485. end;
  486. TOnDelete = class(TBaseComplexRemotable)
  487. private
  488. FAnnotation : TOnDelete_AnnotationArray;
  489. FAction : TOnDeleteAction;
  490. private
  491. function wstHas_Annotation() : Boolean;
  492. public
  493. constructor Create();override;
  494. procedure FreeObjectProperties();override;
  495. published
  496. property Annotation : TOnDelete_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  497. property Action : TOnDeleteAction read FAction write FAction;
  498. end;
  499. TEnumType = class(TBaseComplexRemotable)
  500. private
  501. FMember : TEnumType_MemberArray;
  502. FAnnotation : TEnumType_AnnotationArray;
  503. FIsFlags : boolean;
  504. FUnderlyingType : TTypeName;
  505. FName : TSimpleIdentifier;
  506. private
  507. function wstHas_Member() : Boolean;
  508. function wstHas_Annotation() : Boolean;
  509. function wstHas_IsFlags() : Boolean;
  510. function wstHas_UnderlyingType() : Boolean;
  511. public
  512. constructor Create();override;
  513. procedure FreeObjectProperties();override;
  514. published
  515. property Member : TEnumType_MemberArray read FMember write FMember stored wstHas_Member;
  516. property Annotation : TEnumType_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  517. property IsFlags : boolean read FIsFlags write FIsFlags stored wstHas_IsFlags;
  518. property UnderlyingType : TTypeName read FUnderlyingType write FUnderlyingType stored wstHas_UnderlyingType;
  519. property Name : TSimpleIdentifier read FName write FName;
  520. end;
  521. TEnumTypeMember = class(TBaseComplexRemotable)
  522. private
  523. FAnnotation : TEnumTypeMember_AnnotationArray;
  524. FName : TSimpleIdentifier;
  525. FValue : Int64;
  526. private
  527. function wstHas_Annotation() : Boolean;
  528. function wstHas_Value() : Boolean;
  529. public
  530. constructor Create();override;
  531. procedure FreeObjectProperties();override;
  532. published
  533. property Annotation : TEnumTypeMember_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  534. property Name : TSimpleIdentifier read FName write FName;
  535. property Value : Int64 read FValue write FValue stored wstHas_Value;
  536. end;
  537. TActionFunctionReturnType = class(TBaseComplexRemotable)
  538. private
  539. FAnnotation : TActionFunctionReturnType_AnnotationArray;
  540. F_Type : TTypeName;
  541. FNullable : boolean;
  542. FMaxLength : TMaxLengthFacet;
  543. FPrecision : TPrecisionFacet;
  544. FScale : TScaleFacet;
  545. FSRID : TSridFacet;
  546. private
  547. function wstHas_Annotation() : Boolean;
  548. function wstHas_Nullable() : Boolean;
  549. function wstHas_MaxLength() : Boolean;
  550. function wstHas_Precision() : Boolean;
  551. function wstHas_Scale() : Boolean;
  552. function wstHas_SRID() : Boolean;
  553. public
  554. constructor Create();override;
  555. procedure FreeObjectProperties();override;
  556. published
  557. property Annotation : TActionFunctionReturnType_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  558. property _Type : TTypeName read F_Type write F_Type;
  559. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  560. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  561. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  562. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  563. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  564. end;
  565. TActionAttributes = class(TBaseComplexRemotable)
  566. private
  567. FName : TSimpleIdentifier;
  568. FEntitySetPath : TPath;
  569. FIsBound : boolean;
  570. private
  571. function wstHas_EntitySetPath() : Boolean;
  572. function wstHas_IsBound() : Boolean;
  573. published
  574. property Name : TSimpleIdentifier read FName write FName;
  575. property EntitySetPath : TPath read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  576. property IsBound : boolean read FIsBound write FIsBound stored wstHas_IsBound;
  577. end;
  578. TAction = class(TBaseComplexRemotable)
  579. private
  580. FParameter : TAction_ParameterArray;
  581. FAnnotation : TAction_AnnotationArray;
  582. FReturnType : TActionFunctionReturnType;
  583. FName : TSimpleIdentifier;
  584. FEntitySetPath : TPath;
  585. FIsBound : boolean;
  586. private
  587. function wstHas_Parameter() : Boolean;
  588. function wstHas_Annotation() : Boolean;
  589. function wstHas_ReturnType() : Boolean;
  590. function wstHas_EntitySetPath() : Boolean;
  591. function wstHas_IsBound() : Boolean;
  592. public
  593. constructor Create();override;
  594. procedure FreeObjectProperties();override;
  595. published
  596. property Parameter : TAction_ParameterArray read FParameter write FParameter stored wstHas_Parameter;
  597. property Annotation : TAction_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  598. property ReturnType : TActionFunctionReturnType read FReturnType write FReturnType stored wstHas_ReturnType;
  599. property Name : TSimpleIdentifier read FName write FName;
  600. property EntitySetPath : TPath read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  601. property IsBound : boolean read FIsBound write FIsBound stored wstHas_IsBound;
  602. end;
  603. TFunctionAttributes = class(TBaseComplexRemotable)
  604. private
  605. FName : TSimpleIdentifier;
  606. FEntitySetPath : TPath;
  607. FIsBound : boolean;
  608. FIsComposable : boolean;
  609. private
  610. function wstHas_EntitySetPath() : Boolean;
  611. function wstHas_IsBound() : Boolean;
  612. function wstHas_IsComposable() : Boolean;
  613. published
  614. property Name : TSimpleIdentifier read FName write FName;
  615. property EntitySetPath : TPath read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  616. property IsBound : boolean read FIsBound write FIsBound stored wstHas_IsBound;
  617. property IsComposable : boolean read FIsComposable write FIsComposable stored wstHas_IsComposable;
  618. end;
  619. TFunction = class(TBaseComplexRemotable)
  620. private
  621. FParameter : TFunction_ParameterArray;
  622. FAnnotation : TFunction_AnnotationArray;
  623. FReturnType : TActionFunctionReturnType;
  624. FName : TSimpleIdentifier;
  625. FEntitySetPath : TPath;
  626. FIsBound : boolean;
  627. FIsComposable : boolean;
  628. private
  629. function wstHas_Parameter() : Boolean;
  630. function wstHas_Annotation() : Boolean;
  631. function wstHas_EntitySetPath() : Boolean;
  632. function wstHas_IsBound() : Boolean;
  633. function wstHas_IsComposable() : Boolean;
  634. public
  635. constructor Create();override;
  636. procedure FreeObjectProperties();override;
  637. published
  638. property Parameter : TFunction_ParameterArray read FParameter write FParameter stored wstHas_Parameter;
  639. property Annotation : TFunction_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  640. property ReturnType : TActionFunctionReturnType read FReturnType write FReturnType;
  641. property Name : TSimpleIdentifier read FName write FName;
  642. property EntitySetPath : TPath read FEntitySetPath write FEntitySetPath stored wstHas_EntitySetPath;
  643. property IsBound : boolean read FIsBound write FIsBound stored wstHas_IsBound;
  644. property IsComposable : boolean read FIsComposable write FIsComposable stored wstHas_IsComposable;
  645. end;
  646. TActionFunctionParameterAttributes = class(TBaseComplexRemotable)
  647. private
  648. FName : TSimpleIdentifier;
  649. F_Type : TTypeName;
  650. FNullable : boolean;
  651. FMaxLength : TMaxLengthFacet;
  652. FPrecision : TPrecisionFacet;
  653. FScale : TScaleFacet;
  654. FSRID : TSridFacet;
  655. private
  656. function wstHas_Nullable() : Boolean;
  657. function wstHas_MaxLength() : Boolean;
  658. function wstHas_Precision() : Boolean;
  659. function wstHas_Scale() : Boolean;
  660. function wstHas_SRID() : Boolean;
  661. published
  662. property Name : TSimpleIdentifier read FName write FName;
  663. property _Type : TTypeName read F_Type write F_Type;
  664. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  665. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  666. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  667. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  668. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  669. end;
  670. TActionFunctionParameter = class(TBaseComplexRemotable)
  671. private
  672. FAnnotation : TActionFunctionParameter_AnnotationArray;
  673. FName : TSimpleIdentifier;
  674. F_Type : TTypeName;
  675. FNullable : boolean;
  676. FMaxLength : TMaxLengthFacet;
  677. FPrecision : TPrecisionFacet;
  678. FScale : TScaleFacet;
  679. FSRID : TSridFacet;
  680. private
  681. function wstHas_Annotation() : Boolean;
  682. function wstHas_Nullable() : Boolean;
  683. function wstHas_MaxLength() : Boolean;
  684. function wstHas_Precision() : Boolean;
  685. function wstHas_Scale() : Boolean;
  686. function wstHas_SRID() : Boolean;
  687. public
  688. constructor Create();override;
  689. procedure FreeObjectProperties();override;
  690. published
  691. property Annotation : TActionFunctionParameter_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  692. property Name : TSimpleIdentifier read FName write FName;
  693. property _Type : TTypeName read F_Type write F_Type;
  694. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  695. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  696. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  697. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  698. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  699. end;
  700. TTerm = class(TBaseComplexRemotable)
  701. private
  702. FAnnotation : TTerm_AnnotationArray;
  703. FName : TSimpleIdentifier;
  704. F_Type : TTypeName;
  705. FBaseTerm : TQualifiedName;
  706. FNullable : boolean;
  707. FDefaultValue : UnicodeString;
  708. FAppliesTo : TAppliesTo;
  709. FMaxLength : TMaxLengthFacet;
  710. FPrecision : TPrecisionFacet;
  711. FScale : TScaleFacet;
  712. FSRID : TSridFacet;
  713. private
  714. function wstHas_Annotation() : Boolean;
  715. function wstHas_BaseTerm() : Boolean;
  716. function wstHas_Nullable() : Boolean;
  717. function wstHas_DefaultValue() : Boolean;
  718. function wstHas_AppliesTo() : Boolean;
  719. function wstHas_MaxLength() : Boolean;
  720. function wstHas_Precision() : Boolean;
  721. function wstHas_Scale() : Boolean;
  722. function wstHas_SRID() : Boolean;
  723. public
  724. constructor Create();override;
  725. procedure FreeObjectProperties();override;
  726. published
  727. property Annotation : TTerm_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  728. property Name : TSimpleIdentifier read FName write FName;
  729. property _Type : TTypeName read F_Type write F_Type;
  730. property BaseTerm : TQualifiedName read FBaseTerm write FBaseTerm stored wstHas_BaseTerm;
  731. property Nullable : boolean read FNullable write FNullable stored wstHas_Nullable;
  732. property DefaultValue : UnicodeString read FDefaultValue write FDefaultValue stored wstHas_DefaultValue;
  733. property AppliesTo : TAppliesTo read FAppliesTo write FAppliesTo stored wstHas_AppliesTo;
  734. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  735. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  736. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  737. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  738. end;
  739. TAnnotations = class(TBaseComplexRemotable)
  740. private
  741. FAnnotation : TAnnotations_AnnotationArray;
  742. FTarget : TPath;
  743. FQualifier : TSimpleIdentifier;
  744. private
  745. function wstHas_Qualifier() : Boolean;
  746. public
  747. constructor Create();override;
  748. procedure FreeObjectProperties();override;
  749. published
  750. property Annotation : TAnnotations_AnnotationArray read FAnnotation write FAnnotation;
  751. property Target : TPath read FTarget write FTarget;
  752. property Qualifier : TSimpleIdentifier read FQualifier write FQualifier stored wstHas_Qualifier;
  753. end;
  754. GExpression = class(TBaseComplexRemotable)
  755. private
  756. FBinary : TBinaryConstantExpression;
  757. FBool : TBoolConstantExpression;
  758. FDate : TDateConstantExpression;
  759. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  760. FDecimal : TDecimalConstantExpression;
  761. FDuration : TDurationConstantExpression;
  762. FEnumMember : TEnumMemberList;
  763. FFloat : TFloatConstantExpression;
  764. FGuid : TGuidConstantExpression;
  765. FInt : TIntConstantExpression;
  766. F_String : TStringConstantExpression;
  767. FTimeOfDay : TTimeOfDayConstantExpression;
  768. FAnnotationPath : TPathExpression;
  769. FApply : TApplyExpression;
  770. FCast : TCastOrIsOfExpression;
  771. FCollection : TCollectionExpression;
  772. F_If : TIfExpression;
  773. FEq : TTwoChildrenExpression;
  774. FNe : TTwoChildrenExpression;
  775. FGe : TTwoChildrenExpression;
  776. FGt : TTwoChildrenExpression;
  777. FLe : TTwoChildrenExpression;
  778. FLt : TTwoChildrenExpression;
  779. F_And : TTwoChildrenExpression;
  780. F_Or : TTwoChildrenExpression;
  781. F_Not : TOneChildExpression;
  782. FIsOf : TCastOrIsOfExpression;
  783. FLabeledElement : TLabeledElementExpression;
  784. FLabeledElementReference : TLabeledElementReferenceExpression;
  785. FNull : TNullExpression;
  786. FNavigationPropertyPath : TPathExpression;
  787. FPath : TPathExpression;
  788. FPropertyPath : TPathExpression;
  789. F_Record : TRecordExpression;
  790. FUrlRef : TOneChildExpression;
  791. private
  792. function wstHas_Binary() : Boolean;
  793. function wstHas_Bool() : Boolean;
  794. function wstHas_Date() : Boolean;
  795. function wstHas_DateTimeOffset() : Boolean;
  796. function wstHas_Decimal() : Boolean;
  797. function wstHas_Duration() : Boolean;
  798. function wstHas_EnumMember() : Boolean;
  799. function wstHas_Float() : Boolean;
  800. function wstHas_Guid() : Boolean;
  801. function wstHas_Int() : Boolean;
  802. function wstHas__String() : Boolean;
  803. function wstHas_TimeOfDay() : Boolean;
  804. function wstHas_AnnotationPath() : Boolean;
  805. function wstHas_Apply() : Boolean;
  806. function wstHas_Cast() : Boolean;
  807. function wstHas_Collection() : Boolean;
  808. function wstHas__If() : Boolean;
  809. function wstHas_Eq() : Boolean;
  810. function wstHas_Ne() : Boolean;
  811. function wstHas_Ge() : Boolean;
  812. function wstHas_Gt() : Boolean;
  813. function wstHas_Le() : Boolean;
  814. function wstHas_Lt() : Boolean;
  815. function wstHas__And() : Boolean;
  816. function wstHas__Or() : Boolean;
  817. function wstHas__Not() : Boolean;
  818. function wstHas_IsOf() : Boolean;
  819. function wstHas_LabeledElement() : Boolean;
  820. function wstHas_LabeledElementReference() : Boolean;
  821. function wstHas_Null() : Boolean;
  822. function wstHas_NavigationPropertyPath() : Boolean;
  823. function wstHas_Path() : Boolean;
  824. function wstHas_PropertyPath() : Boolean;
  825. function wstHas__Record() : Boolean;
  826. function wstHas_UrlRef() : Boolean;
  827. public
  828. constructor Create();override;
  829. procedure FreeObjectProperties();override;
  830. published
  831. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  832. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  833. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  834. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  835. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  836. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  837. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  838. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  839. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  840. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  841. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  842. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  843. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  844. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  845. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  846. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  847. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  848. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  849. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  850. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  851. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  852. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  853. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  854. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  855. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  856. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  857. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  858. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  859. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  860. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  861. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  862. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  863. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  864. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  865. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  866. end;
  867. GInlineExpressions = class(TBaseComplexRemotable)
  868. private
  869. FBinary : edm.binary;
  870. FBool : boolean;
  871. FDate : TDateRemotable;
  872. FDateTimeOffset : dateTimeStamp;
  873. FDecimal : Currency;
  874. FDuration : dayTimeDuration;
  875. FEnumMember : TEnumMemberList;
  876. FFloat : Double;
  877. FGuid : TGuidLiteral;
  878. FInt : integer;
  879. F_String : UnicodeString;
  880. FTimeOfDay : TTimeRemotable;
  881. FAnnotationPath : TPathWithTermSegments;
  882. FNavigationPropertyPath : TPathWithTermSegments;
  883. FPath : TPathWithTermSegments;
  884. FPropertyPath : TPathWithTermSegments;
  885. FUrlRef : anyURI;
  886. private
  887. function wstHas_Binary() : Boolean;
  888. function wstHas_Bool() : Boolean;
  889. function wstHas_Date() : Boolean;
  890. function wstHas_DateTimeOffset() : Boolean;
  891. function wstHas_Decimal() : Boolean;
  892. function wstHas_Duration() : Boolean;
  893. function wstHas_EnumMember() : Boolean;
  894. function wstHas_Float() : Boolean;
  895. function wstHas_Guid() : Boolean;
  896. function wstHas_Int() : Boolean;
  897. function wstHas__String() : Boolean;
  898. function wstHas_TimeOfDay() : Boolean;
  899. function wstHas_AnnotationPath() : Boolean;
  900. function wstHas_NavigationPropertyPath() : Boolean;
  901. function wstHas_Path() : Boolean;
  902. function wstHas_PropertyPath() : Boolean;
  903. function wstHas_UrlRef() : Boolean;
  904. public
  905. constructor Create();override;
  906. procedure FreeObjectProperties();override;
  907. published
  908. property Binary : edm.binary read FBinary write FBinary stored wstHas_Binary;
  909. property Bool : boolean read FBool write FBool stored wstHas_Bool;
  910. property Date : TDateRemotable read FDate write FDate stored wstHas_Date;
  911. property DateTimeOffset : dateTimeStamp read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  912. property Decimal : Currency read FDecimal write FDecimal stored wstHas_Decimal;
  913. property Duration : dayTimeDuration read FDuration write FDuration stored wstHas_Duration;
  914. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  915. property Float : Double read FFloat write FFloat stored wstHas_Float;
  916. property Guid : TGuidLiteral read FGuid write FGuid stored wstHas_Guid;
  917. property Int : integer read FInt write FInt stored wstHas_Int;
  918. property _String : UnicodeString read F_String write F_String stored wstHas__String;
  919. property TimeOfDay : TTimeRemotable read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  920. property AnnotationPath : TPathWithTermSegments read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  921. property NavigationPropertyPath : TPathWithTermSegments read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  922. property Path : TPathWithTermSegments read FPath write FPath stored wstHas_Path;
  923. property PropertyPath : TPathWithTermSegments read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  924. property UrlRef : anyURI read FUrlRef write FUrlRef stored wstHas_UrlRef;
  925. end;
  926. Annotation_Type = class(TBaseComplexRemotable)
  927. private
  928. FAnnotation : Annotation_AnnotationArray;
  929. FTerm : TQualifiedName;
  930. FQualifier : TSimpleIdentifier;
  931. FBinary : TBinaryConstantExpression;
  932. FBool : TBoolConstantExpression;
  933. FDate : TDateConstantExpression;
  934. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  935. FDecimal : TDecimalConstantExpression;
  936. FDuration : TDurationConstantExpression;
  937. FEnumMember : TEnumMemberList;
  938. FFloat : TFloatConstantExpression;
  939. FGuid : TGuidConstantExpression;
  940. FInt : TIntConstantExpression;
  941. F_String : TStringConstantExpression;
  942. FTimeOfDay : TTimeOfDayConstantExpression;
  943. FAnnotationPath : TPathExpression;
  944. FApply : TApplyExpression;
  945. FCast : TCastOrIsOfExpression;
  946. FCollection : TCollectionExpression;
  947. F_If : TIfExpression;
  948. FEq : TTwoChildrenExpression;
  949. FNe : TTwoChildrenExpression;
  950. FGe : TTwoChildrenExpression;
  951. FGt : TTwoChildrenExpression;
  952. FLe : TTwoChildrenExpression;
  953. FLt : TTwoChildrenExpression;
  954. F_And : TTwoChildrenExpression;
  955. F_Or : TTwoChildrenExpression;
  956. F_Not : TOneChildExpression;
  957. FIsOf : TCastOrIsOfExpression;
  958. FLabeledElement : TLabeledElementExpression;
  959. FLabeledElementReference : TLabeledElementReferenceExpression;
  960. FNull : TNullExpression;
  961. FNavigationPropertyPath : TPathExpression;
  962. FPath : TPathExpression;
  963. FPropertyPath : TPathExpression;
  964. F_Record : TRecordExpression;
  965. FUrlRef : TOneChildExpression;
  966. FBinaryAtt : binary;
  967. FBoolAtt : boolean;
  968. FDateAtt : TDateRemotable;
  969. FDateTimeOffsetAtt : dateTimeStamp;
  970. FDecimalAtt : Currency;
  971. FDurationAtt : dayTimeDuration;
  972. FEnumMemberAtt : TEnumMemberList;
  973. FFloatAtt : Double;
  974. FGuidAtt : TGuidLiteral;
  975. FIntAtt : integer;
  976. F_StringAtt : UnicodeString;
  977. FTimeOfDayAtt : TTimeRemotable;
  978. FAnnotationPathAtt : TPathWithTermSegments;
  979. FNavigationPropertyPathAtt : TPathWithTermSegments;
  980. FPathAtt : TPathWithTermSegments;
  981. FPropertyPathAtt : TPathWithTermSegments;
  982. FUrlRefAtt : anyURI;
  983. private
  984. function wstHas_Annotation() : Boolean;
  985. function wstHas_Qualifier() : Boolean;
  986. function wstHas_Binary() : Boolean;
  987. function wstHas_Bool() : Boolean;
  988. function wstHas_Date() : Boolean;
  989. function wstHas_DateTimeOffset() : Boolean;
  990. function wstHas_Decimal() : Boolean;
  991. function wstHas_Duration() : Boolean;
  992. function wstHas_EnumMember() : Boolean;
  993. function wstHas_Float() : Boolean;
  994. function wstHas_Guid() : Boolean;
  995. function wstHas_Int() : Boolean;
  996. function wstHas__String() : Boolean;
  997. function wstHas_TimeOfDay() : Boolean;
  998. function wstHas_AnnotationPath() : Boolean;
  999. function wstHas_Apply() : Boolean;
  1000. function wstHas_Cast() : Boolean;
  1001. function wstHas_Collection() : Boolean;
  1002. function wstHas__If() : Boolean;
  1003. function wstHas_Eq() : Boolean;
  1004. function wstHas_Ne() : Boolean;
  1005. function wstHas_Ge() : Boolean;
  1006. function wstHas_Gt() : Boolean;
  1007. function wstHas_Le() : Boolean;
  1008. function wstHas_Lt() : Boolean;
  1009. function wstHas__And() : Boolean;
  1010. function wstHas__Or() : Boolean;
  1011. function wstHas__Not() : Boolean;
  1012. function wstHas_IsOf() : Boolean;
  1013. function wstHas_LabeledElement() : Boolean;
  1014. function wstHas_LabeledElementReference() : Boolean;
  1015. function wstHas_Null() : Boolean;
  1016. function wstHas_NavigationPropertyPath() : Boolean;
  1017. function wstHas_Path() : Boolean;
  1018. function wstHas_PropertyPath() : Boolean;
  1019. function wstHas__Record() : Boolean;
  1020. function wstHas_UrlRef() : Boolean;
  1021. function wstHas_BinaryAtt() : Boolean;
  1022. function wstHas_BoolAtt() : Boolean;
  1023. function wstHas_DateAtt() : Boolean;
  1024. function wstHas_DateTimeOffsetAtt() : Boolean;
  1025. function wstHas_DecimalAtt() : Boolean;
  1026. function wstHas_DurationAtt() : Boolean;
  1027. function wstHas_EnumMemberAtt() : Boolean;
  1028. function wstHas_FloatAtt() : Boolean;
  1029. function wstHas_GuidAtt() : Boolean;
  1030. function wstHas_IntAtt() : Boolean;
  1031. function wstHas__StringAtt() : Boolean;
  1032. function wstHas_TimeOfDayAtt() : Boolean;
  1033. function wstHas_AnnotationPathAtt() : Boolean;
  1034. function wstHas_NavigationPropertyPathAtt() : Boolean;
  1035. function wstHas_PathAtt() : Boolean;
  1036. function wstHas_PropertyPathAtt() : Boolean;
  1037. function wstHas_UrlRefAtt() : Boolean;
  1038. public
  1039. constructor Create();override;
  1040. procedure FreeObjectProperties();override;
  1041. published
  1042. property Annotation : Annotation_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1043. property Term : TQualifiedName read FTerm write FTerm;
  1044. property Qualifier : TSimpleIdentifier read FQualifier write FQualifier stored wstHas_Qualifier;
  1045. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1046. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1047. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1048. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1049. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1050. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1051. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1052. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1053. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1054. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1055. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1056. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1057. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1058. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1059. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1060. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1061. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1062. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1063. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1064. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1065. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1066. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1067. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1068. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1069. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1070. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1071. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1072. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1073. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1074. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1075. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1076. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1077. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1078. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1079. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1080. property BinaryAtt : binary read FBinaryAtt write FBinaryAtt stored wstHas_BinaryAtt;
  1081. property BoolAtt : boolean read FBoolAtt write FBoolAtt stored wstHas_BoolAtt;
  1082. property DateAtt : TDateRemotable read FDateAtt write FDateAtt stored wstHas_DateAtt;
  1083. property DateTimeOffsetAtt : dateTimeStamp read FDateTimeOffsetAtt write FDateTimeOffsetAtt stored wstHas_DateTimeOffsetAtt;
  1084. property DecimalAtt : Currency read FDecimalAtt write FDecimalAtt stored wstHas_DecimalAtt;
  1085. property DurationAtt : dayTimeDuration read FDurationAtt write FDurationAtt stored wstHas_DurationAtt;
  1086. property EnumMemberAtt : TEnumMemberList read FEnumMemberAtt write FEnumMemberAtt stored wstHas_EnumMemberAtt;
  1087. property FloatAtt : Double read FFloatAtt write FFloatAtt stored wstHas_FloatAtt;
  1088. property GuidAtt : TGuidLiteral read FGuidAtt write FGuidAtt stored wstHas_GuidAtt;
  1089. property IntAtt : integer read FIntAtt write FIntAtt stored wstHas_IntAtt;
  1090. property _StringAtt : UnicodeString read F_StringAtt write F_StringAtt stored wstHas__StringAtt;
  1091. property TimeOfDayAtt : TTimeRemotable read FTimeOfDayAtt write FTimeOfDayAtt stored wstHas_TimeOfDayAtt;
  1092. property AnnotationPathAtt : TPathWithTermSegments read FAnnotationPathAtt write FAnnotationPathAtt stored wstHas_AnnotationPathAtt;
  1093. property NavigationPropertyPathAtt : TPathWithTermSegments read FNavigationPropertyPathAtt write FNavigationPropertyPathAtt stored wstHas_NavigationPropertyPathAtt;
  1094. property PathAtt : TPathWithTermSegments read FPathAtt write FPathAtt stored wstHas_PathAtt;
  1095. property PropertyPathAtt : TPathWithTermSegments read FPropertyPathAtt write FPropertyPathAtt stored wstHas_PropertyPathAtt;
  1096. property UrlRefAtt : anyURI read FUrlRefAtt write FUrlRefAtt stored wstHas_UrlRefAtt;
  1097. end;
  1098. TBinaryConstantExpression = class(TComplexUnicodeStringContentRemotable)
  1099. end;
  1100. TBoolConstantExpression = class(TComplexBooleanContentRemotable)
  1101. end;
  1102. TDateConstantExpression = class(date)
  1103. end;
  1104. TDateTimeOffsetConstantExpression = class(dateTimeStamp)
  1105. end;
  1106. TDecimalConstantExpression = class(TComplexCurrencyContentRemotable)
  1107. end;
  1108. TDurationConstantExpression = class(dayTimeDuration)
  1109. end;
  1110. TFloatConstantExpression = class(TComplexFloatDoubleContentRemotable)
  1111. end;
  1112. TGuidConstantExpression = class(TComplexUnicodeStringContentRemotable)
  1113. end;
  1114. TIntConstantExpression = class(TComplexInt32SContentRemotable)
  1115. end;
  1116. TStringConstantExpression = class(TComplexUnicodeStringContentRemotable)
  1117. end;
  1118. TTimeOfDayConstantExpression = class(time)
  1119. end;
  1120. TApplyExpression = class(TBaseComplexRemotable)
  1121. private
  1122. FAnnotation : TApplyExpression_AnnotationArray;
  1123. F_Function : TClientFunction;
  1124. FBinary : TBinaryConstantExpression;
  1125. FBool : TBoolConstantExpression;
  1126. FDate : TDateConstantExpression;
  1127. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1128. FDecimal : TDecimalConstantExpression;
  1129. FDuration : TDurationConstantExpression;
  1130. FEnumMember : TEnumMemberList;
  1131. FFloat : TFloatConstantExpression;
  1132. FGuid : TGuidConstantExpression;
  1133. FInt : TIntConstantExpression;
  1134. F_String : TStringConstantExpression;
  1135. FTimeOfDay : TTimeOfDayConstantExpression;
  1136. FAnnotationPath : TPathExpression;
  1137. FApply : TApplyExpression;
  1138. FCast : TCastOrIsOfExpression;
  1139. FCollection : TCollectionExpression;
  1140. F_If : TIfExpression;
  1141. FEq : TTwoChildrenExpression;
  1142. FNe : TTwoChildrenExpression;
  1143. FGe : TTwoChildrenExpression;
  1144. FGt : TTwoChildrenExpression;
  1145. FLe : TTwoChildrenExpression;
  1146. FLt : TTwoChildrenExpression;
  1147. F_And : TTwoChildrenExpression;
  1148. F_Or : TTwoChildrenExpression;
  1149. F_Not : TOneChildExpression;
  1150. FIsOf : TCastOrIsOfExpression;
  1151. FLabeledElement : TLabeledElementExpression;
  1152. FLabeledElementReference : TLabeledElementReferenceExpression;
  1153. FNull : TNullExpression;
  1154. FNavigationPropertyPath : TPathExpression;
  1155. FPath : TPathExpression;
  1156. FPropertyPath : TPathExpression;
  1157. F_Record : TRecordExpression;
  1158. FUrlRef : TOneChildExpression;
  1159. private
  1160. function wstHas_Annotation() : Boolean;
  1161. function wstHas__Function() : Boolean;
  1162. function wstHas_Binary() : Boolean;
  1163. function wstHas_Bool() : Boolean;
  1164. function wstHas_Date() : Boolean;
  1165. function wstHas_DateTimeOffset() : Boolean;
  1166. function wstHas_Decimal() : Boolean;
  1167. function wstHas_Duration() : Boolean;
  1168. function wstHas_EnumMember() : Boolean;
  1169. function wstHas_Float() : Boolean;
  1170. function wstHas_Guid() : Boolean;
  1171. function wstHas_Int() : Boolean;
  1172. function wstHas__String() : Boolean;
  1173. function wstHas_TimeOfDay() : Boolean;
  1174. function wstHas_AnnotationPath() : Boolean;
  1175. function wstHas_Apply() : Boolean;
  1176. function wstHas_Cast() : Boolean;
  1177. function wstHas_Collection() : Boolean;
  1178. function wstHas__If() : Boolean;
  1179. function wstHas_Eq() : Boolean;
  1180. function wstHas_Ne() : Boolean;
  1181. function wstHas_Ge() : Boolean;
  1182. function wstHas_Gt() : Boolean;
  1183. function wstHas_Le() : Boolean;
  1184. function wstHas_Lt() : Boolean;
  1185. function wstHas__And() : Boolean;
  1186. function wstHas__Or() : Boolean;
  1187. function wstHas__Not() : Boolean;
  1188. function wstHas_IsOf() : Boolean;
  1189. function wstHas_LabeledElement() : Boolean;
  1190. function wstHas_LabeledElementReference() : Boolean;
  1191. function wstHas_Null() : Boolean;
  1192. function wstHas_NavigationPropertyPath() : Boolean;
  1193. function wstHas_Path() : Boolean;
  1194. function wstHas_PropertyPath() : Boolean;
  1195. function wstHas__Record() : Boolean;
  1196. function wstHas_UrlRef() : Boolean;
  1197. public
  1198. constructor Create();override;
  1199. procedure FreeObjectProperties();override;
  1200. published
  1201. property Annotation : TApplyExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1202. property _Function : TClientFunction read F_Function write F_Function stored wstHas__Function;
  1203. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1204. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1205. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1206. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1207. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1208. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1209. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1210. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1211. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1212. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1213. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1214. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1215. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1216. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1217. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1218. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1219. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1220. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1221. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1222. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1223. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1224. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1225. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1226. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1227. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1228. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1229. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1230. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1231. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1232. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1233. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1234. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1235. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1236. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1237. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1238. end;
  1239. TCastOrIsOfExpression = class(TBaseComplexRemotable)
  1240. private
  1241. FAnnotation : TCastOrIsOfExpression_AnnotationArray;
  1242. F_Type : TTypeName;
  1243. FBinary : TBinaryConstantExpression;
  1244. FBool : TBoolConstantExpression;
  1245. FDate : TDateConstantExpression;
  1246. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1247. FDecimal : TDecimalConstantExpression;
  1248. FDuration : TDurationConstantExpression;
  1249. FEnumMember : TEnumMemberList;
  1250. FFloat : TFloatConstantExpression;
  1251. FGuid : TGuidConstantExpression;
  1252. FInt : TIntConstantExpression;
  1253. F_String : TStringConstantExpression;
  1254. FTimeOfDay : TTimeOfDayConstantExpression;
  1255. FAnnotationPath : TPathExpression;
  1256. FApply : TApplyExpression;
  1257. FCast : TCastOrIsOfExpression;
  1258. FCollection : TCollectionExpression;
  1259. F_If : TIfExpression;
  1260. FEq : TTwoChildrenExpression;
  1261. FNe : TTwoChildrenExpression;
  1262. FGe : TTwoChildrenExpression;
  1263. FGt : TTwoChildrenExpression;
  1264. FLe : TTwoChildrenExpression;
  1265. FLt : TTwoChildrenExpression;
  1266. F_And : TTwoChildrenExpression;
  1267. F_Or : TTwoChildrenExpression;
  1268. F_Not : TOneChildExpression;
  1269. FIsOf : TCastOrIsOfExpression;
  1270. FLabeledElement : TLabeledElementExpression;
  1271. FLabeledElementReference : TLabeledElementReferenceExpression;
  1272. FNull : TNullExpression;
  1273. FNavigationPropertyPath : TPathExpression;
  1274. FPath : TPathExpression;
  1275. FPropertyPath : TPathExpression;
  1276. F_Record : TRecordExpression;
  1277. FUrlRef : TOneChildExpression;
  1278. FMaxLength : TMaxLengthFacet;
  1279. FPrecision : TPrecisionFacet;
  1280. FScale : TScaleFacet;
  1281. FSRID : TSridFacet;
  1282. private
  1283. function wstHas_Annotation() : Boolean;
  1284. function wstHas__Type() : Boolean;
  1285. function wstHas_Binary() : Boolean;
  1286. function wstHas_Bool() : Boolean;
  1287. function wstHas_Date() : Boolean;
  1288. function wstHas_DateTimeOffset() : Boolean;
  1289. function wstHas_Decimal() : Boolean;
  1290. function wstHas_Duration() : Boolean;
  1291. function wstHas_EnumMember() : Boolean;
  1292. function wstHas_Float() : Boolean;
  1293. function wstHas_Guid() : Boolean;
  1294. function wstHas_Int() : Boolean;
  1295. function wstHas__String() : Boolean;
  1296. function wstHas_TimeOfDay() : Boolean;
  1297. function wstHas_AnnotationPath() : Boolean;
  1298. function wstHas_Apply() : Boolean;
  1299. function wstHas_Cast() : Boolean;
  1300. function wstHas_Collection() : Boolean;
  1301. function wstHas__If() : Boolean;
  1302. function wstHas_Eq() : Boolean;
  1303. function wstHas_Ne() : Boolean;
  1304. function wstHas_Ge() : Boolean;
  1305. function wstHas_Gt() : Boolean;
  1306. function wstHas_Le() : Boolean;
  1307. function wstHas_Lt() : Boolean;
  1308. function wstHas__And() : Boolean;
  1309. function wstHas__Or() : Boolean;
  1310. function wstHas__Not() : Boolean;
  1311. function wstHas_IsOf() : Boolean;
  1312. function wstHas_LabeledElement() : Boolean;
  1313. function wstHas_LabeledElementReference() : Boolean;
  1314. function wstHas_Null() : Boolean;
  1315. function wstHas_NavigationPropertyPath() : Boolean;
  1316. function wstHas_Path() : Boolean;
  1317. function wstHas_PropertyPath() : Boolean;
  1318. function wstHas__Record() : Boolean;
  1319. function wstHas_UrlRef() : Boolean;
  1320. function wstHas_MaxLength() : Boolean;
  1321. function wstHas_Precision() : Boolean;
  1322. function wstHas_Scale() : Boolean;
  1323. function wstHas_SRID() : Boolean;
  1324. public
  1325. constructor Create();override;
  1326. procedure FreeObjectProperties();override;
  1327. published
  1328. property Annotation : TCastOrIsOfExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1329. property _Type : TTypeName read F_Type write F_Type stored wstHas__Type;
  1330. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1331. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1332. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1333. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1334. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1335. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1336. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1337. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1338. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1339. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1340. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1341. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1342. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1343. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1344. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1345. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1346. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1347. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1348. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1349. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1350. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1351. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1352. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1353. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1354. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1355. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1356. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1357. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1358. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1359. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1360. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1361. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1362. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1363. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1364. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1365. property MaxLength : TMaxLengthFacet read FMaxLength write FMaxLength stored wstHas_MaxLength;
  1366. property Precision : TPrecisionFacet read FPrecision write FPrecision stored wstHas_Precision;
  1367. property Scale : TScaleFacet read FScale write FScale stored wstHas_Scale;
  1368. property SRID : TSridFacet read FSRID write FSRID stored wstHas_SRID;
  1369. end;
  1370. TCollectionExpression = class(TBaseComplexRemotable)
  1371. private
  1372. FBinary : TBinaryConstantExpression;
  1373. FBool : TBoolConstantExpression;
  1374. FDate : TDateConstantExpression;
  1375. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1376. FDecimal : TDecimalConstantExpression;
  1377. FDuration : TDurationConstantExpression;
  1378. FEnumMember : TEnumMemberList;
  1379. FFloat : TFloatConstantExpression;
  1380. FGuid : TGuidConstantExpression;
  1381. FInt : TIntConstantExpression;
  1382. F_String : TStringConstantExpression;
  1383. FTimeOfDay : TTimeOfDayConstantExpression;
  1384. FAnnotationPath : TPathExpression;
  1385. FApply : TApplyExpression;
  1386. FCast : TCastOrIsOfExpression;
  1387. FCollection : TCollectionExpression;
  1388. F_If : TIfExpression;
  1389. FEq : TTwoChildrenExpression;
  1390. FNe : TTwoChildrenExpression;
  1391. FGe : TTwoChildrenExpression;
  1392. FGt : TTwoChildrenExpression;
  1393. FLe : TTwoChildrenExpression;
  1394. FLt : TTwoChildrenExpression;
  1395. F_And : TTwoChildrenExpression;
  1396. F_Or : TTwoChildrenExpression;
  1397. F_Not : TOneChildExpression;
  1398. FIsOf : TCastOrIsOfExpression;
  1399. FLabeledElement : TLabeledElementExpression;
  1400. FLabeledElementReference : TLabeledElementReferenceExpression;
  1401. FNull : TNullExpression;
  1402. FNavigationPropertyPath : TPathExpression;
  1403. FPath : TPathExpression;
  1404. FPropertyPath : TPathExpression;
  1405. F_Record : TRecordExpression;
  1406. FUrlRef : TOneChildExpression;
  1407. private
  1408. function wstHas_Binary() : Boolean;
  1409. function wstHas_Bool() : Boolean;
  1410. function wstHas_Date() : Boolean;
  1411. function wstHas_DateTimeOffset() : Boolean;
  1412. function wstHas_Decimal() : Boolean;
  1413. function wstHas_Duration() : Boolean;
  1414. function wstHas_EnumMember() : Boolean;
  1415. function wstHas_Float() : Boolean;
  1416. function wstHas_Guid() : Boolean;
  1417. function wstHas_Int() : Boolean;
  1418. function wstHas__String() : Boolean;
  1419. function wstHas_TimeOfDay() : Boolean;
  1420. function wstHas_AnnotationPath() : Boolean;
  1421. function wstHas_Apply() : Boolean;
  1422. function wstHas_Cast() : Boolean;
  1423. function wstHas_Collection() : Boolean;
  1424. function wstHas__If() : Boolean;
  1425. function wstHas_Eq() : Boolean;
  1426. function wstHas_Ne() : Boolean;
  1427. function wstHas_Ge() : Boolean;
  1428. function wstHas_Gt() : Boolean;
  1429. function wstHas_Le() : Boolean;
  1430. function wstHas_Lt() : Boolean;
  1431. function wstHas__And() : Boolean;
  1432. function wstHas__Or() : Boolean;
  1433. function wstHas__Not() : Boolean;
  1434. function wstHas_IsOf() : Boolean;
  1435. function wstHas_LabeledElement() : Boolean;
  1436. function wstHas_LabeledElementReference() : Boolean;
  1437. function wstHas_Null() : Boolean;
  1438. function wstHas_NavigationPropertyPath() : Boolean;
  1439. function wstHas_Path() : Boolean;
  1440. function wstHas_PropertyPath() : Boolean;
  1441. function wstHas__Record() : Boolean;
  1442. function wstHas_UrlRef() : Boolean;
  1443. public
  1444. constructor Create();override;
  1445. procedure FreeObjectProperties();override;
  1446. published
  1447. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1448. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1449. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1450. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1451. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1452. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1453. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1454. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1455. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1456. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1457. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1458. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1459. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1460. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1461. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1462. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1463. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1464. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1465. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1466. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1467. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1468. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1469. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1470. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1471. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1472. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1473. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1474. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1475. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1476. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1477. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1478. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1479. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1480. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1481. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1482. end;
  1483. TIfExpression = class(TBaseComplexRemotable)
  1484. private
  1485. FAnnotation : TIfExpression_AnnotationArray;
  1486. FBinary : TBinaryConstantExpression;
  1487. FBool : TBoolConstantExpression;
  1488. FDate : TDateConstantExpression;
  1489. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1490. FDecimal : TDecimalConstantExpression;
  1491. FDuration : TDurationConstantExpression;
  1492. FEnumMember : TEnumMemberList;
  1493. FFloat : TFloatConstantExpression;
  1494. FGuid : TGuidConstantExpression;
  1495. FInt : TIntConstantExpression;
  1496. F_String : TStringConstantExpression;
  1497. FTimeOfDay : TTimeOfDayConstantExpression;
  1498. FAnnotationPath : TPathExpression;
  1499. FApply : TApplyExpression;
  1500. FCast : TCastOrIsOfExpression;
  1501. FCollection : TCollectionExpression;
  1502. F_If : TIfExpression;
  1503. FEq : TTwoChildrenExpression;
  1504. FNe : TTwoChildrenExpression;
  1505. FGe : TTwoChildrenExpression;
  1506. FGt : TTwoChildrenExpression;
  1507. FLe : TTwoChildrenExpression;
  1508. FLt : TTwoChildrenExpression;
  1509. F_And : TTwoChildrenExpression;
  1510. F_Or : TTwoChildrenExpression;
  1511. F_Not : TOneChildExpression;
  1512. FIsOf : TCastOrIsOfExpression;
  1513. FLabeledElement : TLabeledElementExpression;
  1514. FLabeledElementReference : TLabeledElementReferenceExpression;
  1515. FNull : TNullExpression;
  1516. FNavigationPropertyPath : TPathExpression;
  1517. FPath : TPathExpression;
  1518. FPropertyPath : TPathExpression;
  1519. F_Record : TRecordExpression;
  1520. FUrlRef : TOneChildExpression;
  1521. private
  1522. function wstHas_Annotation() : Boolean;
  1523. function wstHas_Binary() : Boolean;
  1524. function wstHas_Bool() : Boolean;
  1525. function wstHas_Date() : Boolean;
  1526. function wstHas_DateTimeOffset() : Boolean;
  1527. function wstHas_Decimal() : Boolean;
  1528. function wstHas_Duration() : Boolean;
  1529. function wstHas_EnumMember() : Boolean;
  1530. function wstHas_Float() : Boolean;
  1531. function wstHas_Guid() : Boolean;
  1532. function wstHas_Int() : Boolean;
  1533. function wstHas__String() : Boolean;
  1534. function wstHas_TimeOfDay() : Boolean;
  1535. function wstHas_AnnotationPath() : Boolean;
  1536. function wstHas_Apply() : Boolean;
  1537. function wstHas_Cast() : Boolean;
  1538. function wstHas_Collection() : Boolean;
  1539. function wstHas__If() : Boolean;
  1540. function wstHas_Eq() : Boolean;
  1541. function wstHas_Ne() : Boolean;
  1542. function wstHas_Ge() : Boolean;
  1543. function wstHas_Gt() : Boolean;
  1544. function wstHas_Le() : Boolean;
  1545. function wstHas_Lt() : Boolean;
  1546. function wstHas__And() : Boolean;
  1547. function wstHas__Or() : Boolean;
  1548. function wstHas__Not() : Boolean;
  1549. function wstHas_IsOf() : Boolean;
  1550. function wstHas_LabeledElement() : Boolean;
  1551. function wstHas_LabeledElementReference() : Boolean;
  1552. function wstHas_Null() : Boolean;
  1553. function wstHas_NavigationPropertyPath() : Boolean;
  1554. function wstHas_Path() : Boolean;
  1555. function wstHas_PropertyPath() : Boolean;
  1556. function wstHas__Record() : Boolean;
  1557. function wstHas_UrlRef() : Boolean;
  1558. public
  1559. constructor Create();override;
  1560. procedure FreeObjectProperties();override;
  1561. published
  1562. property Annotation : TIfExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1563. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1564. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1565. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1566. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1567. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1568. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1569. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1570. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1571. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1572. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1573. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1574. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1575. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1576. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1577. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1578. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1579. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1580. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1581. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1582. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1583. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1584. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1585. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1586. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1587. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1588. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1589. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1590. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1591. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1592. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1593. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1594. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1595. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1596. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1597. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1598. end;
  1599. TOneChildExpression = class(TBaseComplexRemotable)
  1600. private
  1601. FAnnotation : TOneChildExpression_AnnotationArray;
  1602. FBinary : TBinaryConstantExpression;
  1603. FBool : TBoolConstantExpression;
  1604. FDate : TDateConstantExpression;
  1605. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1606. FDecimal : TDecimalConstantExpression;
  1607. FDuration : TDurationConstantExpression;
  1608. FEnumMember : TEnumMemberList;
  1609. FFloat : TFloatConstantExpression;
  1610. FGuid : TGuidConstantExpression;
  1611. FInt : TIntConstantExpression;
  1612. F_String : TStringConstantExpression;
  1613. FTimeOfDay : TTimeOfDayConstantExpression;
  1614. FAnnotationPath : TPathExpression;
  1615. FApply : TApplyExpression;
  1616. FCast : TCastOrIsOfExpression;
  1617. FCollection : TCollectionExpression;
  1618. F_If : TIfExpression;
  1619. FEq : TTwoChildrenExpression;
  1620. FNe : TTwoChildrenExpression;
  1621. FGe : TTwoChildrenExpression;
  1622. FGt : TTwoChildrenExpression;
  1623. FLe : TTwoChildrenExpression;
  1624. FLt : TTwoChildrenExpression;
  1625. F_And : TTwoChildrenExpression;
  1626. F_Or : TTwoChildrenExpression;
  1627. F_Not : TOneChildExpression;
  1628. FIsOf : TCastOrIsOfExpression;
  1629. FLabeledElement : TLabeledElementExpression;
  1630. FLabeledElementReference : TLabeledElementReferenceExpression;
  1631. FNull : TNullExpression;
  1632. FNavigationPropertyPath : TPathExpression;
  1633. FPath : TPathExpression;
  1634. FPropertyPath : TPathExpression;
  1635. F_Record : TRecordExpression;
  1636. FUrlRef : TOneChildExpression;
  1637. private
  1638. function wstHas_Annotation() : Boolean;
  1639. function wstHas_Binary() : Boolean;
  1640. function wstHas_Bool() : Boolean;
  1641. function wstHas_Date() : Boolean;
  1642. function wstHas_DateTimeOffset() : Boolean;
  1643. function wstHas_Decimal() : Boolean;
  1644. function wstHas_Duration() : Boolean;
  1645. function wstHas_EnumMember() : Boolean;
  1646. function wstHas_Float() : Boolean;
  1647. function wstHas_Guid() : Boolean;
  1648. function wstHas_Int() : Boolean;
  1649. function wstHas__String() : Boolean;
  1650. function wstHas_TimeOfDay() : Boolean;
  1651. function wstHas_AnnotationPath() : Boolean;
  1652. function wstHas_Apply() : Boolean;
  1653. function wstHas_Cast() : Boolean;
  1654. function wstHas_Collection() : Boolean;
  1655. function wstHas__If() : Boolean;
  1656. function wstHas_Eq() : Boolean;
  1657. function wstHas_Ne() : Boolean;
  1658. function wstHas_Ge() : Boolean;
  1659. function wstHas_Gt() : Boolean;
  1660. function wstHas_Le() : Boolean;
  1661. function wstHas_Lt() : Boolean;
  1662. function wstHas__And() : Boolean;
  1663. function wstHas__Or() : Boolean;
  1664. function wstHas__Not() : Boolean;
  1665. function wstHas_IsOf() : Boolean;
  1666. function wstHas_LabeledElement() : Boolean;
  1667. function wstHas_LabeledElementReference() : Boolean;
  1668. function wstHas_Null() : Boolean;
  1669. function wstHas_NavigationPropertyPath() : Boolean;
  1670. function wstHas_Path() : Boolean;
  1671. function wstHas_PropertyPath() : Boolean;
  1672. function wstHas__Record() : Boolean;
  1673. function wstHas_UrlRef() : Boolean;
  1674. public
  1675. constructor Create();override;
  1676. procedure FreeObjectProperties();override;
  1677. published
  1678. property Annotation : TOneChildExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1679. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1680. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1681. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1682. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1683. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1684. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1685. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1686. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1687. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1688. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1689. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1690. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1691. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1692. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1693. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1694. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1695. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1696. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1697. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1698. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1699. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1700. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1701. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1702. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1703. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1704. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1705. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1706. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1707. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1708. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1709. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1710. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1711. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1712. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1713. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1714. end;
  1715. TTwoChildrenExpression = class(TBaseComplexRemotable)
  1716. private
  1717. FAnnotation : TTwoChildrenExpression_AnnotationArray;
  1718. FBinary : TBinaryConstantExpression;
  1719. FBool : TBoolConstantExpression;
  1720. FDate : TDateConstantExpression;
  1721. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1722. FDecimal : TDecimalConstantExpression;
  1723. FDuration : TDurationConstantExpression;
  1724. FEnumMember : TEnumMemberList;
  1725. FFloat : TFloatConstantExpression;
  1726. FGuid : TGuidConstantExpression;
  1727. FInt : TIntConstantExpression;
  1728. F_String : TStringConstantExpression;
  1729. FTimeOfDay : TTimeOfDayConstantExpression;
  1730. FAnnotationPath : TPathExpression;
  1731. FApply : TApplyExpression;
  1732. FCast : TCastOrIsOfExpression;
  1733. FCollection : TCollectionExpression;
  1734. F_If : TIfExpression;
  1735. FEq : TTwoChildrenExpression;
  1736. FNe : TTwoChildrenExpression;
  1737. FGe : TTwoChildrenExpression;
  1738. FGt : TTwoChildrenExpression;
  1739. FLe : TTwoChildrenExpression;
  1740. FLt : TTwoChildrenExpression;
  1741. F_And : TTwoChildrenExpression;
  1742. F_Or : TTwoChildrenExpression;
  1743. F_Not : TOneChildExpression;
  1744. FIsOf : TCastOrIsOfExpression;
  1745. FLabeledElement : TLabeledElementExpression;
  1746. FLabeledElementReference : TLabeledElementReferenceExpression;
  1747. FNull : TNullExpression;
  1748. FNavigationPropertyPath : TPathExpression;
  1749. FPath : TPathExpression;
  1750. FPropertyPath : TPathExpression;
  1751. F_Record : TRecordExpression;
  1752. FUrlRef : TOneChildExpression;
  1753. private
  1754. function wstHas_Annotation() : Boolean;
  1755. function wstHas_Binary() : Boolean;
  1756. function wstHas_Bool() : Boolean;
  1757. function wstHas_Date() : Boolean;
  1758. function wstHas_DateTimeOffset() : Boolean;
  1759. function wstHas_Decimal() : Boolean;
  1760. function wstHas_Duration() : Boolean;
  1761. function wstHas_EnumMember() : Boolean;
  1762. function wstHas_Float() : Boolean;
  1763. function wstHas_Guid() : Boolean;
  1764. function wstHas_Int() : Boolean;
  1765. function wstHas__String() : Boolean;
  1766. function wstHas_TimeOfDay() : Boolean;
  1767. function wstHas_AnnotationPath() : Boolean;
  1768. function wstHas_Apply() : Boolean;
  1769. function wstHas_Cast() : Boolean;
  1770. function wstHas_Collection() : Boolean;
  1771. function wstHas__If() : Boolean;
  1772. function wstHas_Eq() : Boolean;
  1773. function wstHas_Ne() : Boolean;
  1774. function wstHas_Ge() : Boolean;
  1775. function wstHas_Gt() : Boolean;
  1776. function wstHas_Le() : Boolean;
  1777. function wstHas_Lt() : Boolean;
  1778. function wstHas__And() : Boolean;
  1779. function wstHas__Or() : Boolean;
  1780. function wstHas__Not() : Boolean;
  1781. function wstHas_IsOf() : Boolean;
  1782. function wstHas_LabeledElement() : Boolean;
  1783. function wstHas_LabeledElementReference() : Boolean;
  1784. function wstHas_Null() : Boolean;
  1785. function wstHas_NavigationPropertyPath() : Boolean;
  1786. function wstHas_Path() : Boolean;
  1787. function wstHas_PropertyPath() : Boolean;
  1788. function wstHas__Record() : Boolean;
  1789. function wstHas_UrlRef() : Boolean;
  1790. public
  1791. constructor Create();override;
  1792. procedure FreeObjectProperties();override;
  1793. published
  1794. property Annotation : TTwoChildrenExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1795. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1796. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1797. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1798. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1799. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1800. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1801. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1802. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1803. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1804. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1805. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1806. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1807. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1808. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1809. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1810. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1811. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1812. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1813. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1814. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1815. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1816. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1817. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1818. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1819. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1820. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1821. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1822. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1823. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1824. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1825. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1826. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1827. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1828. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1829. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1830. end;
  1831. TLabeledElementExpression = class(TBaseComplexRemotable)
  1832. private
  1833. FAnnotation : TLabeledElementExpression_AnnotationArray;
  1834. FName : TSimpleIdentifier;
  1835. FBinary : TBinaryConstantExpression;
  1836. FBool : TBoolConstantExpression;
  1837. FDate : TDateConstantExpression;
  1838. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  1839. FDecimal : TDecimalConstantExpression;
  1840. FDuration : TDurationConstantExpression;
  1841. FEnumMember : TEnumMemberList;
  1842. FFloat : TFloatConstantExpression;
  1843. FGuid : TGuidConstantExpression;
  1844. FInt : TIntConstantExpression;
  1845. F_String : TStringConstantExpression;
  1846. FTimeOfDay : TTimeOfDayConstantExpression;
  1847. FAnnotationPath : TPathExpression;
  1848. FApply : TApplyExpression;
  1849. FCast : TCastOrIsOfExpression;
  1850. FCollection : TCollectionExpression;
  1851. F_If : TIfExpression;
  1852. FEq : TTwoChildrenExpression;
  1853. FNe : TTwoChildrenExpression;
  1854. FGe : TTwoChildrenExpression;
  1855. FGt : TTwoChildrenExpression;
  1856. FLe : TTwoChildrenExpression;
  1857. FLt : TTwoChildrenExpression;
  1858. F_And : TTwoChildrenExpression;
  1859. F_Or : TTwoChildrenExpression;
  1860. F_Not : TOneChildExpression;
  1861. FIsOf : TCastOrIsOfExpression;
  1862. FLabeledElement : TLabeledElementExpression;
  1863. FLabeledElementReference : TLabeledElementReferenceExpression;
  1864. FNull : TNullExpression;
  1865. FNavigationPropertyPath : TPathExpression;
  1866. FPath : TPathExpression;
  1867. FPropertyPath : TPathExpression;
  1868. F_Record : TRecordExpression;
  1869. FUrlRef : TOneChildExpression;
  1870. FBinaryAtt : binary;
  1871. FBoolAtt : boolean;
  1872. FDateAtt : TDateRemotable;
  1873. FDateTimeOffsetAtt : dateTimeStamp;
  1874. FDecimalAtt : Currency;
  1875. FDurationAtt : dayTimeDuration;
  1876. FEnumMemberAtt : TEnumMemberList;
  1877. FFloatAtt : Double;
  1878. FGuidAtt : TGuidLiteral;
  1879. FIntAtt : integer;
  1880. F_StringAtt : UnicodeString;
  1881. FTimeOfDayAtt : TTimeRemotable;
  1882. FAnnotationPathAtt : TPathWithTermSegments;
  1883. FNavigationPropertyPathAtt : TPathWithTermSegments;
  1884. FPathAtt : TPathWithTermSegments;
  1885. FPropertyPathAtt : TPathWithTermSegments;
  1886. FUrlRefAtt : anyURI;
  1887. private
  1888. function wstHas_Annotation() : Boolean;
  1889. function wstHas_Binary() : Boolean;
  1890. function wstHas_Bool() : Boolean;
  1891. function wstHas_Date() : Boolean;
  1892. function wstHas_DateTimeOffset() : Boolean;
  1893. function wstHas_Decimal() : Boolean;
  1894. function wstHas_Duration() : Boolean;
  1895. function wstHas_EnumMember() : Boolean;
  1896. function wstHas_Float() : Boolean;
  1897. function wstHas_Guid() : Boolean;
  1898. function wstHas_Int() : Boolean;
  1899. function wstHas__String() : Boolean;
  1900. function wstHas_TimeOfDay() : Boolean;
  1901. function wstHas_AnnotationPath() : Boolean;
  1902. function wstHas_Apply() : Boolean;
  1903. function wstHas_Cast() : Boolean;
  1904. function wstHas_Collection() : Boolean;
  1905. function wstHas__If() : Boolean;
  1906. function wstHas_Eq() : Boolean;
  1907. function wstHas_Ne() : Boolean;
  1908. function wstHas_Ge() : Boolean;
  1909. function wstHas_Gt() : Boolean;
  1910. function wstHas_Le() : Boolean;
  1911. function wstHas_Lt() : Boolean;
  1912. function wstHas__And() : Boolean;
  1913. function wstHas__Or() : Boolean;
  1914. function wstHas__Not() : Boolean;
  1915. function wstHas_IsOf() : Boolean;
  1916. function wstHas_LabeledElement() : Boolean;
  1917. function wstHas_LabeledElementReference() : Boolean;
  1918. function wstHas_Null() : Boolean;
  1919. function wstHas_NavigationPropertyPath() : Boolean;
  1920. function wstHas_Path() : Boolean;
  1921. function wstHas_PropertyPath() : Boolean;
  1922. function wstHas__Record() : Boolean;
  1923. function wstHas_UrlRef() : Boolean;
  1924. function wstHas_BinaryAtt() : Boolean;
  1925. function wstHas_BoolAtt() : Boolean;
  1926. function wstHas_DateAtt() : Boolean;
  1927. function wstHas_DateTimeOffsetAtt() : Boolean;
  1928. function wstHas_DecimalAtt() : Boolean;
  1929. function wstHas_DurationAtt() : Boolean;
  1930. function wstHas_EnumMemberAtt() : Boolean;
  1931. function wstHas_FloatAtt() : Boolean;
  1932. function wstHas_GuidAtt() : Boolean;
  1933. function wstHas_IntAtt() : Boolean;
  1934. function wstHas__StringAtt() : Boolean;
  1935. function wstHas_TimeOfDayAtt() : Boolean;
  1936. function wstHas_AnnotationPathAtt() : Boolean;
  1937. function wstHas_NavigationPropertyPathAtt() : Boolean;
  1938. function wstHas_PathAtt() : Boolean;
  1939. function wstHas_PropertyPathAtt() : Boolean;
  1940. function wstHas_UrlRefAtt() : Boolean;
  1941. public
  1942. constructor Create();override;
  1943. procedure FreeObjectProperties();override;
  1944. published
  1945. property Annotation : TLabeledElementExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  1946. property Name : TSimpleIdentifier read FName write FName;
  1947. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  1948. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  1949. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  1950. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  1951. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  1952. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  1953. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  1954. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  1955. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  1956. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  1957. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  1958. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  1959. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  1960. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  1961. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  1962. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  1963. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  1964. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  1965. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  1966. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  1967. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  1968. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  1969. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  1970. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  1971. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  1972. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  1973. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  1974. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  1975. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  1976. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  1977. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  1978. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  1979. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  1980. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  1981. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  1982. property BinaryAtt : binary read FBinaryAtt write FBinaryAtt stored wstHas_BinaryAtt;
  1983. property BoolAtt : boolean read FBoolAtt write FBoolAtt stored wstHas_BoolAtt;
  1984. property DateAtt : TDateRemotable read FDateAtt write FDateAtt stored wstHas_DateAtt;
  1985. property DateTimeOffsetAtt : dateTimeStamp read FDateTimeOffsetAtt write FDateTimeOffsetAtt stored wstHas_DateTimeOffsetAtt;
  1986. property DecimalAtt : Currency read FDecimalAtt write FDecimalAtt stored wstHas_DecimalAtt;
  1987. property DurationAtt : dayTimeDuration read FDurationAtt write FDurationAtt stored wstHas_DurationAtt;
  1988. property EnumMemberAtt : TEnumMemberList read FEnumMemberAtt write FEnumMemberAtt stored wstHas_EnumMemberAtt;
  1989. property FloatAtt : Double read FFloatAtt write FFloatAtt stored wstHas_FloatAtt;
  1990. property GuidAtt : TGuidLiteral read FGuidAtt write FGuidAtt stored wstHas_GuidAtt;
  1991. property IntAtt : integer read FIntAtt write FIntAtt stored wstHas_IntAtt;
  1992. property _StringAtt : UnicodeString read F_StringAtt write F_StringAtt stored wstHas__StringAtt;
  1993. property TimeOfDayAtt : TTimeRemotable read FTimeOfDayAtt write FTimeOfDayAtt stored wstHas_TimeOfDayAtt;
  1994. property AnnotationPathAtt : TPathWithTermSegments read FAnnotationPathAtt write FAnnotationPathAtt stored wstHas_AnnotationPathAtt;
  1995. property NavigationPropertyPathAtt : TPathWithTermSegments read FNavigationPropertyPathAtt write FNavigationPropertyPathAtt stored wstHas_NavigationPropertyPathAtt;
  1996. property PathAtt : TPathWithTermSegments read FPathAtt write FPathAtt stored wstHas_PathAtt;
  1997. property PropertyPathAtt : TPathWithTermSegments read FPropertyPathAtt write FPropertyPathAtt stored wstHas_PropertyPathAtt;
  1998. property UrlRefAtt : anyURI read FUrlRefAtt write FUrlRefAtt stored wstHas_UrlRefAtt;
  1999. end;
  2000. TLabeledElementReferenceExpression = class(TComplexUnicodeStringContentRemotable)
  2001. end;
  2002. TPathExpression = class(TComplexUnicodeStringContentRemotable)
  2003. end;
  2004. TRecordExpression = class(TBaseComplexRemotable)
  2005. private
  2006. FPropertyValue : TRecordExpression_PropertyValueArray;
  2007. FAnnotation : TRecordExpression_AnnotationArray;
  2008. F_Type : TQualifiedName;
  2009. private
  2010. function wstHas_PropertyValue() : Boolean;
  2011. function wstHas_Annotation() : Boolean;
  2012. function wstHas__Type() : Boolean;
  2013. public
  2014. constructor Create();override;
  2015. procedure FreeObjectProperties();override;
  2016. published
  2017. property PropertyValue : TRecordExpression_PropertyValueArray read FPropertyValue write FPropertyValue stored wstHas_PropertyValue;
  2018. property Annotation : TRecordExpression_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2019. property _Type : TQualifiedName read F_Type write F_Type stored wstHas__Type;
  2020. end;
  2021. TPropertyValue = class(TBaseComplexRemotable)
  2022. private
  2023. FAnnotation : TPropertyValue_AnnotationArray;
  2024. F_Property : TSimpleIdentifier;
  2025. FBinary : TBinaryConstantExpression;
  2026. FBool : TBoolConstantExpression;
  2027. FDate : TDateConstantExpression;
  2028. FDateTimeOffset : TDateTimeOffsetConstantExpression;
  2029. FDecimal : TDecimalConstantExpression;
  2030. FDuration : TDurationConstantExpression;
  2031. FEnumMember : TEnumMemberList;
  2032. FFloat : TFloatConstantExpression;
  2033. FGuid : TGuidConstantExpression;
  2034. FInt : TIntConstantExpression;
  2035. F_String : TStringConstantExpression;
  2036. FTimeOfDay : TTimeOfDayConstantExpression;
  2037. FAnnotationPath : TPathExpression;
  2038. FApply : TApplyExpression;
  2039. FCast : TCastOrIsOfExpression;
  2040. FCollection : TCollectionExpression;
  2041. F_If : TIfExpression;
  2042. FEq : TTwoChildrenExpression;
  2043. FNe : TTwoChildrenExpression;
  2044. FGe : TTwoChildrenExpression;
  2045. FGt : TTwoChildrenExpression;
  2046. FLe : TTwoChildrenExpression;
  2047. FLt : TTwoChildrenExpression;
  2048. F_And : TTwoChildrenExpression;
  2049. F_Or : TTwoChildrenExpression;
  2050. F_Not : TOneChildExpression;
  2051. FIsOf : TCastOrIsOfExpression;
  2052. FLabeledElement : TLabeledElementExpression;
  2053. FLabeledElementReference : TLabeledElementReferenceExpression;
  2054. FNull : TNullExpression;
  2055. FNavigationPropertyPath : TPathExpression;
  2056. FPath : TPathExpression;
  2057. FPropertyPath : TPathExpression;
  2058. F_Record : TRecordExpression;
  2059. FUrlRef : TOneChildExpression;
  2060. FBinaryAtt : binary;
  2061. FBoolAtt : boolean;
  2062. FDateAtt : TDateRemotable;
  2063. FDateTimeOffsetAtt : dateTimeStamp;
  2064. FDecimalAtt : Currency;
  2065. FDurationAtt : dayTimeDuration;
  2066. FEnumMemberAtt : TEnumMemberList;
  2067. FFloatAtt : Double;
  2068. FGuidAtt : TGuidLiteral;
  2069. FIntAtt : integer;
  2070. F_StringAtt : UnicodeString;
  2071. FTimeOfDayAtt : TTimeRemotable;
  2072. FAnnotationPathAtt : TPathWithTermSegments;
  2073. FNavigationPropertyPathAtt : TPathWithTermSegments;
  2074. FPathAtt : TPathWithTermSegments;
  2075. FPropertyPathAtt : TPathWithTermSegments;
  2076. FUrlRefAtt : anyURI;
  2077. private
  2078. function wstHas_Annotation() : Boolean;
  2079. function wstHas_Binary() : Boolean;
  2080. function wstHas_Bool() : Boolean;
  2081. function wstHas_Date() : Boolean;
  2082. function wstHas_DateTimeOffset() : Boolean;
  2083. function wstHas_Decimal() : Boolean;
  2084. function wstHas_Duration() : Boolean;
  2085. function wstHas_EnumMember() : Boolean;
  2086. function wstHas_Float() : Boolean;
  2087. function wstHas_Guid() : Boolean;
  2088. function wstHas_Int() : Boolean;
  2089. function wstHas__String() : Boolean;
  2090. function wstHas_TimeOfDay() : Boolean;
  2091. function wstHas_AnnotationPath() : Boolean;
  2092. function wstHas_Apply() : Boolean;
  2093. function wstHas_Cast() : Boolean;
  2094. function wstHas_Collection() : Boolean;
  2095. function wstHas__If() : Boolean;
  2096. function wstHas_Eq() : Boolean;
  2097. function wstHas_Ne() : Boolean;
  2098. function wstHas_Ge() : Boolean;
  2099. function wstHas_Gt() : Boolean;
  2100. function wstHas_Le() : Boolean;
  2101. function wstHas_Lt() : Boolean;
  2102. function wstHas__And() : Boolean;
  2103. function wstHas__Or() : Boolean;
  2104. function wstHas__Not() : Boolean;
  2105. function wstHas_IsOf() : Boolean;
  2106. function wstHas_LabeledElement() : Boolean;
  2107. function wstHas_LabeledElementReference() : Boolean;
  2108. function wstHas_Null() : Boolean;
  2109. function wstHas_NavigationPropertyPath() : Boolean;
  2110. function wstHas_Path() : Boolean;
  2111. function wstHas_PropertyPath() : Boolean;
  2112. function wstHas__Record() : Boolean;
  2113. function wstHas_UrlRef() : Boolean;
  2114. function wstHas_BinaryAtt() : Boolean;
  2115. function wstHas_BoolAtt() : Boolean;
  2116. function wstHas_DateAtt() : Boolean;
  2117. function wstHas_DateTimeOffsetAtt() : Boolean;
  2118. function wstHas_DecimalAtt() : Boolean;
  2119. function wstHas_DurationAtt() : Boolean;
  2120. function wstHas_EnumMemberAtt() : Boolean;
  2121. function wstHas_FloatAtt() : Boolean;
  2122. function wstHas_GuidAtt() : Boolean;
  2123. function wstHas_IntAtt() : Boolean;
  2124. function wstHas__StringAtt() : Boolean;
  2125. function wstHas_TimeOfDayAtt() : Boolean;
  2126. function wstHas_AnnotationPathAtt() : Boolean;
  2127. function wstHas_NavigationPropertyPathAtt() : Boolean;
  2128. function wstHas_PathAtt() : Boolean;
  2129. function wstHas_PropertyPathAtt() : Boolean;
  2130. function wstHas_UrlRefAtt() : Boolean;
  2131. public
  2132. constructor Create();override;
  2133. procedure FreeObjectProperties();override;
  2134. published
  2135. property Annotation : TPropertyValue_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2136. property _Property : TSimpleIdentifier read F_Property write F_Property;
  2137. property Binary : TBinaryConstantExpression read FBinary write FBinary stored wstHas_Binary;
  2138. property Bool : TBoolConstantExpression read FBool write FBool stored wstHas_Bool;
  2139. property Date : TDateConstantExpression read FDate write FDate stored wstHas_Date;
  2140. property DateTimeOffset : TDateTimeOffsetConstantExpression read FDateTimeOffset write FDateTimeOffset stored wstHas_DateTimeOffset;
  2141. property Decimal : TDecimalConstantExpression read FDecimal write FDecimal stored wstHas_Decimal;
  2142. property Duration : TDurationConstantExpression read FDuration write FDuration stored wstHas_Duration;
  2143. property EnumMember : TEnumMemberList read FEnumMember write FEnumMember stored wstHas_EnumMember;
  2144. property Float : TFloatConstantExpression read FFloat write FFloat stored wstHas_Float;
  2145. property Guid : TGuidConstantExpression read FGuid write FGuid stored wstHas_Guid;
  2146. property Int : TIntConstantExpression read FInt write FInt stored wstHas_Int;
  2147. property _String : TStringConstantExpression read F_String write F_String stored wstHas__String;
  2148. property TimeOfDay : TTimeOfDayConstantExpression read FTimeOfDay write FTimeOfDay stored wstHas_TimeOfDay;
  2149. property AnnotationPath : TPathExpression read FAnnotationPath write FAnnotationPath stored wstHas_AnnotationPath;
  2150. property Apply : TApplyExpression read FApply write FApply stored wstHas_Apply;
  2151. property Cast : TCastOrIsOfExpression read FCast write FCast stored wstHas_Cast;
  2152. property Collection : TCollectionExpression read FCollection write FCollection stored wstHas_Collection;
  2153. property _If : TIfExpression read F_If write F_If stored wstHas__If;
  2154. property Eq : TTwoChildrenExpression read FEq write FEq stored wstHas_Eq;
  2155. property Ne : TTwoChildrenExpression read FNe write FNe stored wstHas_Ne;
  2156. property Ge : TTwoChildrenExpression read FGe write FGe stored wstHas_Ge;
  2157. property Gt : TTwoChildrenExpression read FGt write FGt stored wstHas_Gt;
  2158. property Le : TTwoChildrenExpression read FLe write FLe stored wstHas_Le;
  2159. property Lt : TTwoChildrenExpression read FLt write FLt stored wstHas_Lt;
  2160. property _And : TTwoChildrenExpression read F_And write F_And stored wstHas__And;
  2161. property _Or : TTwoChildrenExpression read F_Or write F_Or stored wstHas__Or;
  2162. property _Not : TOneChildExpression read F_Not write F_Not stored wstHas__Not;
  2163. property IsOf : TCastOrIsOfExpression read FIsOf write FIsOf stored wstHas_IsOf;
  2164. property LabeledElement : TLabeledElementExpression read FLabeledElement write FLabeledElement stored wstHas_LabeledElement;
  2165. property LabeledElementReference : TLabeledElementReferenceExpression read FLabeledElementReference write FLabeledElementReference stored wstHas_LabeledElementReference;
  2166. property Null : TNullExpression read FNull write FNull stored wstHas_Null;
  2167. property NavigationPropertyPath : TPathExpression read FNavigationPropertyPath write FNavigationPropertyPath stored wstHas_NavigationPropertyPath;
  2168. property Path : TPathExpression read FPath write FPath stored wstHas_Path;
  2169. property PropertyPath : TPathExpression read FPropertyPath write FPropertyPath stored wstHas_PropertyPath;
  2170. property _Record : TRecordExpression read F_Record write F_Record stored wstHas__Record;
  2171. property UrlRef : TOneChildExpression read FUrlRef write FUrlRef stored wstHas_UrlRef;
  2172. property BinaryAtt : binary read FBinaryAtt write FBinaryAtt stored wstHas_BinaryAtt;
  2173. property BoolAtt : boolean read FBoolAtt write FBoolAtt stored wstHas_BoolAtt;
  2174. property DateAtt : TDateRemotable read FDateAtt write FDateAtt stored wstHas_DateAtt;
  2175. property DateTimeOffsetAtt : dateTimeStamp read FDateTimeOffsetAtt write FDateTimeOffsetAtt stored wstHas_DateTimeOffsetAtt;
  2176. property DecimalAtt : Currency read FDecimalAtt write FDecimalAtt stored wstHas_DecimalAtt;
  2177. property DurationAtt : dayTimeDuration read FDurationAtt write FDurationAtt stored wstHas_DurationAtt;
  2178. property EnumMemberAtt : TEnumMemberList read FEnumMemberAtt write FEnumMemberAtt stored wstHas_EnumMemberAtt;
  2179. property FloatAtt : Double read FFloatAtt write FFloatAtt stored wstHas_FloatAtt;
  2180. property GuidAtt : TGuidLiteral read FGuidAtt write FGuidAtt stored wstHas_GuidAtt;
  2181. property IntAtt : integer read FIntAtt write FIntAtt stored wstHas_IntAtt;
  2182. property _StringAtt : UnicodeString read F_StringAtt write F_StringAtt stored wstHas__StringAtt;
  2183. property TimeOfDayAtt : TTimeRemotable read FTimeOfDayAtt write FTimeOfDayAtt stored wstHas_TimeOfDayAtt;
  2184. property AnnotationPathAtt : TPathWithTermSegments read FAnnotationPathAtt write FAnnotationPathAtt stored wstHas_AnnotationPathAtt;
  2185. property NavigationPropertyPathAtt : TPathWithTermSegments read FNavigationPropertyPathAtt write FNavigationPropertyPathAtt stored wstHas_NavigationPropertyPathAtt;
  2186. property PathAtt : TPathWithTermSegments read FPathAtt write FPathAtt stored wstHas_PathAtt;
  2187. property PropertyPathAtt : TPathWithTermSegments read FPropertyPathAtt write FPropertyPathAtt stored wstHas_PropertyPathAtt;
  2188. property UrlRefAtt : anyURI read FUrlRefAtt write FUrlRefAtt stored wstHas_UrlRefAtt;
  2189. end;
  2190. TEntityContainer = class(TBaseComplexRemotable)
  2191. private
  2192. FEntitySet : TEntityContainer_EntitySetArray;
  2193. FActionImport : TEntityContainer_ActionImportArray;
  2194. FFunctionImport : TEntityContainer_FunctionImportArray;
  2195. FSingleton : TEntityContainer_SingletonArray;
  2196. FAnnotation : TEntityContainer_AnnotationArray;
  2197. FName : TSimpleIdentifier;
  2198. FExtends : TQualifiedName;
  2199. private
  2200. function wstHas_EntitySet() : Boolean;
  2201. function wstHas_ActionImport() : Boolean;
  2202. function wstHas_FunctionImport() : Boolean;
  2203. function wstHas_Singleton() : Boolean;
  2204. function wstHas_Annotation() : Boolean;
  2205. function wstHas_Extends() : Boolean;
  2206. public
  2207. constructor Create();override;
  2208. procedure FreeObjectProperties();override;
  2209. published
  2210. property EntitySet : TEntityContainer_EntitySetArray read FEntitySet write FEntitySet stored wstHas_EntitySet;
  2211. property ActionImport : TEntityContainer_ActionImportArray read FActionImport write FActionImport stored wstHas_ActionImport;
  2212. property FunctionImport : TEntityContainer_FunctionImportArray read FFunctionImport write FFunctionImport stored wstHas_FunctionImport;
  2213. property Singleton : TEntityContainer_SingletonArray read FSingleton write FSingleton stored wstHas_Singleton;
  2214. property Annotation : TEntityContainer_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2215. property Name : TSimpleIdentifier read FName write FName;
  2216. property Extends : TQualifiedName read FExtends write FExtends stored wstHas_Extends;
  2217. end;
  2218. TEntitySetAttributes = class(TBaseComplexRemotable)
  2219. private
  2220. FName : TSimpleIdentifier;
  2221. FEntityType : TQualifiedName;
  2222. FIncludeInServiceDocument : boolean;
  2223. private
  2224. function wstHas_IncludeInServiceDocument() : Boolean;
  2225. published
  2226. property Name : TSimpleIdentifier read FName write FName;
  2227. property EntityType : TQualifiedName read FEntityType write FEntityType;
  2228. property IncludeInServiceDocument : boolean read FIncludeInServiceDocument write FIncludeInServiceDocument stored wstHas_IncludeInServiceDocument;
  2229. end;
  2230. TEntitySet = class(TBaseComplexRemotable)
  2231. private
  2232. FNavigationPropertyBinding : TEntitySet_NavigationPropertyBindingArray;
  2233. FAnnotation : TEntitySet_AnnotationArray;
  2234. FName : TSimpleIdentifier;
  2235. FEntityType : TQualifiedName;
  2236. FIncludeInServiceDocument : boolean;
  2237. private
  2238. function wstHas_NavigationPropertyBinding() : Boolean;
  2239. function wstHas_Annotation() : Boolean;
  2240. function wstHas_IncludeInServiceDocument() : Boolean;
  2241. public
  2242. constructor Create();override;
  2243. procedure FreeObjectProperties();override;
  2244. published
  2245. property NavigationPropertyBinding : TEntitySet_NavigationPropertyBindingArray read FNavigationPropertyBinding write FNavigationPropertyBinding stored wstHas_NavigationPropertyBinding;
  2246. property Annotation : TEntitySet_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2247. property Name : TSimpleIdentifier read FName write FName;
  2248. property EntityType : TQualifiedName read FEntityType write FEntityType;
  2249. property IncludeInServiceDocument : boolean read FIncludeInServiceDocument write FIncludeInServiceDocument stored wstHas_IncludeInServiceDocument;
  2250. end;
  2251. TNavigationPropertyBinding = class(TBaseComplexRemotable)
  2252. private
  2253. FPath : TPath;
  2254. FTarget : TPath;
  2255. published
  2256. property Path : TPath read FPath write FPath;
  2257. property Target : TPath read FTarget write FTarget;
  2258. end;
  2259. TSingleton = class(TBaseComplexRemotable)
  2260. private
  2261. FNavigationPropertyBinding : TSingleton_NavigationPropertyBindingArray;
  2262. FAnnotation : TSingleton_AnnotationArray;
  2263. FName : TSimpleIdentifier;
  2264. F_Type : TQualifiedName;
  2265. private
  2266. function wstHas_NavigationPropertyBinding() : Boolean;
  2267. function wstHas_Annotation() : Boolean;
  2268. public
  2269. constructor Create();override;
  2270. procedure FreeObjectProperties();override;
  2271. published
  2272. property NavigationPropertyBinding : TSingleton_NavigationPropertyBindingArray read FNavigationPropertyBinding write FNavigationPropertyBinding stored wstHas_NavigationPropertyBinding;
  2273. property Annotation : TSingleton_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2274. property Name : TSimpleIdentifier read FName write FName;
  2275. property _Type : TQualifiedName read F_Type write F_Type;
  2276. end;
  2277. TActionFunctionImportAttributes = class(TBaseComplexRemotable)
  2278. private
  2279. FName : TSimpleIdentifier;
  2280. FEntitySet : TPath;
  2281. FIncludeInServiceDocument : boolean;
  2282. private
  2283. function wstHas_EntitySet() : Boolean;
  2284. function wstHas_IncludeInServiceDocument() : Boolean;
  2285. published
  2286. property Name : TSimpleIdentifier read FName write FName;
  2287. property EntitySet : TPath read FEntitySet write FEntitySet stored wstHas_EntitySet;
  2288. property IncludeInServiceDocument : boolean read FIncludeInServiceDocument write FIncludeInServiceDocument stored wstHas_IncludeInServiceDocument;
  2289. end;
  2290. TActionImport = class(TBaseComplexRemotable)
  2291. private
  2292. FAnnotation : TActionImport_AnnotationArray;
  2293. FAction : TQualifiedName;
  2294. FName : TSimpleIdentifier;
  2295. FEntitySet : TPath;
  2296. FIncludeInServiceDocument : boolean;
  2297. private
  2298. function wstHas_Annotation() : Boolean;
  2299. function wstHas_EntitySet() : Boolean;
  2300. function wstHas_IncludeInServiceDocument() : Boolean;
  2301. public
  2302. constructor Create();override;
  2303. procedure FreeObjectProperties();override;
  2304. published
  2305. property Annotation : TActionImport_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2306. property Action : TQualifiedName read FAction write FAction;
  2307. property Name : TSimpleIdentifier read FName write FName;
  2308. property EntitySet : TPath read FEntitySet write FEntitySet stored wstHas_EntitySet;
  2309. property IncludeInServiceDocument : boolean read FIncludeInServiceDocument write FIncludeInServiceDocument stored wstHas_IncludeInServiceDocument;
  2310. end;
  2311. TFunctionImport = class(TBaseComplexRemotable)
  2312. private
  2313. FAnnotation : TFunctionImport_AnnotationArray;
  2314. F_Function : TQualifiedName;
  2315. FName : TSimpleIdentifier;
  2316. FEntitySet : TPath;
  2317. FIncludeInServiceDocument : boolean;
  2318. private
  2319. function wstHas_Annotation() : Boolean;
  2320. function wstHas_EntitySet() : Boolean;
  2321. function wstHas_IncludeInServiceDocument() : Boolean;
  2322. public
  2323. constructor Create();override;
  2324. procedure FreeObjectProperties();override;
  2325. published
  2326. property Annotation : TFunctionImport_AnnotationArray read FAnnotation write FAnnotation stored wstHas_Annotation;
  2327. property _Function : TQualifiedName read F_Function write F_Function;
  2328. property Name : TSimpleIdentifier read FName write FName;
  2329. property EntitySet : TPath read FEntitySet write FEntitySet stored wstHas_EntitySet;
  2330. property IncludeInServiceDocument : boolean read FIncludeInServiceDocument write FIncludeInServiceDocument stored wstHas_IncludeInServiceDocument;
  2331. end;
  2332. Schema_ComplexTypeArray = class(TObjectCollectionRemotable)
  2333. private
  2334. function GetItem(AIndex: Integer): TComplexType;
  2335. public
  2336. class function GetItemClass():TBaseRemotableClass;override;
  2337. function Add(): TComplexType; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2338. function AddAt(const APosition : Integer) : TComplexType; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2339. property Item[AIndex:Integer] : TComplexType Read GetItem;Default;
  2340. end;
  2341. Schema_EntityTypeArray = class(TObjectCollectionRemotable)
  2342. private
  2343. function GetItem(AIndex: Integer): TEntityType;
  2344. public
  2345. class function GetItemClass():TBaseRemotableClass;override;
  2346. function Add(): TEntityType; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2347. function AddAt(const APosition : Integer) : TEntityType; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2348. property Item[AIndex:Integer] : TEntityType Read GetItem;Default;
  2349. end;
  2350. Schema_TypeDefinitionArray = class(TObjectCollectionRemotable)
  2351. private
  2352. function GetItem(AIndex: Integer): TTypeDefinition;
  2353. public
  2354. class function GetItemClass():TBaseRemotableClass;override;
  2355. function Add(): TTypeDefinition; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2356. function AddAt(const APosition : Integer) : TTypeDefinition; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2357. property Item[AIndex:Integer] : TTypeDefinition Read GetItem;Default;
  2358. end;
  2359. Schema_EnumTypeArray = class(TObjectCollectionRemotable)
  2360. private
  2361. function GetItem(AIndex: Integer): TEnumType;
  2362. public
  2363. class function GetItemClass():TBaseRemotableClass;override;
  2364. function Add(): TEnumType; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2365. function AddAt(const APosition : Integer) : TEnumType; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2366. property Item[AIndex:Integer] : TEnumType Read GetItem;Default;
  2367. end;
  2368. Schema_ActionArray = class(TObjectCollectionRemotable)
  2369. private
  2370. function GetItem(AIndex: Integer): TAction;
  2371. public
  2372. class function GetItemClass():TBaseRemotableClass;override;
  2373. function Add(): TAction; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2374. function AddAt(const APosition : Integer) : TAction; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2375. property Item[AIndex:Integer] : TAction Read GetItem;Default;
  2376. end;
  2377. Schema__FunctionArray = class(TObjectCollectionRemotable)
  2378. private
  2379. function GetItem(AIndex: Integer): TFunction;
  2380. public
  2381. class function GetItemClass():TBaseRemotableClass;override;
  2382. function Add(): TFunction; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2383. function AddAt(const APosition : Integer) : TFunction; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2384. property Item[AIndex:Integer] : TFunction Read GetItem;Default;
  2385. end;
  2386. Schema_TermArray = class(TObjectCollectionRemotable)
  2387. private
  2388. function GetItem(AIndex: Integer): TTerm;
  2389. public
  2390. class function GetItemClass():TBaseRemotableClass;override;
  2391. function Add(): TTerm; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2392. function AddAt(const APosition : Integer) : TTerm; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2393. property Item[AIndex:Integer] : TTerm Read GetItem;Default;
  2394. end;
  2395. Schema_AnnotationsArray = class(TObjectCollectionRemotable)
  2396. private
  2397. function GetItem(AIndex: Integer): TAnnotations;
  2398. public
  2399. class function GetItemClass():TBaseRemotableClass;override;
  2400. function Add(): TAnnotations; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2401. function AddAt(const APosition : Integer) : TAnnotations; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2402. property Item[AIndex:Integer] : TAnnotations Read GetItem;Default;
  2403. end;
  2404. Schema_EntityContainerArray = class(TObjectCollectionRemotable)
  2405. private
  2406. function GetItem(AIndex: Integer): TEntityContainer;
  2407. public
  2408. class function GetItemClass():TBaseRemotableClass;override;
  2409. function Add(): TEntityContainer; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2410. function AddAt(const APosition : Integer) : TEntityContainer; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2411. property Item[AIndex:Integer] : TEntityContainer Read GetItem;Default;
  2412. end;
  2413. Schema_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2414. private
  2415. FData : array of Annotation_Type;
  2416. private
  2417. function GetItem(AIndex: Integer): Annotation_Type;
  2418. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2419. protected
  2420. function GetLength():Integer;override;
  2421. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2422. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2423. public
  2424. class function GetItemTypeInfo():PTypeInfo;override;
  2425. procedure SetLength(const ANewSize : Integer);override;
  2426. procedure Assign(Source: TPersistent); override;
  2427. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2428. end;
  2429. TEntityType_KeyArray = class(TObjectCollectionRemotable)
  2430. private
  2431. function GetItem(AIndex: Integer): TEntityKeyElement;
  2432. public
  2433. class function GetItemClass():TBaseRemotableClass;override;
  2434. function Add(): TEntityKeyElement; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2435. function AddAt(const APosition : Integer) : TEntityKeyElement; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2436. property Item[AIndex:Integer] : TEntityKeyElement Read GetItem;Default;
  2437. end;
  2438. TEntityType__PropertyArray = class(TObjectCollectionRemotable)
  2439. private
  2440. function GetItem(AIndex: Integer): TProperty;
  2441. public
  2442. class function GetItemClass():TBaseRemotableClass;override;
  2443. function Add(): TProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2444. function AddAt(const APosition : Integer) : TProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2445. property Item[AIndex:Integer] : TProperty Read GetItem;Default;
  2446. end;
  2447. TEntityType_NavigationPropertyArray = class(TObjectCollectionRemotable)
  2448. private
  2449. function GetItem(AIndex: Integer): TNavigationProperty;
  2450. public
  2451. class function GetItemClass():TBaseRemotableClass;override;
  2452. function Add(): TNavigationProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2453. function AddAt(const APosition : Integer) : TNavigationProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2454. property Item[AIndex:Integer] : TNavigationProperty Read GetItem;Default;
  2455. end;
  2456. TEntityType_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2457. private
  2458. FData : array of Annotation_Type;
  2459. private
  2460. function GetItem(AIndex: Integer): Annotation_Type;
  2461. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2462. protected
  2463. function GetLength():Integer;override;
  2464. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2465. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2466. public
  2467. class function GetItemTypeInfo():PTypeInfo;override;
  2468. procedure SetLength(const ANewSize : Integer);override;
  2469. procedure Assign(Source: TPersistent); override;
  2470. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2471. end;
  2472. TEntityKeyElement = class(TObjectCollectionRemotable)
  2473. private
  2474. function GetItem(AIndex: Integer): TPropertyRef;
  2475. public
  2476. class function GetItemClass():TBaseRemotableClass;override;
  2477. function Add(): TPropertyRef; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2478. function AddAt(const APosition : Integer) : TPropertyRef; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2479. property Item[AIndex:Integer] : TPropertyRef Read GetItem;Default;
  2480. end;
  2481. TComplexType__PropertyArray = class(TObjectCollectionRemotable)
  2482. private
  2483. function GetItem(AIndex: Integer): TProperty;
  2484. public
  2485. class function GetItemClass():TBaseRemotableClass;override;
  2486. function Add(): TProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2487. function AddAt(const APosition : Integer) : TProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2488. property Item[AIndex:Integer] : TProperty Read GetItem;Default;
  2489. end;
  2490. TComplexType_NavigationPropertyArray = class(TObjectCollectionRemotable)
  2491. private
  2492. function GetItem(AIndex: Integer): TNavigationProperty;
  2493. public
  2494. class function GetItemClass():TBaseRemotableClass;override;
  2495. function Add(): TNavigationProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2496. function AddAt(const APosition : Integer) : TNavigationProperty; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2497. property Item[AIndex:Integer] : TNavigationProperty Read GetItem;Default;
  2498. end;
  2499. TComplexType_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2500. private
  2501. FData : array of Annotation_Type;
  2502. private
  2503. function GetItem(AIndex: Integer): Annotation_Type;
  2504. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2505. protected
  2506. function GetLength():Integer;override;
  2507. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2508. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2509. public
  2510. class function GetItemTypeInfo():PTypeInfo;override;
  2511. procedure SetLength(const ANewSize : Integer);override;
  2512. procedure Assign(Source: TPersistent); override;
  2513. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2514. end;
  2515. TProperty_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2516. private
  2517. FData : array of Annotation_Type;
  2518. private
  2519. function GetItem(AIndex: Integer): Annotation_Type;
  2520. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2521. protected
  2522. function GetLength():Integer;override;
  2523. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2524. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2525. public
  2526. class function GetItemTypeInfo():PTypeInfo;override;
  2527. procedure SetLength(const ANewSize : Integer);override;
  2528. procedure Assign(Source: TPersistent); override;
  2529. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2530. end;
  2531. TTypeDefinition_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2532. private
  2533. FData : array of Annotation_Type;
  2534. private
  2535. function GetItem(AIndex: Integer): Annotation_Type;
  2536. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2537. protected
  2538. function GetLength():Integer;override;
  2539. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2540. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2541. public
  2542. class function GetItemTypeInfo():PTypeInfo;override;
  2543. procedure SetLength(const ANewSize : Integer);override;
  2544. procedure Assign(Source: TPersistent); override;
  2545. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2546. end;
  2547. TNavigationProperty_ReferentialConstraintArray = class(TObjectCollectionRemotable)
  2548. private
  2549. function GetItem(AIndex: Integer): TReferentialConstraint;
  2550. public
  2551. class function GetItemClass():TBaseRemotableClass;override;
  2552. function Add(): TReferentialConstraint; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2553. function AddAt(const APosition : Integer) : TReferentialConstraint; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2554. property Item[AIndex:Integer] : TReferentialConstraint Read GetItem;Default;
  2555. end;
  2556. TNavigationProperty_OnDeleteArray = class(TObjectCollectionRemotable)
  2557. private
  2558. function GetItem(AIndex: Integer): TOnDelete;
  2559. public
  2560. class function GetItemClass():TBaseRemotableClass;override;
  2561. function Add(): TOnDelete; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2562. function AddAt(const APosition : Integer) : TOnDelete; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2563. property Item[AIndex:Integer] : TOnDelete Read GetItem;Default;
  2564. end;
  2565. TNavigationProperty_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2566. private
  2567. FData : array of Annotation_Type;
  2568. private
  2569. function GetItem(AIndex: Integer): Annotation_Type;
  2570. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2571. protected
  2572. function GetLength():Integer;override;
  2573. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2574. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2575. public
  2576. class function GetItemTypeInfo():PTypeInfo;override;
  2577. procedure SetLength(const ANewSize : Integer);override;
  2578. procedure Assign(Source: TPersistent); override;
  2579. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2580. end;
  2581. TReferentialConstraint_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2582. private
  2583. FData : array of Annotation_Type;
  2584. private
  2585. function GetItem(AIndex: Integer): Annotation_Type;
  2586. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2587. protected
  2588. function GetLength():Integer;override;
  2589. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2590. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2591. public
  2592. class function GetItemTypeInfo():PTypeInfo;override;
  2593. procedure SetLength(const ANewSize : Integer);override;
  2594. procedure Assign(Source: TPersistent); override;
  2595. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2596. end;
  2597. TOnDelete_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2598. private
  2599. FData : array of Annotation_Type;
  2600. private
  2601. function GetItem(AIndex: Integer): Annotation_Type;
  2602. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2603. protected
  2604. function GetLength():Integer;override;
  2605. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2606. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2607. public
  2608. class function GetItemTypeInfo():PTypeInfo;override;
  2609. procedure SetLength(const ANewSize : Integer);override;
  2610. procedure Assign(Source: TPersistent); override;
  2611. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2612. end;
  2613. TEnumType_MemberArray = class(TObjectCollectionRemotable)
  2614. private
  2615. function GetItem(AIndex: Integer): TEnumTypeMember;
  2616. public
  2617. class function GetItemClass():TBaseRemotableClass;override;
  2618. function Add(): TEnumTypeMember; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2619. function AddAt(const APosition : Integer) : TEnumTypeMember; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2620. property Item[AIndex:Integer] : TEnumTypeMember Read GetItem;Default;
  2621. end;
  2622. TEnumType_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2623. private
  2624. FData : array of Annotation_Type;
  2625. private
  2626. function GetItem(AIndex: Integer): Annotation_Type;
  2627. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2628. protected
  2629. function GetLength():Integer;override;
  2630. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2631. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2632. public
  2633. class function GetItemTypeInfo():PTypeInfo;override;
  2634. procedure SetLength(const ANewSize : Integer);override;
  2635. procedure Assign(Source: TPersistent); override;
  2636. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2637. end;
  2638. TEnumTypeMember_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2639. private
  2640. FData : array of Annotation_Type;
  2641. private
  2642. function GetItem(AIndex: Integer): Annotation_Type;
  2643. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2644. protected
  2645. function GetLength():Integer;override;
  2646. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2647. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2648. public
  2649. class function GetItemTypeInfo():PTypeInfo;override;
  2650. procedure SetLength(const ANewSize : Integer);override;
  2651. procedure Assign(Source: TPersistent); override;
  2652. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2653. end;
  2654. TActionFunctionReturnType_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2655. private
  2656. FData : array of Annotation_Type;
  2657. private
  2658. function GetItem(AIndex: Integer): Annotation_Type;
  2659. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2660. protected
  2661. function GetLength():Integer;override;
  2662. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2663. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2664. public
  2665. class function GetItemTypeInfo():PTypeInfo;override;
  2666. procedure SetLength(const ANewSize : Integer);override;
  2667. procedure Assign(Source: TPersistent); override;
  2668. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2669. end;
  2670. TAction_ParameterArray = class(TObjectCollectionRemotable)
  2671. private
  2672. function GetItem(AIndex: Integer): TActionFunctionParameter;
  2673. public
  2674. class function GetItemClass():TBaseRemotableClass;override;
  2675. function Add(): TActionFunctionParameter; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2676. function AddAt(const APosition : Integer) : TActionFunctionParameter; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2677. property Item[AIndex:Integer] : TActionFunctionParameter Read GetItem;Default;
  2678. end;
  2679. TAction_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2680. private
  2681. FData : array of Annotation_Type;
  2682. private
  2683. function GetItem(AIndex: Integer): Annotation_Type;
  2684. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2685. protected
  2686. function GetLength():Integer;override;
  2687. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2688. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2689. public
  2690. class function GetItemTypeInfo():PTypeInfo;override;
  2691. procedure SetLength(const ANewSize : Integer);override;
  2692. procedure Assign(Source: TPersistent); override;
  2693. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2694. end;
  2695. TFunction_ParameterArray = class(TObjectCollectionRemotable)
  2696. private
  2697. function GetItem(AIndex: Integer): TActionFunctionParameter;
  2698. public
  2699. class function GetItemClass():TBaseRemotableClass;override;
  2700. function Add(): TActionFunctionParameter; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2701. function AddAt(const APosition : Integer) : TActionFunctionParameter; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2702. property Item[AIndex:Integer] : TActionFunctionParameter Read GetItem;Default;
  2703. end;
  2704. TFunction_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2705. private
  2706. FData : array of Annotation_Type;
  2707. private
  2708. function GetItem(AIndex: Integer): Annotation_Type;
  2709. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2710. protected
  2711. function GetLength():Integer;override;
  2712. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2713. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2714. public
  2715. class function GetItemTypeInfo():PTypeInfo;override;
  2716. procedure SetLength(const ANewSize : Integer);override;
  2717. procedure Assign(Source: TPersistent); override;
  2718. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2719. end;
  2720. TActionFunctionParameter_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2721. private
  2722. FData : array of Annotation_Type;
  2723. private
  2724. function GetItem(AIndex: Integer): Annotation_Type;
  2725. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2726. protected
  2727. function GetLength():Integer;override;
  2728. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2729. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2730. public
  2731. class function GetItemTypeInfo():PTypeInfo;override;
  2732. procedure SetLength(const ANewSize : Integer);override;
  2733. procedure Assign(Source: TPersistent); override;
  2734. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2735. end;
  2736. TTerm_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2737. private
  2738. FData : array of Annotation_Type;
  2739. private
  2740. function GetItem(AIndex: Integer): Annotation_Type;
  2741. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2742. protected
  2743. function GetLength():Integer;override;
  2744. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2745. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2746. public
  2747. class function GetItemTypeInfo():PTypeInfo;override;
  2748. procedure SetLength(const ANewSize : Integer);override;
  2749. procedure Assign(Source: TPersistent); override;
  2750. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2751. end;
  2752. TAnnotations_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2753. private
  2754. FData : array of Annotation_Type;
  2755. private
  2756. function GetItem(AIndex: Integer): Annotation_Type;
  2757. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2758. protected
  2759. function GetLength():Integer;override;
  2760. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2761. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2762. public
  2763. class function GetItemTypeInfo():PTypeInfo;override;
  2764. procedure SetLength(const ANewSize : Integer);override;
  2765. procedure Assign(Source: TPersistent); override;
  2766. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2767. end;
  2768. Annotation_AnnotationArray = class(TBaseSimpleTypeArrayRemotable)
  2769. private
  2770. FData : array of Annotation_Type;
  2771. private
  2772. function GetItem(AIndex: Integer): Annotation_Type;
  2773. procedure SetItem(AIndex: Integer; const AValue: Annotation_Type);
  2774. protected
  2775. function GetLength():Integer;override;
  2776. procedure SaveItem(AStore : IFormatterBase;const AName : String;const AIndex : Integer);override;
  2777. procedure LoadItem(AStore : IFormatterBase;const AIndex : Integer);override;
  2778. public
  2779. class function GetItemTypeInfo():PTypeInfo;override;
  2780. procedure SetLength(const ANewSize : Integer);override;
  2781. procedure Assign(Source: TPersistent); override;
  2782. property Item[AIndex:Integer] : Annotation_Type read GetItem write SetItem; default;
  2783. end;
  2784. TApplyExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2785. private
  2786. function GetItem(AIndex: Integer): Annotation_Type;
  2787. public
  2788. class function GetItemClass():TBaseRemotableClass;override;
  2789. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2790. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2791. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2792. end;
  2793. TCastOrIsOfExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2794. private
  2795. function GetItem(AIndex: Integer): Annotation_Type;
  2796. public
  2797. class function GetItemClass():TBaseRemotableClass;override;
  2798. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2799. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2800. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2801. end;
  2802. TIfExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2803. private
  2804. function GetItem(AIndex: Integer): Annotation_Type;
  2805. public
  2806. class function GetItemClass():TBaseRemotableClass;override;
  2807. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2808. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2809. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2810. end;
  2811. TOneChildExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2812. private
  2813. function GetItem(AIndex: Integer): Annotation_Type;
  2814. public
  2815. class function GetItemClass():TBaseRemotableClass;override;
  2816. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2817. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2818. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2819. end;
  2820. TTwoChildrenExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2821. private
  2822. function GetItem(AIndex: Integer): Annotation_Type;
  2823. public
  2824. class function GetItemClass():TBaseRemotableClass;override;
  2825. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2826. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2827. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2828. end;
  2829. TLabeledElementExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2830. private
  2831. function GetItem(AIndex: Integer): Annotation_Type;
  2832. public
  2833. class function GetItemClass():TBaseRemotableClass;override;
  2834. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2835. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2836. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2837. end;
  2838. TNullExpression = class(TObjectCollectionRemotable)
  2839. private
  2840. function GetItem(AIndex: Integer): Annotation_Type;
  2841. public
  2842. class function GetItemClass():TBaseRemotableClass;override;
  2843. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2844. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2845. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2846. end;
  2847. TRecordExpression_PropertyValueArray = class(TObjectCollectionRemotable)
  2848. private
  2849. function GetItem(AIndex: Integer): TPropertyValue;
  2850. public
  2851. class function GetItemClass():TBaseRemotableClass;override;
  2852. function Add(): TPropertyValue; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2853. function AddAt(const APosition : Integer) : TPropertyValue; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2854. property Item[AIndex:Integer] : TPropertyValue Read GetItem;Default;
  2855. end;
  2856. TRecordExpression_AnnotationArray = class(TObjectCollectionRemotable)
  2857. private
  2858. function GetItem(AIndex: Integer): Annotation_Type;
  2859. public
  2860. class function GetItemClass():TBaseRemotableClass;override;
  2861. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2862. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2863. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2864. end;
  2865. TPropertyValue_AnnotationArray = class(TObjectCollectionRemotable)
  2866. private
  2867. function GetItem(AIndex: Integer): Annotation_Type;
  2868. public
  2869. class function GetItemClass():TBaseRemotableClass;override;
  2870. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2871. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2872. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2873. end;
  2874. TEntityContainer_EntitySetArray = class(TObjectCollectionRemotable)
  2875. private
  2876. function GetItem(AIndex: Integer): TEntitySet;
  2877. public
  2878. class function GetItemClass():TBaseRemotableClass;override;
  2879. function Add(): TEntitySet; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2880. function AddAt(const APosition : Integer) : TEntitySet; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2881. property Item[AIndex:Integer] : TEntitySet Read GetItem;Default;
  2882. end;
  2883. TEntityContainer_ActionImportArray = class(TObjectCollectionRemotable)
  2884. private
  2885. function GetItem(AIndex: Integer): TActionImport;
  2886. public
  2887. class function GetItemClass():TBaseRemotableClass;override;
  2888. function Add(): TActionImport; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2889. function AddAt(const APosition : Integer) : TActionImport; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2890. property Item[AIndex:Integer] : TActionImport Read GetItem;Default;
  2891. end;
  2892. TEntityContainer_FunctionImportArray = class(TObjectCollectionRemotable)
  2893. private
  2894. function GetItem(AIndex: Integer): TFunctionImport;
  2895. public
  2896. class function GetItemClass():TBaseRemotableClass;override;
  2897. function Add(): TFunctionImport; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2898. function AddAt(const APosition : Integer) : TFunctionImport; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2899. property Item[AIndex:Integer] : TFunctionImport Read GetItem;Default;
  2900. end;
  2901. TEntityContainer_SingletonArray = class(TObjectCollectionRemotable)
  2902. private
  2903. function GetItem(AIndex: Integer): TSingleton;
  2904. public
  2905. class function GetItemClass():TBaseRemotableClass;override;
  2906. function Add(): TSingleton; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2907. function AddAt(const APosition : Integer) : TSingleton; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2908. property Item[AIndex:Integer] : TSingleton Read GetItem;Default;
  2909. end;
  2910. TEntityContainer_AnnotationArray = class(TObjectCollectionRemotable)
  2911. private
  2912. function GetItem(AIndex: Integer): Annotation_Type;
  2913. public
  2914. class function GetItemClass():TBaseRemotableClass;override;
  2915. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2916. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2917. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2918. end;
  2919. TEntitySet_NavigationPropertyBindingArray = class(TObjectCollectionRemotable)
  2920. private
  2921. function GetItem(AIndex: Integer): TNavigationPropertyBinding;
  2922. public
  2923. class function GetItemClass():TBaseRemotableClass;override;
  2924. function Add(): TNavigationPropertyBinding; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2925. function AddAt(const APosition : Integer) : TNavigationPropertyBinding; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2926. property Item[AIndex:Integer] : TNavigationPropertyBinding Read GetItem;Default;
  2927. end;
  2928. TEntitySet_AnnotationArray = class(TObjectCollectionRemotable)
  2929. private
  2930. function GetItem(AIndex: Integer): Annotation_Type;
  2931. public
  2932. class function GetItemClass():TBaseRemotableClass;override;
  2933. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2934. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2935. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2936. end;
  2937. TSingleton_NavigationPropertyBindingArray = class(TObjectCollectionRemotable)
  2938. private
  2939. function GetItem(AIndex: Integer): TNavigationPropertyBinding;
  2940. public
  2941. class function GetItemClass():TBaseRemotableClass;override;
  2942. function Add(): TNavigationPropertyBinding; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2943. function AddAt(const APosition : Integer) : TNavigationPropertyBinding; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2944. property Item[AIndex:Integer] : TNavigationPropertyBinding Read GetItem;Default;
  2945. end;
  2946. TSingleton_AnnotationArray = class(TObjectCollectionRemotable)
  2947. private
  2948. function GetItem(AIndex: Integer): Annotation_Type;
  2949. public
  2950. class function GetItemClass():TBaseRemotableClass;override;
  2951. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2952. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2953. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2954. end;
  2955. TActionImport_AnnotationArray = class(TObjectCollectionRemotable)
  2956. private
  2957. function GetItem(AIndex: Integer): Annotation_Type;
  2958. public
  2959. class function GetItemClass():TBaseRemotableClass;override;
  2960. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2961. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2962. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2963. end;
  2964. TFunctionImport_AnnotationArray = class(TObjectCollectionRemotable)
  2965. private
  2966. function GetItem(AIndex: Integer): Annotation_Type;
  2967. public
  2968. class function GetItemClass():TBaseRemotableClass;override;
  2969. function Add(): Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2970. function AddAt(const APosition : Integer) : Annotation_Type; {$IFDEF USE_INLINE}inline;{$ENDIF}
  2971. property Item[AIndex:Integer] : Annotation_Type Read GetItem;Default;
  2972. end;
  2973. Implementation
  2974. uses metadata_repository, record_rtti, wst_types;
  2975. { Schema }
  2976. constructor Schema.Create();
  2977. begin
  2978. inherited Create();
  2979. FComplexType := Schema_ComplexTypeArray.Create();
  2980. FEntityType := Schema_EntityTypeArray.Create();
  2981. FTypeDefinition := Schema_TypeDefinitionArray.Create();
  2982. FEnumType := Schema_EnumTypeArray.Create();
  2983. FAction := Schema_ActionArray.Create();
  2984. F_Function := Schema__FunctionArray.Create();
  2985. FTerm := Schema_TermArray.Create();
  2986. FAnnotations := Schema_AnnotationsArray.Create();
  2987. FEntityContainer := Schema_EntityContainerArray.Create();
  2988. FAnnotation := Schema_AnnotationArray.Create();
  2989. end;
  2990. procedure Schema.FreeObjectProperties();
  2991. begin
  2992. if Assigned(FComplexType) then
  2993. FreeAndNil(FComplexType);
  2994. if Assigned(FEntityType) then
  2995. FreeAndNil(FEntityType);
  2996. if Assigned(FTypeDefinition) then
  2997. FreeAndNil(FTypeDefinition);
  2998. if Assigned(FEnumType) then
  2999. FreeAndNil(FEnumType);
  3000. if Assigned(FAction) then
  3001. FreeAndNil(FAction);
  3002. if Assigned(F_Function) then
  3003. FreeAndNil(F_Function);
  3004. if Assigned(FTerm) then
  3005. FreeAndNil(FTerm);
  3006. if Assigned(FAnnotations) then
  3007. FreeAndNil(FAnnotations);
  3008. if Assigned(FEntityContainer) then
  3009. FreeAndNil(FEntityContainer);
  3010. if Assigned(FAnnotation) then
  3011. FreeAndNil(FAnnotation);
  3012. inherited FreeObjectProperties();
  3013. end;
  3014. function Schema.wstHas_ComplexType() : Boolean;
  3015. begin
  3016. Result := ( FComplexType <> Schema_ComplexTypeArray(0) );
  3017. end;
  3018. function Schema.wstHas_EntityType() : Boolean;
  3019. begin
  3020. Result := ( FEntityType <> Schema_EntityTypeArray(0) );
  3021. end;
  3022. function Schema.wstHas_TypeDefinition() : Boolean;
  3023. begin
  3024. Result := ( FTypeDefinition <> Schema_TypeDefinitionArray(0) );
  3025. end;
  3026. function Schema.wstHas_EnumType() : Boolean;
  3027. begin
  3028. Result := ( FEnumType <> Schema_EnumTypeArray(0) );
  3029. end;
  3030. function Schema.wstHas_Action() : Boolean;
  3031. begin
  3032. Result := ( FAction <> Schema_ActionArray(0) );
  3033. end;
  3034. function Schema.wstHas__Function() : Boolean;
  3035. begin
  3036. Result := ( F_Function <> Schema__FunctionArray(0) );
  3037. end;
  3038. function Schema.wstHas_Term() : Boolean;
  3039. begin
  3040. Result := ( FTerm <> Schema_TermArray(0) );
  3041. end;
  3042. function Schema.wstHas_Annotations() : Boolean;
  3043. begin
  3044. Result := ( FAnnotations <> Schema_AnnotationsArray(0) );
  3045. end;
  3046. function Schema.wstHas_EntityContainer() : Boolean;
  3047. begin
  3048. Result := ( FEntityContainer <> Schema_EntityContainerArray(0) );
  3049. end;
  3050. function Schema.wstHas_Annotation() : Boolean;
  3051. begin
  3052. Result := ( FAnnotation <> Schema_AnnotationArray(0) );
  3053. end;
  3054. function Schema.wstHas_Alias() : Boolean;
  3055. begin
  3056. Result := ( FAlias <> '' );
  3057. end;
  3058. function TDerivableTypeAttributes.wstHas_BaseType() : Boolean;
  3059. begin
  3060. Result := ( FBaseType <> '' );
  3061. end;
  3062. function TDerivableTypeAttributes.wstHas__Abstract() : Boolean;
  3063. begin
  3064. Result := ( F_Abstract <> boolean(0) );
  3065. end;
  3066. { TEntityType }
  3067. constructor TEntityType.Create();
  3068. begin
  3069. inherited Create();
  3070. FKey := TEntityType_KeyArray.Create();
  3071. F_Property := TEntityType__PropertyArray.Create();
  3072. FNavigationProperty := TEntityType_NavigationPropertyArray.Create();
  3073. FAnnotation := TEntityType_AnnotationArray.Create();
  3074. end;
  3075. procedure TEntityType.FreeObjectProperties();
  3076. begin
  3077. if Assigned(FKey) then
  3078. FreeAndNil(FKey);
  3079. if Assigned(F_Property) then
  3080. FreeAndNil(F_Property);
  3081. if Assigned(FNavigationProperty) then
  3082. FreeAndNil(FNavigationProperty);
  3083. if Assigned(FAnnotation) then
  3084. FreeAndNil(FAnnotation);
  3085. inherited FreeObjectProperties();
  3086. end;
  3087. function TEntityType.wstHas_Key() : Boolean;
  3088. begin
  3089. Result := ( FKey <> TEntityType_KeyArray(0) );
  3090. end;
  3091. function TEntityType.wstHas__Property() : Boolean;
  3092. begin
  3093. Result := ( F_Property <> TEntityType__PropertyArray(0) );
  3094. end;
  3095. function TEntityType.wstHas_NavigationProperty() : Boolean;
  3096. begin
  3097. Result := ( FNavigationProperty <> TEntityType_NavigationPropertyArray(0) );
  3098. end;
  3099. function TEntityType.wstHas_Annotation() : Boolean;
  3100. begin
  3101. Result := ( FAnnotation <> TEntityType_AnnotationArray(0) );
  3102. end;
  3103. function TEntityType.wstHas_OpenType() : Boolean;
  3104. begin
  3105. Result := ( FOpenType <> boolean(0) );
  3106. end;
  3107. function TEntityType.wstHas_HasStream() : Boolean;
  3108. begin
  3109. Result := ( FHasStream <> boolean(0) );
  3110. end;
  3111. function TEntityType.wstHas_BaseType() : Boolean;
  3112. begin
  3113. Result := ( FBaseType <> '' );
  3114. end;
  3115. function TEntityType.wstHas__Abstract() : Boolean;
  3116. begin
  3117. Result := ( F_Abstract <> boolean(0) );
  3118. end;
  3119. function TPropertyRef.wstHas_Alias() : Boolean;
  3120. begin
  3121. Result := ( FAlias <> '' );
  3122. end;
  3123. { TComplexType }
  3124. constructor TComplexType.Create();
  3125. begin
  3126. inherited Create();
  3127. F_Property := TComplexType__PropertyArray.Create();
  3128. FNavigationProperty := TComplexType_NavigationPropertyArray.Create();
  3129. FAnnotation := TComplexType_AnnotationArray.Create();
  3130. end;
  3131. procedure TComplexType.FreeObjectProperties();
  3132. begin
  3133. if Assigned(F_Property) then
  3134. FreeAndNil(F_Property);
  3135. if Assigned(FNavigationProperty) then
  3136. FreeAndNil(FNavigationProperty);
  3137. if Assigned(FAnnotation) then
  3138. FreeAndNil(FAnnotation);
  3139. inherited FreeObjectProperties();
  3140. end;
  3141. function TComplexType.wstHas__Property() : Boolean;
  3142. begin
  3143. Result := ( F_Property <> TComplexType__PropertyArray(0) );
  3144. end;
  3145. function TComplexType.wstHas_NavigationProperty() : Boolean;
  3146. begin
  3147. Result := ( FNavigationProperty <> TComplexType_NavigationPropertyArray(0) );
  3148. end;
  3149. function TComplexType.wstHas_Annotation() : Boolean;
  3150. begin
  3151. Result := ( FAnnotation <> TComplexType_AnnotationArray(0) );
  3152. end;
  3153. function TComplexType.wstHas_OpenType() : Boolean;
  3154. begin
  3155. Result := ( FOpenType <> boolean(0) );
  3156. end;
  3157. function TComplexType.wstHas_BaseType() : Boolean;
  3158. begin
  3159. Result := ( FBaseType <> '' );
  3160. end;
  3161. function TComplexType.wstHas__Abstract() : Boolean;
  3162. begin
  3163. Result := ( F_Abstract <> boolean(0) );
  3164. end;
  3165. function TFacetAttributes.wstHas_MaxLength() : Boolean;
  3166. begin
  3167. Result := ( FMaxLength <> '' );
  3168. end;
  3169. function TFacetAttributes.wstHas_Precision() : Boolean;
  3170. begin
  3171. Result := ( FPrecision <> TPrecisionFacet(0) );
  3172. end;
  3173. function TFacetAttributes.wstHas_Scale() : Boolean;
  3174. begin
  3175. Result := ( FScale <> '' );
  3176. end;
  3177. function TFacetAttributes.wstHas_SRID() : Boolean;
  3178. begin
  3179. Result := ( FSRID <> '' );
  3180. end;
  3181. function TPropertyFacetAttributes.wstHas_Unicode() : Boolean;
  3182. begin
  3183. Result := ( FUnicode <> TUnicodeFacet(0) );
  3184. end;
  3185. function TCommonPropertyAttributes.wstHas_Nullable() : Boolean;
  3186. begin
  3187. Result := ( FNullable <> boolean(0) );
  3188. end;
  3189. function TCommonPropertyAttributes.wstHas_DefaultValue() : Boolean;
  3190. begin
  3191. Result := ( FDefaultValue <> '' );
  3192. end;
  3193. function TCommonPropertyAttributes.wstHas_MaxLength() : Boolean;
  3194. begin
  3195. Result := ( FMaxLength <> '' );
  3196. end;
  3197. function TCommonPropertyAttributes.wstHas_Precision() : Boolean;
  3198. begin
  3199. Result := ( FPrecision <> TPrecisionFacet(0) );
  3200. end;
  3201. function TCommonPropertyAttributes.wstHas_Scale() : Boolean;
  3202. begin
  3203. Result := ( FScale <> '' );
  3204. end;
  3205. function TCommonPropertyAttributes.wstHas_SRID() : Boolean;
  3206. begin
  3207. Result := ( FSRID <> '' );
  3208. end;
  3209. function TCommonPropertyAttributes.wstHas_Unicode() : Boolean;
  3210. begin
  3211. Result := ( FUnicode <> TUnicodeFacet(0) );
  3212. end;
  3213. { TProperty }
  3214. constructor TProperty.Create();
  3215. begin
  3216. inherited Create();
  3217. FAnnotation := TProperty_AnnotationArray.Create();
  3218. end;
  3219. procedure TProperty.FreeObjectProperties();
  3220. begin
  3221. if Assigned(FAnnotation) then
  3222. FreeAndNil(FAnnotation);
  3223. inherited FreeObjectProperties();
  3224. end;
  3225. function TProperty.wstHas_Annotation() : Boolean;
  3226. begin
  3227. Result := ( FAnnotation <> TProperty_AnnotationArray(0) );
  3228. end;
  3229. function TProperty.wstHas_Nullable() : Boolean;
  3230. begin
  3231. Result := ( FNullable <> boolean(0) );
  3232. end;
  3233. function TProperty.wstHas_DefaultValue() : Boolean;
  3234. begin
  3235. Result := ( FDefaultValue <> '' );
  3236. end;
  3237. function TProperty.wstHas_MaxLength() : Boolean;
  3238. begin
  3239. Result := ( FMaxLength <> '' );
  3240. end;
  3241. function TProperty.wstHas_Precision() : Boolean;
  3242. begin
  3243. Result := ( FPrecision <> TPrecisionFacet(0) );
  3244. end;
  3245. function TProperty.wstHas_Scale() : Boolean;
  3246. begin
  3247. Result := ( FScale <> '' );
  3248. end;
  3249. function TProperty.wstHas_SRID() : Boolean;
  3250. begin
  3251. Result := ( FSRID <> '' );
  3252. end;
  3253. function TProperty.wstHas_Unicode() : Boolean;
  3254. begin
  3255. Result := ( FUnicode <> TUnicodeFacet(0) );
  3256. end;
  3257. { TTypeDefinition }
  3258. constructor TTypeDefinition.Create();
  3259. begin
  3260. inherited Create();
  3261. FAnnotation := TTypeDefinition_AnnotationArray.Create();
  3262. end;
  3263. procedure TTypeDefinition.FreeObjectProperties();
  3264. begin
  3265. if Assigned(FAnnotation) then
  3266. FreeAndNil(FAnnotation);
  3267. inherited FreeObjectProperties();
  3268. end;
  3269. function TTypeDefinition.wstHas_Annotation() : Boolean;
  3270. begin
  3271. Result := ( FAnnotation <> TTypeDefinition_AnnotationArray(0) );
  3272. end;
  3273. function TTypeDefinition.wstHas_MaxLength() : Boolean;
  3274. begin
  3275. Result := ( FMaxLength <> '' );
  3276. end;
  3277. function TTypeDefinition.wstHas_Precision() : Boolean;
  3278. begin
  3279. Result := ( FPrecision <> TPrecisionFacet(0) );
  3280. end;
  3281. function TTypeDefinition.wstHas_Scale() : Boolean;
  3282. begin
  3283. Result := ( FScale <> '' );
  3284. end;
  3285. function TTypeDefinition.wstHas_SRID() : Boolean;
  3286. begin
  3287. Result := ( FSRID <> '' );
  3288. end;
  3289. function TTypeDefinition.wstHas_Unicode() : Boolean;
  3290. begin
  3291. Result := ( FUnicode <> TUnicodeFacet(0) );
  3292. end;
  3293. { TNavigationProperty }
  3294. constructor TNavigationProperty.Create();
  3295. begin
  3296. inherited Create();
  3297. FReferentialConstraint := TNavigationProperty_ReferentialConstraintArray.Create();
  3298. FOnDelete := TNavigationProperty_OnDeleteArray.Create();
  3299. FAnnotation := TNavigationProperty_AnnotationArray.Create();
  3300. end;
  3301. procedure TNavigationProperty.FreeObjectProperties();
  3302. begin
  3303. if Assigned(FReferentialConstraint) then
  3304. FreeAndNil(FReferentialConstraint);
  3305. if Assigned(FOnDelete) then
  3306. FreeAndNil(FOnDelete);
  3307. if Assigned(FAnnotation) then
  3308. FreeAndNil(FAnnotation);
  3309. inherited FreeObjectProperties();
  3310. end;
  3311. function TNavigationProperty.wstHas_ReferentialConstraint() : Boolean;
  3312. begin
  3313. Result := ( FReferentialConstraint <> TNavigationProperty_ReferentialConstraintArray(0) );
  3314. end;
  3315. function TNavigationProperty.wstHas_OnDelete() : Boolean;
  3316. begin
  3317. Result := ( FOnDelete <> TNavigationProperty_OnDeleteArray(0) );
  3318. end;
  3319. function TNavigationProperty.wstHas_Annotation() : Boolean;
  3320. begin
  3321. Result := ( FAnnotation <> TNavigationProperty_AnnotationArray(0) );
  3322. end;
  3323. function TNavigationProperty.wstHas_Nullable() : Boolean;
  3324. begin
  3325. Result := ( FNullable <> boolean(0) );
  3326. end;
  3327. function TNavigationProperty.wstHas_Partner() : Boolean;
  3328. begin
  3329. Result := ( FPartner <> '' );
  3330. end;
  3331. function TNavigationProperty.wstHas_ContainsTarget() : Boolean;
  3332. begin
  3333. Result := ( FContainsTarget <> boolean(0) );
  3334. end;
  3335. { TReferentialConstraint }
  3336. constructor TReferentialConstraint.Create();
  3337. begin
  3338. inherited Create();
  3339. FAnnotation := TReferentialConstraint_AnnotationArray.Create();
  3340. end;
  3341. procedure TReferentialConstraint.FreeObjectProperties();
  3342. begin
  3343. if Assigned(FAnnotation) then
  3344. FreeAndNil(FAnnotation);
  3345. inherited FreeObjectProperties();
  3346. end;
  3347. function TReferentialConstraint.wstHas_Annotation() : Boolean;
  3348. begin
  3349. Result := ( FAnnotation <> TReferentialConstraint_AnnotationArray(0) );
  3350. end;
  3351. { TOnDelete }
  3352. constructor TOnDelete.Create();
  3353. begin
  3354. inherited Create();
  3355. FAnnotation := TOnDelete_AnnotationArray.Create();
  3356. end;
  3357. procedure TOnDelete.FreeObjectProperties();
  3358. begin
  3359. if Assigned(FAnnotation) then
  3360. FreeAndNil(FAnnotation);
  3361. inherited FreeObjectProperties();
  3362. end;
  3363. function TOnDelete.wstHas_Annotation() : Boolean;
  3364. begin
  3365. Result := ( FAnnotation <> TOnDelete_AnnotationArray(0) );
  3366. end;
  3367. { TEnumType }
  3368. constructor TEnumType.Create();
  3369. begin
  3370. inherited Create();
  3371. FMember := TEnumType_MemberArray.Create();
  3372. FAnnotation := TEnumType_AnnotationArray.Create();
  3373. end;
  3374. procedure TEnumType.FreeObjectProperties();
  3375. begin
  3376. if Assigned(FMember) then
  3377. FreeAndNil(FMember);
  3378. if Assigned(FAnnotation) then
  3379. FreeAndNil(FAnnotation);
  3380. inherited FreeObjectProperties();
  3381. end;
  3382. function TEnumType.wstHas_Member() : Boolean;
  3383. begin
  3384. Result := ( FMember <> TEnumType_MemberArray(0) );
  3385. end;
  3386. function TEnumType.wstHas_Annotation() : Boolean;
  3387. begin
  3388. Result := ( FAnnotation <> TEnumType_AnnotationArray(0) );
  3389. end;
  3390. function TEnumType.wstHas_IsFlags() : Boolean;
  3391. begin
  3392. Result := ( FIsFlags <> boolean(0) );
  3393. end;
  3394. function TEnumType.wstHas_UnderlyingType() : Boolean;
  3395. begin
  3396. Result := ( FUnderlyingType <> '' );
  3397. end;
  3398. { TEnumTypeMember }
  3399. constructor TEnumTypeMember.Create();
  3400. begin
  3401. inherited Create();
  3402. FAnnotation := TEnumTypeMember_AnnotationArray.Create();
  3403. end;
  3404. procedure TEnumTypeMember.FreeObjectProperties();
  3405. begin
  3406. if Assigned(FAnnotation) then
  3407. FreeAndNil(FAnnotation);
  3408. inherited FreeObjectProperties();
  3409. end;
  3410. function TEnumTypeMember.wstHas_Annotation() : Boolean;
  3411. begin
  3412. Result := ( FAnnotation <> TEnumTypeMember_AnnotationArray(0) );
  3413. end;
  3414. function TEnumTypeMember.wstHas_Value() : Boolean;
  3415. begin
  3416. Result := ( FValue <> Int64(0) );
  3417. end;
  3418. { TActionFunctionReturnType }
  3419. constructor TActionFunctionReturnType.Create();
  3420. begin
  3421. inherited Create();
  3422. FAnnotation := TActionFunctionReturnType_AnnotationArray.Create();
  3423. end;
  3424. procedure TActionFunctionReturnType.FreeObjectProperties();
  3425. begin
  3426. if Assigned(FAnnotation) then
  3427. FreeAndNil(FAnnotation);
  3428. inherited FreeObjectProperties();
  3429. end;
  3430. function TActionFunctionReturnType.wstHas_Annotation() : Boolean;
  3431. begin
  3432. Result := ( FAnnotation <> TActionFunctionReturnType_AnnotationArray(0) );
  3433. end;
  3434. function TActionFunctionReturnType.wstHas_Nullable() : Boolean;
  3435. begin
  3436. Result := ( FNullable <> boolean(0) );
  3437. end;
  3438. function TActionFunctionReturnType.wstHas_MaxLength() : Boolean;
  3439. begin
  3440. Result := ( FMaxLength <> '' );
  3441. end;
  3442. function TActionFunctionReturnType.wstHas_Precision() : Boolean;
  3443. begin
  3444. Result := ( FPrecision <> TPrecisionFacet(0) );
  3445. end;
  3446. function TActionFunctionReturnType.wstHas_Scale() : Boolean;
  3447. begin
  3448. Result := ( FScale <> '' );
  3449. end;
  3450. function TActionFunctionReturnType.wstHas_SRID() : Boolean;
  3451. begin
  3452. Result := ( FSRID <> '' );
  3453. end;
  3454. function TActionAttributes.wstHas_EntitySetPath() : Boolean;
  3455. begin
  3456. Result := ( FEntitySetPath <> '' );
  3457. end;
  3458. function TActionAttributes.wstHas_IsBound() : Boolean;
  3459. begin
  3460. Result := ( FIsBound <> boolean(0) );
  3461. end;
  3462. { TAction }
  3463. constructor TAction.Create();
  3464. begin
  3465. inherited Create();
  3466. FParameter := TAction_ParameterArray.Create();
  3467. FAnnotation := TAction_AnnotationArray.Create();
  3468. FReturnType := TActionFunctionReturnType.Create();
  3469. end;
  3470. procedure TAction.FreeObjectProperties();
  3471. begin
  3472. if Assigned(FParameter) then
  3473. FreeAndNil(FParameter);
  3474. if Assigned(FAnnotation) then
  3475. FreeAndNil(FAnnotation);
  3476. if Assigned(FReturnType) then
  3477. FreeAndNil(FReturnType);
  3478. inherited FreeObjectProperties();
  3479. end;
  3480. function TAction.wstHas_Parameter() : Boolean;
  3481. begin
  3482. Result := ( FParameter <> TAction_ParameterArray(0) );
  3483. end;
  3484. function TAction.wstHas_Annotation() : Boolean;
  3485. begin
  3486. Result := ( FAnnotation <> TAction_AnnotationArray(0) );
  3487. end;
  3488. function TAction.wstHas_ReturnType() : Boolean;
  3489. begin
  3490. Result := ( FReturnType <> nil );
  3491. end;
  3492. function TAction.wstHas_EntitySetPath() : Boolean;
  3493. begin
  3494. Result := ( FEntitySetPath <> '' );
  3495. end;
  3496. function TAction.wstHas_IsBound() : Boolean;
  3497. begin
  3498. Result := ( FIsBound <> boolean(0) );
  3499. end;
  3500. function TFunctionAttributes.wstHas_EntitySetPath() : Boolean;
  3501. begin
  3502. Result := ( FEntitySetPath <> '' );
  3503. end;
  3504. function TFunctionAttributes.wstHas_IsBound() : Boolean;
  3505. begin
  3506. Result := ( FIsBound <> boolean(0) );
  3507. end;
  3508. function TFunctionAttributes.wstHas_IsComposable() : Boolean;
  3509. begin
  3510. Result := ( FIsComposable <> boolean(0) );
  3511. end;
  3512. { TFunction }
  3513. constructor TFunction.Create();
  3514. begin
  3515. inherited Create();
  3516. FParameter := TFunction_ParameterArray.Create();
  3517. FAnnotation := TFunction_AnnotationArray.Create();
  3518. FReturnType := TActionFunctionReturnType.Create();
  3519. end;
  3520. procedure TFunction.FreeObjectProperties();
  3521. begin
  3522. if Assigned(FParameter) then
  3523. FreeAndNil(FParameter);
  3524. if Assigned(FAnnotation) then
  3525. FreeAndNil(FAnnotation);
  3526. if Assigned(FReturnType) then
  3527. FreeAndNil(FReturnType);
  3528. inherited FreeObjectProperties();
  3529. end;
  3530. function TFunction.wstHas_Parameter() : Boolean;
  3531. begin
  3532. Result := ( FParameter <> TFunction_ParameterArray(0) );
  3533. end;
  3534. function TFunction.wstHas_Annotation() : Boolean;
  3535. begin
  3536. Result := ( FAnnotation <> TFunction_AnnotationArray(0) );
  3537. end;
  3538. function TFunction.wstHas_EntitySetPath() : Boolean;
  3539. begin
  3540. Result := ( FEntitySetPath <> '' );
  3541. end;
  3542. function TFunction.wstHas_IsBound() : Boolean;
  3543. begin
  3544. Result := ( FIsBound <> boolean(0) );
  3545. end;
  3546. function TFunction.wstHas_IsComposable() : Boolean;
  3547. begin
  3548. Result := ( FIsComposable <> boolean(0) );
  3549. end;
  3550. function TActionFunctionParameterAttributes.wstHas_Nullable() : Boolean;
  3551. begin
  3552. Result := ( FNullable <> boolean(0) );
  3553. end;
  3554. function TActionFunctionParameterAttributes.wstHas_MaxLength() : Boolean;
  3555. begin
  3556. Result := ( FMaxLength <> '' );
  3557. end;
  3558. function TActionFunctionParameterAttributes.wstHas_Precision() : Boolean;
  3559. begin
  3560. Result := ( FPrecision <> TPrecisionFacet(0) );
  3561. end;
  3562. function TActionFunctionParameterAttributes.wstHas_Scale() : Boolean;
  3563. begin
  3564. Result := ( FScale <> '' );
  3565. end;
  3566. function TActionFunctionParameterAttributes.wstHas_SRID() : Boolean;
  3567. begin
  3568. Result := ( FSRID <> '' );
  3569. end;
  3570. { TActionFunctionParameter }
  3571. constructor TActionFunctionParameter.Create();
  3572. begin
  3573. inherited Create();
  3574. FAnnotation := TActionFunctionParameter_AnnotationArray.Create();
  3575. end;
  3576. procedure TActionFunctionParameter.FreeObjectProperties();
  3577. begin
  3578. if Assigned(FAnnotation) then
  3579. FreeAndNil(FAnnotation);
  3580. inherited FreeObjectProperties();
  3581. end;
  3582. function TActionFunctionParameter.wstHas_Annotation() : Boolean;
  3583. begin
  3584. Result := ( FAnnotation <> TActionFunctionParameter_AnnotationArray(0) );
  3585. end;
  3586. function TActionFunctionParameter.wstHas_Nullable() : Boolean;
  3587. begin
  3588. Result := ( FNullable <> boolean(0) );
  3589. end;
  3590. function TActionFunctionParameter.wstHas_MaxLength() : Boolean;
  3591. begin
  3592. Result := ( FMaxLength <> '' );
  3593. end;
  3594. function TActionFunctionParameter.wstHas_Precision() : Boolean;
  3595. begin
  3596. Result := ( FPrecision <> TPrecisionFacet(0) );
  3597. end;
  3598. function TActionFunctionParameter.wstHas_Scale() : Boolean;
  3599. begin
  3600. Result := ( FScale <> '' );
  3601. end;
  3602. function TActionFunctionParameter.wstHas_SRID() : Boolean;
  3603. begin
  3604. Result := ( FSRID <> '' );
  3605. end;
  3606. { TTerm }
  3607. constructor TTerm.Create();
  3608. begin
  3609. inherited Create();
  3610. FAnnotation := TTerm_AnnotationArray.Create();
  3611. end;
  3612. procedure TTerm.FreeObjectProperties();
  3613. begin
  3614. if Assigned(FAnnotation) then
  3615. FreeAndNil(FAnnotation);
  3616. inherited FreeObjectProperties();
  3617. end;
  3618. function TTerm.wstHas_Annotation() : Boolean;
  3619. begin
  3620. Result := ( FAnnotation <> TTerm_AnnotationArray(0) );
  3621. end;
  3622. function TTerm.wstHas_BaseTerm() : Boolean;
  3623. begin
  3624. Result := ( FBaseTerm <> '' );
  3625. end;
  3626. function TTerm.wstHas_Nullable() : Boolean;
  3627. begin
  3628. Result := ( FNullable <> boolean(0) );
  3629. end;
  3630. function TTerm.wstHas_DefaultValue() : Boolean;
  3631. begin
  3632. Result := ( FDefaultValue <> '' );
  3633. end;
  3634. function TTerm.wstHas_AppliesTo() : Boolean;
  3635. begin
  3636. Result := ( FAppliesTo <> '' );
  3637. end;
  3638. function TTerm.wstHas_MaxLength() : Boolean;
  3639. begin
  3640. Result := ( FMaxLength <> '' );
  3641. end;
  3642. function TTerm.wstHas_Precision() : Boolean;
  3643. begin
  3644. Result := ( FPrecision <> TPrecisionFacet(0) );
  3645. end;
  3646. function TTerm.wstHas_Scale() : Boolean;
  3647. begin
  3648. Result := ( FScale <> '' );
  3649. end;
  3650. function TTerm.wstHas_SRID() : Boolean;
  3651. begin
  3652. Result := ( FSRID <> '' );
  3653. end;
  3654. { TAnnotations }
  3655. constructor TAnnotations.Create();
  3656. begin
  3657. inherited Create();
  3658. FAnnotation := TAnnotations_AnnotationArray.Create();
  3659. end;
  3660. procedure TAnnotations.FreeObjectProperties();
  3661. begin
  3662. if Assigned(FAnnotation) then
  3663. FreeAndNil(FAnnotation);
  3664. inherited FreeObjectProperties();
  3665. end;
  3666. function TAnnotations.wstHas_Qualifier() : Boolean;
  3667. begin
  3668. Result := ( FQualifier <> '' );
  3669. end;
  3670. { GExpression }
  3671. constructor GExpression.Create();
  3672. begin
  3673. inherited Create();
  3674. FNull := TNullExpression.Create();
  3675. end;
  3676. procedure GExpression.FreeObjectProperties();
  3677. begin
  3678. if Assigned(FBinary) then
  3679. FreeAndNil(FBinary);
  3680. if Assigned(FBool) then
  3681. FreeAndNil(FBool);
  3682. if Assigned(FDate) then
  3683. FreeAndNil(FDate);
  3684. if Assigned(FDateTimeOffset) then
  3685. FreeAndNil(FDateTimeOffset);
  3686. if Assigned(FDecimal) then
  3687. FreeAndNil(FDecimal);
  3688. if Assigned(FDuration) then
  3689. FreeAndNil(FDuration);
  3690. if Assigned(FFloat) then
  3691. FreeAndNil(FFloat);
  3692. if Assigned(FGuid) then
  3693. FreeAndNil(FGuid);
  3694. if Assigned(FInt) then
  3695. FreeAndNil(FInt);
  3696. if Assigned(F_String) then
  3697. FreeAndNil(F_String);
  3698. if Assigned(FTimeOfDay) then
  3699. FreeAndNil(FTimeOfDay);
  3700. if Assigned(FAnnotationPath) then
  3701. FreeAndNil(FAnnotationPath);
  3702. if Assigned(FApply) then
  3703. FreeAndNil(FApply);
  3704. if Assigned(FCast) then
  3705. FreeAndNil(FCast);
  3706. if Assigned(FCollection) then
  3707. FreeAndNil(FCollection);
  3708. if Assigned(F_If) then
  3709. FreeAndNil(F_If);
  3710. if Assigned(FEq) then
  3711. FreeAndNil(FEq);
  3712. if Assigned(FNe) then
  3713. FreeAndNil(FNe);
  3714. if Assigned(FGe) then
  3715. FreeAndNil(FGe);
  3716. if Assigned(FGt) then
  3717. FreeAndNil(FGt);
  3718. if Assigned(FLe) then
  3719. FreeAndNil(FLe);
  3720. if Assigned(FLt) then
  3721. FreeAndNil(FLt);
  3722. if Assigned(F_And) then
  3723. FreeAndNil(F_And);
  3724. if Assigned(F_Or) then
  3725. FreeAndNil(F_Or);
  3726. if Assigned(F_Not) then
  3727. FreeAndNil(F_Not);
  3728. if Assigned(FIsOf) then
  3729. FreeAndNil(FIsOf);
  3730. if Assigned(FLabeledElement) then
  3731. FreeAndNil(FLabeledElement);
  3732. if Assigned(FLabeledElementReference) then
  3733. FreeAndNil(FLabeledElementReference);
  3734. if Assigned(FNull) then
  3735. FreeAndNil(FNull);
  3736. if Assigned(FNavigationPropertyPath) then
  3737. FreeAndNil(FNavigationPropertyPath);
  3738. if Assigned(FPath) then
  3739. FreeAndNil(FPath);
  3740. if Assigned(FPropertyPath) then
  3741. FreeAndNil(FPropertyPath);
  3742. if Assigned(F_Record) then
  3743. FreeAndNil(F_Record);
  3744. if Assigned(FUrlRef) then
  3745. FreeAndNil(FUrlRef);
  3746. inherited FreeObjectProperties();
  3747. end;
  3748. function GExpression.wstHas_Binary() : Boolean;
  3749. begin
  3750. Result := ( FBinary <> nil );
  3751. end;
  3752. function GExpression.wstHas_Bool() : Boolean;
  3753. begin
  3754. Result := ( FBool <> nil );
  3755. end;
  3756. function GExpression.wstHas_Date() : Boolean;
  3757. begin
  3758. Result := ( FDate <> nil );
  3759. end;
  3760. function GExpression.wstHas_DateTimeOffset() : Boolean;
  3761. begin
  3762. Result := ( FDateTimeOffset <> nil );
  3763. end;
  3764. function GExpression.wstHas_Decimal() : Boolean;
  3765. begin
  3766. Result := ( FDecimal <> nil );
  3767. end;
  3768. function GExpression.wstHas_Duration() : Boolean;
  3769. begin
  3770. Result := ( FDuration <> nil );
  3771. end;
  3772. function GExpression.wstHas_EnumMember() : Boolean;
  3773. begin
  3774. Result := ( FEnumMember <> '' );
  3775. end;
  3776. function GExpression.wstHas_Float() : Boolean;
  3777. begin
  3778. Result := ( FFloat <> nil );
  3779. end;
  3780. function GExpression.wstHas_Guid() : Boolean;
  3781. begin
  3782. Result := ( FGuid <> nil );
  3783. end;
  3784. function GExpression.wstHas_Int() : Boolean;
  3785. begin
  3786. Result := ( FInt <> nil );
  3787. end;
  3788. function GExpression.wstHas__String() : Boolean;
  3789. begin
  3790. Result := ( F_String <> nil );
  3791. end;
  3792. function GExpression.wstHas_TimeOfDay() : Boolean;
  3793. begin
  3794. Result := ( FTimeOfDay <> nil );
  3795. end;
  3796. function GExpression.wstHas_AnnotationPath() : Boolean;
  3797. begin
  3798. Result := ( FAnnotationPath <> nil );
  3799. end;
  3800. function GExpression.wstHas_Apply() : Boolean;
  3801. begin
  3802. Result := ( FApply <> nil );
  3803. end;
  3804. function GExpression.wstHas_Cast() : Boolean;
  3805. begin
  3806. Result := ( FCast <> nil );
  3807. end;
  3808. function GExpression.wstHas_Collection() : Boolean;
  3809. begin
  3810. Result := ( FCollection <> nil );
  3811. end;
  3812. function GExpression.wstHas__If() : Boolean;
  3813. begin
  3814. Result := ( F_If <> nil );
  3815. end;
  3816. function GExpression.wstHas_Eq() : Boolean;
  3817. begin
  3818. Result := ( FEq <> nil );
  3819. end;
  3820. function GExpression.wstHas_Ne() : Boolean;
  3821. begin
  3822. Result := ( FNe <> nil );
  3823. end;
  3824. function GExpression.wstHas_Ge() : Boolean;
  3825. begin
  3826. Result := ( FGe <> nil );
  3827. end;
  3828. function GExpression.wstHas_Gt() : Boolean;
  3829. begin
  3830. Result := ( FGt <> nil );
  3831. end;
  3832. function GExpression.wstHas_Le() : Boolean;
  3833. begin
  3834. Result := ( FLe <> nil );
  3835. end;
  3836. function GExpression.wstHas_Lt() : Boolean;
  3837. begin
  3838. Result := ( FLt <> nil );
  3839. end;
  3840. function GExpression.wstHas__And() : Boolean;
  3841. begin
  3842. Result := ( F_And <> nil );
  3843. end;
  3844. function GExpression.wstHas__Or() : Boolean;
  3845. begin
  3846. Result := ( F_Or <> nil );
  3847. end;
  3848. function GExpression.wstHas__Not() : Boolean;
  3849. begin
  3850. Result := ( F_Not <> nil );
  3851. end;
  3852. function GExpression.wstHas_IsOf() : Boolean;
  3853. begin
  3854. Result := ( FIsOf <> nil );
  3855. end;
  3856. function GExpression.wstHas_LabeledElement() : Boolean;
  3857. begin
  3858. Result := ( FLabeledElement <> nil );
  3859. end;
  3860. function GExpression.wstHas_LabeledElementReference() : Boolean;
  3861. begin
  3862. Result := ( FLabeledElementReference <> nil );
  3863. end;
  3864. function GExpression.wstHas_Null() : Boolean;
  3865. begin
  3866. Result := ( FNull <> TNullExpression(0) );
  3867. end;
  3868. function GExpression.wstHas_NavigationPropertyPath() : Boolean;
  3869. begin
  3870. Result := ( FNavigationPropertyPath <> nil );
  3871. end;
  3872. function GExpression.wstHas_Path() : Boolean;
  3873. begin
  3874. Result := ( FPath <> nil );
  3875. end;
  3876. function GExpression.wstHas_PropertyPath() : Boolean;
  3877. begin
  3878. Result := ( FPropertyPath <> nil );
  3879. end;
  3880. function GExpression.wstHas__Record() : Boolean;
  3881. begin
  3882. Result := ( F_Record <> nil );
  3883. end;
  3884. function GExpression.wstHas_UrlRef() : Boolean;
  3885. begin
  3886. Result := ( FUrlRef <> nil );
  3887. end;
  3888. { GInlineExpressions }
  3889. constructor GInlineExpressions.Create();
  3890. begin
  3891. inherited Create();
  3892. FDate := TDateRemotable.Create();
  3893. FDateTimeOffset := dateTimeStamp.Create();
  3894. FDuration := dayTimeDuration.Create();
  3895. FTimeOfDay := TTimeRemotable.Create();
  3896. end;
  3897. procedure GInlineExpressions.FreeObjectProperties();
  3898. begin
  3899. if Assigned(FDate) then
  3900. FreeAndNil(FDate);
  3901. if Assigned(FDateTimeOffset) then
  3902. FreeAndNil(FDateTimeOffset);
  3903. if Assigned(FDuration) then
  3904. FreeAndNil(FDuration);
  3905. if Assigned(FTimeOfDay) then
  3906. FreeAndNil(FTimeOfDay);
  3907. inherited FreeObjectProperties();
  3908. end;
  3909. function GInlineExpressions.wstHas_Binary() : Boolean;
  3910. begin
  3911. Result := ( FBinary <> '' );
  3912. end;
  3913. function GInlineExpressions.wstHas_Bool() : Boolean;
  3914. begin
  3915. Result := ( FBool <> boolean(0) );
  3916. end;
  3917. function GInlineExpressions.wstHas_Date() : Boolean;
  3918. begin
  3919. Result := ( FDate <> nil );
  3920. end;
  3921. function GInlineExpressions.wstHas_DateTimeOffset() : Boolean;
  3922. begin
  3923. Result := ( FDateTimeOffset <> nil );
  3924. end;
  3925. function GInlineExpressions.wstHas_Decimal() : Boolean;
  3926. begin
  3927. Result := ( FDecimal <> 0 );
  3928. end;
  3929. function GInlineExpressions.wstHas_Duration() : Boolean;
  3930. begin
  3931. Result := ( FDuration <> nil );
  3932. end;
  3933. function GInlineExpressions.wstHas_EnumMember() : Boolean;
  3934. begin
  3935. Result := ( FEnumMember <> '' );
  3936. end;
  3937. function GInlineExpressions.wstHas_Float() : Boolean;
  3938. begin
  3939. Result := ( FFloat <> 0 );
  3940. end;
  3941. function GInlineExpressions.wstHas_Guid() : Boolean;
  3942. begin
  3943. Result := ( FGuid <> '' );
  3944. end;
  3945. function GInlineExpressions.wstHas_Int() : Boolean;
  3946. begin
  3947. Result := ( FInt <> integer(0) );
  3948. end;
  3949. function GInlineExpressions.wstHas__String() : Boolean;
  3950. begin
  3951. Result := ( F_String <> '' );
  3952. end;
  3953. function GInlineExpressions.wstHas_TimeOfDay() : Boolean;
  3954. begin
  3955. Result := ( FTimeOfDay <> nil );
  3956. end;
  3957. function GInlineExpressions.wstHas_AnnotationPath() : Boolean;
  3958. begin
  3959. Result := ( FAnnotationPath <> '' );
  3960. end;
  3961. function GInlineExpressions.wstHas_NavigationPropertyPath() : Boolean;
  3962. begin
  3963. Result := ( FNavigationPropertyPath <> '' );
  3964. end;
  3965. function GInlineExpressions.wstHas_Path() : Boolean;
  3966. begin
  3967. Result := ( FPath <> '' );
  3968. end;
  3969. function GInlineExpressions.wstHas_PropertyPath() : Boolean;
  3970. begin
  3971. Result := ( FPropertyPath <> '' );
  3972. end;
  3973. function GInlineExpressions.wstHas_UrlRef() : Boolean;
  3974. begin
  3975. Result := ( FUrlRef <> '' );
  3976. end;
  3977. { Annotation_Type }
  3978. constructor Annotation_Type.Create();
  3979. begin
  3980. inherited Create();
  3981. FAnnotation := Annotation_AnnotationArray.Create();
  3982. FNull := TNullExpression.Create();
  3983. FDateAtt := TDateRemotable.Create();
  3984. FDateTimeOffsetAtt := dateTimeStamp.Create();
  3985. FDurationAtt := dayTimeDuration.Create();
  3986. FTimeOfDayAtt := TTimeRemotable.Create();
  3987. end;
  3988. procedure Annotation_Type.FreeObjectProperties();
  3989. begin
  3990. if Assigned(FAnnotation) then
  3991. FreeAndNil(FAnnotation);
  3992. if Assigned(FBinary) then
  3993. FreeAndNil(FBinary);
  3994. if Assigned(FBool) then
  3995. FreeAndNil(FBool);
  3996. if Assigned(FDate) then
  3997. FreeAndNil(FDate);
  3998. if Assigned(FDateTimeOffset) then
  3999. FreeAndNil(FDateTimeOffset);
  4000. if Assigned(FDecimal) then
  4001. FreeAndNil(FDecimal);
  4002. if Assigned(FDuration) then
  4003. FreeAndNil(FDuration);
  4004. if Assigned(FFloat) then
  4005. FreeAndNil(FFloat);
  4006. if Assigned(FGuid) then
  4007. FreeAndNil(FGuid);
  4008. if Assigned(FInt) then
  4009. FreeAndNil(FInt);
  4010. if Assigned(F_String) then
  4011. FreeAndNil(F_String);
  4012. if Assigned(FTimeOfDay) then
  4013. FreeAndNil(FTimeOfDay);
  4014. if Assigned(FAnnotationPath) then
  4015. FreeAndNil(FAnnotationPath);
  4016. if Assigned(FApply) then
  4017. FreeAndNil(FApply);
  4018. if Assigned(FCast) then
  4019. FreeAndNil(FCast);
  4020. if Assigned(FCollection) then
  4021. FreeAndNil(FCollection);
  4022. if Assigned(F_If) then
  4023. FreeAndNil(F_If);
  4024. if Assigned(FEq) then
  4025. FreeAndNil(FEq);
  4026. if Assigned(FNe) then
  4027. FreeAndNil(FNe);
  4028. if Assigned(FGe) then
  4029. FreeAndNil(FGe);
  4030. if Assigned(FGt) then
  4031. FreeAndNil(FGt);
  4032. if Assigned(FLe) then
  4033. FreeAndNil(FLe);
  4034. if Assigned(FLt) then
  4035. FreeAndNil(FLt);
  4036. if Assigned(F_And) then
  4037. FreeAndNil(F_And);
  4038. if Assigned(F_Or) then
  4039. FreeAndNil(F_Or);
  4040. if Assigned(F_Not) then
  4041. FreeAndNil(F_Not);
  4042. if Assigned(FIsOf) then
  4043. FreeAndNil(FIsOf);
  4044. if Assigned(FLabeledElement) then
  4045. FreeAndNil(FLabeledElement);
  4046. if Assigned(FLabeledElementReference) then
  4047. FreeAndNil(FLabeledElementReference);
  4048. if Assigned(FNull) then
  4049. FreeAndNil(FNull);
  4050. if Assigned(FNavigationPropertyPath) then
  4051. FreeAndNil(FNavigationPropertyPath);
  4052. if Assigned(FPath) then
  4053. FreeAndNil(FPath);
  4054. if Assigned(FPropertyPath) then
  4055. FreeAndNil(FPropertyPath);
  4056. if Assigned(F_Record) then
  4057. FreeAndNil(F_Record);
  4058. if Assigned(FUrlRef) then
  4059. FreeAndNil(FUrlRef);
  4060. if Assigned(FDateAtt) then
  4061. FreeAndNil(FDateAtt);
  4062. if Assigned(FDateTimeOffsetAtt) then
  4063. FreeAndNil(FDateTimeOffsetAtt);
  4064. if Assigned(FDurationAtt) then
  4065. FreeAndNil(FDurationAtt);
  4066. if Assigned(FTimeOfDayAtt) then
  4067. FreeAndNil(FTimeOfDayAtt);
  4068. inherited FreeObjectProperties();
  4069. end;
  4070. function Annotation_Type.wstHas_Annotation() : Boolean;
  4071. begin
  4072. Result := ( FAnnotation <> Annotation_AnnotationArray(0) );
  4073. end;
  4074. function Annotation_Type.wstHas_Qualifier() : Boolean;
  4075. begin
  4076. Result := ( FQualifier <> '' );
  4077. end;
  4078. function Annotation_Type.wstHas_Binary() : Boolean;
  4079. begin
  4080. Result := ( FBinary <> nil );
  4081. end;
  4082. function Annotation_Type.wstHas_Bool() : Boolean;
  4083. begin
  4084. Result := ( FBool <> nil );
  4085. end;
  4086. function Annotation_Type.wstHas_Date() : Boolean;
  4087. begin
  4088. Result := ( FDate <> nil );
  4089. end;
  4090. function Annotation_Type.wstHas_DateTimeOffset() : Boolean;
  4091. begin
  4092. Result := ( FDateTimeOffset <> nil );
  4093. end;
  4094. function Annotation_Type.wstHas_Decimal() : Boolean;
  4095. begin
  4096. Result := ( FDecimal <> nil );
  4097. end;
  4098. function Annotation_Type.wstHas_Duration() : Boolean;
  4099. begin
  4100. Result := ( FDuration <> nil );
  4101. end;
  4102. function Annotation_Type.wstHas_EnumMember() : Boolean;
  4103. begin
  4104. Result := ( FEnumMember <> '' );
  4105. end;
  4106. function Annotation_Type.wstHas_Float() : Boolean;
  4107. begin
  4108. Result := ( FFloat <> nil );
  4109. end;
  4110. function Annotation_Type.wstHas_Guid() : Boolean;
  4111. begin
  4112. Result := ( FGuid <> nil );
  4113. end;
  4114. function Annotation_Type.wstHas_Int() : Boolean;
  4115. begin
  4116. Result := ( FInt <> nil );
  4117. end;
  4118. function Annotation_Type.wstHas__String() : Boolean;
  4119. begin
  4120. Result := ( F_String <> nil );
  4121. end;
  4122. function Annotation_Type.wstHas_TimeOfDay() : Boolean;
  4123. begin
  4124. Result := ( FTimeOfDay <> nil );
  4125. end;
  4126. function Annotation_Type.wstHas_AnnotationPath() : Boolean;
  4127. begin
  4128. Result := ( FAnnotationPath <> nil );
  4129. end;
  4130. function Annotation_Type.wstHas_Apply() : Boolean;
  4131. begin
  4132. Result := ( FApply <> nil );
  4133. end;
  4134. function Annotation_Type.wstHas_Cast() : Boolean;
  4135. begin
  4136. Result := ( FCast <> nil );
  4137. end;
  4138. function Annotation_Type.wstHas_Collection() : Boolean;
  4139. begin
  4140. Result := ( FCollection <> nil );
  4141. end;
  4142. function Annotation_Type.wstHas__If() : Boolean;
  4143. begin
  4144. Result := ( F_If <> nil );
  4145. end;
  4146. function Annotation_Type.wstHas_Eq() : Boolean;
  4147. begin
  4148. Result := ( FEq <> nil );
  4149. end;
  4150. function Annotation_Type.wstHas_Ne() : Boolean;
  4151. begin
  4152. Result := ( FNe <> nil );
  4153. end;
  4154. function Annotation_Type.wstHas_Ge() : Boolean;
  4155. begin
  4156. Result := ( FGe <> nil );
  4157. end;
  4158. function Annotation_Type.wstHas_Gt() : Boolean;
  4159. begin
  4160. Result := ( FGt <> nil );
  4161. end;
  4162. function Annotation_Type.wstHas_Le() : Boolean;
  4163. begin
  4164. Result := ( FLe <> nil );
  4165. end;
  4166. function Annotation_Type.wstHas_Lt() : Boolean;
  4167. begin
  4168. Result := ( FLt <> nil );
  4169. end;
  4170. function Annotation_Type.wstHas__And() : Boolean;
  4171. begin
  4172. Result := ( F_And <> nil );
  4173. end;
  4174. function Annotation_Type.wstHas__Or() : Boolean;
  4175. begin
  4176. Result := ( F_Or <> nil );
  4177. end;
  4178. function Annotation_Type.wstHas__Not() : Boolean;
  4179. begin
  4180. Result := ( F_Not <> nil );
  4181. end;
  4182. function Annotation_Type.wstHas_IsOf() : Boolean;
  4183. begin
  4184. Result := ( FIsOf <> nil );
  4185. end;
  4186. function Annotation_Type.wstHas_LabeledElement() : Boolean;
  4187. begin
  4188. Result := ( FLabeledElement <> nil );
  4189. end;
  4190. function Annotation_Type.wstHas_LabeledElementReference() : Boolean;
  4191. begin
  4192. Result := ( FLabeledElementReference <> nil );
  4193. end;
  4194. function Annotation_Type.wstHas_Null() : Boolean;
  4195. begin
  4196. Result := ( FNull <> TNullExpression(0) );
  4197. end;
  4198. function Annotation_Type.wstHas_NavigationPropertyPath() : Boolean;
  4199. begin
  4200. Result := ( FNavigationPropertyPath <> nil );
  4201. end;
  4202. function Annotation_Type.wstHas_Path() : Boolean;
  4203. begin
  4204. Result := ( FPath <> nil );
  4205. end;
  4206. function Annotation_Type.wstHas_PropertyPath() : Boolean;
  4207. begin
  4208. Result := ( FPropertyPath <> nil );
  4209. end;
  4210. function Annotation_Type.wstHas__Record() : Boolean;
  4211. begin
  4212. Result := ( F_Record <> nil );
  4213. end;
  4214. function Annotation_Type.wstHas_UrlRef() : Boolean;
  4215. begin
  4216. Result := ( FUrlRef <> nil );
  4217. end;
  4218. function Annotation_Type.wstHas_BinaryAtt() : Boolean;
  4219. begin
  4220. Result := ( FBinaryAtt <> '' );
  4221. end;
  4222. function Annotation_Type.wstHas_BoolAtt() : Boolean;
  4223. begin
  4224. Result := ( FBoolAtt <> boolean(0) );
  4225. end;
  4226. function Annotation_Type.wstHas_DateAtt() : Boolean;
  4227. begin
  4228. Result := ( FDateAtt <> nil );
  4229. end;
  4230. function Annotation_Type.wstHas_DateTimeOffsetAtt() : Boolean;
  4231. begin
  4232. Result := ( FDateTimeOffsetAtt <> nil );
  4233. end;
  4234. function Annotation_Type.wstHas_DecimalAtt() : Boolean;
  4235. begin
  4236. Result := ( FDecimalAtt <> 0 );
  4237. end;
  4238. function Annotation_Type.wstHas_DurationAtt() : Boolean;
  4239. begin
  4240. Result := ( FDurationAtt <> nil );
  4241. end;
  4242. function Annotation_Type.wstHas_EnumMemberAtt() : Boolean;
  4243. begin
  4244. Result := ( FEnumMemberAtt <> '' );
  4245. end;
  4246. function Annotation_Type.wstHas_FloatAtt() : Boolean;
  4247. begin
  4248. Result := ( FFloatAtt <> 0 );
  4249. end;
  4250. function Annotation_Type.wstHas_GuidAtt() : Boolean;
  4251. begin
  4252. Result := ( FGuidAtt <> '' );
  4253. end;
  4254. function Annotation_Type.wstHas_IntAtt() : Boolean;
  4255. begin
  4256. Result := ( FIntAtt <> integer(0) );
  4257. end;
  4258. function Annotation_Type.wstHas__StringAtt() : Boolean;
  4259. begin
  4260. Result := ( F_StringAtt <> '' );
  4261. end;
  4262. function Annotation_Type.wstHas_TimeOfDayAtt() : Boolean;
  4263. begin
  4264. Result := ( FTimeOfDayAtt <> nil );
  4265. end;
  4266. function Annotation_Type.wstHas_AnnotationPathAtt() : Boolean;
  4267. begin
  4268. Result := ( FAnnotationPathAtt <> '' );
  4269. end;
  4270. function Annotation_Type.wstHas_NavigationPropertyPathAtt() : Boolean;
  4271. begin
  4272. Result := ( FNavigationPropertyPathAtt <> '' );
  4273. end;
  4274. function Annotation_Type.wstHas_PathAtt() : Boolean;
  4275. begin
  4276. Result := ( FPathAtt <> '' );
  4277. end;
  4278. function Annotation_Type.wstHas_PropertyPathAtt() : Boolean;
  4279. begin
  4280. Result := ( FPropertyPathAtt <> '' );
  4281. end;
  4282. function Annotation_Type.wstHas_UrlRefAtt() : Boolean;
  4283. begin
  4284. Result := ( FUrlRefAtt <> '' );
  4285. end;
  4286. { TApplyExpression }
  4287. constructor TApplyExpression.Create();
  4288. begin
  4289. inherited Create();
  4290. FAnnotation := TApplyExpression_AnnotationArray.Create();
  4291. FNull := TNullExpression.Create();
  4292. end;
  4293. procedure TApplyExpression.FreeObjectProperties();
  4294. begin
  4295. if Assigned(FAnnotation) then
  4296. FreeAndNil(FAnnotation);
  4297. if Assigned(FBinary) then
  4298. FreeAndNil(FBinary);
  4299. if Assigned(FBool) then
  4300. FreeAndNil(FBool);
  4301. if Assigned(FDate) then
  4302. FreeAndNil(FDate);
  4303. if Assigned(FDateTimeOffset) then
  4304. FreeAndNil(FDateTimeOffset);
  4305. if Assigned(FDecimal) then
  4306. FreeAndNil(FDecimal);
  4307. if Assigned(FDuration) then
  4308. FreeAndNil(FDuration);
  4309. if Assigned(FFloat) then
  4310. FreeAndNil(FFloat);
  4311. if Assigned(FGuid) then
  4312. FreeAndNil(FGuid);
  4313. if Assigned(FInt) then
  4314. FreeAndNil(FInt);
  4315. if Assigned(F_String) then
  4316. FreeAndNil(F_String);
  4317. if Assigned(FTimeOfDay) then
  4318. FreeAndNil(FTimeOfDay);
  4319. if Assigned(FAnnotationPath) then
  4320. FreeAndNil(FAnnotationPath);
  4321. if Assigned(FApply) then
  4322. FreeAndNil(FApply);
  4323. if Assigned(FCast) then
  4324. FreeAndNil(FCast);
  4325. if Assigned(FCollection) then
  4326. FreeAndNil(FCollection);
  4327. if Assigned(F_If) then
  4328. FreeAndNil(F_If);
  4329. if Assigned(FEq) then
  4330. FreeAndNil(FEq);
  4331. if Assigned(FNe) then
  4332. FreeAndNil(FNe);
  4333. if Assigned(FGe) then
  4334. FreeAndNil(FGe);
  4335. if Assigned(FGt) then
  4336. FreeAndNil(FGt);
  4337. if Assigned(FLe) then
  4338. FreeAndNil(FLe);
  4339. if Assigned(FLt) then
  4340. FreeAndNil(FLt);
  4341. if Assigned(F_And) then
  4342. FreeAndNil(F_And);
  4343. if Assigned(F_Or) then
  4344. FreeAndNil(F_Or);
  4345. if Assigned(F_Not) then
  4346. FreeAndNil(F_Not);
  4347. if Assigned(FIsOf) then
  4348. FreeAndNil(FIsOf);
  4349. if Assigned(FLabeledElement) then
  4350. FreeAndNil(FLabeledElement);
  4351. if Assigned(FLabeledElementReference) then
  4352. FreeAndNil(FLabeledElementReference);
  4353. if Assigned(FNull) then
  4354. FreeAndNil(FNull);
  4355. if Assigned(FNavigationPropertyPath) then
  4356. FreeAndNil(FNavigationPropertyPath);
  4357. if Assigned(FPath) then
  4358. FreeAndNil(FPath);
  4359. if Assigned(FPropertyPath) then
  4360. FreeAndNil(FPropertyPath);
  4361. if Assigned(F_Record) then
  4362. FreeAndNil(F_Record);
  4363. if Assigned(FUrlRef) then
  4364. FreeAndNil(FUrlRef);
  4365. inherited FreeObjectProperties();
  4366. end;
  4367. function TApplyExpression.wstHas_Annotation() : Boolean;
  4368. begin
  4369. Result := ( FAnnotation <> TApplyExpression_AnnotationArray(0) );
  4370. end;
  4371. function TApplyExpression.wstHas__Function() : Boolean;
  4372. begin
  4373. Result := ( F_Function <> '' );
  4374. end;
  4375. function TApplyExpression.wstHas_Binary() : Boolean;
  4376. begin
  4377. Result := ( FBinary <> nil );
  4378. end;
  4379. function TApplyExpression.wstHas_Bool() : Boolean;
  4380. begin
  4381. Result := ( FBool <> nil );
  4382. end;
  4383. function TApplyExpression.wstHas_Date() : Boolean;
  4384. begin
  4385. Result := ( FDate <> nil );
  4386. end;
  4387. function TApplyExpression.wstHas_DateTimeOffset() : Boolean;
  4388. begin
  4389. Result := ( FDateTimeOffset <> nil );
  4390. end;
  4391. function TApplyExpression.wstHas_Decimal() : Boolean;
  4392. begin
  4393. Result := ( FDecimal <> nil );
  4394. end;
  4395. function TApplyExpression.wstHas_Duration() : Boolean;
  4396. begin
  4397. Result := ( FDuration <> nil );
  4398. end;
  4399. function TApplyExpression.wstHas_EnumMember() : Boolean;
  4400. begin
  4401. Result := ( FEnumMember <> '' );
  4402. end;
  4403. function TApplyExpression.wstHas_Float() : Boolean;
  4404. begin
  4405. Result := ( FFloat <> nil );
  4406. end;
  4407. function TApplyExpression.wstHas_Guid() : Boolean;
  4408. begin
  4409. Result := ( FGuid <> nil );
  4410. end;
  4411. function TApplyExpression.wstHas_Int() : Boolean;
  4412. begin
  4413. Result := ( FInt <> nil );
  4414. end;
  4415. function TApplyExpression.wstHas__String() : Boolean;
  4416. begin
  4417. Result := ( F_String <> nil );
  4418. end;
  4419. function TApplyExpression.wstHas_TimeOfDay() : Boolean;
  4420. begin
  4421. Result := ( FTimeOfDay <> nil );
  4422. end;
  4423. function TApplyExpression.wstHas_AnnotationPath() : Boolean;
  4424. begin
  4425. Result := ( FAnnotationPath <> nil );
  4426. end;
  4427. function TApplyExpression.wstHas_Apply() : Boolean;
  4428. begin
  4429. Result := ( FApply <> nil );
  4430. end;
  4431. function TApplyExpression.wstHas_Cast() : Boolean;
  4432. begin
  4433. Result := ( FCast <> nil );
  4434. end;
  4435. function TApplyExpression.wstHas_Collection() : Boolean;
  4436. begin
  4437. Result := ( FCollection <> nil );
  4438. end;
  4439. function TApplyExpression.wstHas__If() : Boolean;
  4440. begin
  4441. Result := ( F_If <> nil );
  4442. end;
  4443. function TApplyExpression.wstHas_Eq() : Boolean;
  4444. begin
  4445. Result := ( FEq <> nil );
  4446. end;
  4447. function TApplyExpression.wstHas_Ne() : Boolean;
  4448. begin
  4449. Result := ( FNe <> nil );
  4450. end;
  4451. function TApplyExpression.wstHas_Ge() : Boolean;
  4452. begin
  4453. Result := ( FGe <> nil );
  4454. end;
  4455. function TApplyExpression.wstHas_Gt() : Boolean;
  4456. begin
  4457. Result := ( FGt <> nil );
  4458. end;
  4459. function TApplyExpression.wstHas_Le() : Boolean;
  4460. begin
  4461. Result := ( FLe <> nil );
  4462. end;
  4463. function TApplyExpression.wstHas_Lt() : Boolean;
  4464. begin
  4465. Result := ( FLt <> nil );
  4466. end;
  4467. function TApplyExpression.wstHas__And() : Boolean;
  4468. begin
  4469. Result := ( F_And <> nil );
  4470. end;
  4471. function TApplyExpression.wstHas__Or() : Boolean;
  4472. begin
  4473. Result := ( F_Or <> nil );
  4474. end;
  4475. function TApplyExpression.wstHas__Not() : Boolean;
  4476. begin
  4477. Result := ( F_Not <> nil );
  4478. end;
  4479. function TApplyExpression.wstHas_IsOf() : Boolean;
  4480. begin
  4481. Result := ( FIsOf <> nil );
  4482. end;
  4483. function TApplyExpression.wstHas_LabeledElement() : Boolean;
  4484. begin
  4485. Result := ( FLabeledElement <> nil );
  4486. end;
  4487. function TApplyExpression.wstHas_LabeledElementReference() : Boolean;
  4488. begin
  4489. Result := ( FLabeledElementReference <> nil );
  4490. end;
  4491. function TApplyExpression.wstHas_Null() : Boolean;
  4492. begin
  4493. Result := ( FNull <> TNullExpression(0) );
  4494. end;
  4495. function TApplyExpression.wstHas_NavigationPropertyPath() : Boolean;
  4496. begin
  4497. Result := ( FNavigationPropertyPath <> nil );
  4498. end;
  4499. function TApplyExpression.wstHas_Path() : Boolean;
  4500. begin
  4501. Result := ( FPath <> nil );
  4502. end;
  4503. function TApplyExpression.wstHas_PropertyPath() : Boolean;
  4504. begin
  4505. Result := ( FPropertyPath <> nil );
  4506. end;
  4507. function TApplyExpression.wstHas__Record() : Boolean;
  4508. begin
  4509. Result := ( F_Record <> nil );
  4510. end;
  4511. function TApplyExpression.wstHas_UrlRef() : Boolean;
  4512. begin
  4513. Result := ( FUrlRef <> nil );
  4514. end;
  4515. { TCastOrIsOfExpression }
  4516. constructor TCastOrIsOfExpression.Create();
  4517. begin
  4518. inherited Create();
  4519. FAnnotation := TCastOrIsOfExpression_AnnotationArray.Create();
  4520. FNull := TNullExpression.Create();
  4521. end;
  4522. procedure TCastOrIsOfExpression.FreeObjectProperties();
  4523. begin
  4524. if Assigned(FAnnotation) then
  4525. FreeAndNil(FAnnotation);
  4526. if Assigned(FBinary) then
  4527. FreeAndNil(FBinary);
  4528. if Assigned(FBool) then
  4529. FreeAndNil(FBool);
  4530. if Assigned(FDate) then
  4531. FreeAndNil(FDate);
  4532. if Assigned(FDateTimeOffset) then
  4533. FreeAndNil(FDateTimeOffset);
  4534. if Assigned(FDecimal) then
  4535. FreeAndNil(FDecimal);
  4536. if Assigned(FDuration) then
  4537. FreeAndNil(FDuration);
  4538. if Assigned(FFloat) then
  4539. FreeAndNil(FFloat);
  4540. if Assigned(FGuid) then
  4541. FreeAndNil(FGuid);
  4542. if Assigned(FInt) then
  4543. FreeAndNil(FInt);
  4544. if Assigned(F_String) then
  4545. FreeAndNil(F_String);
  4546. if Assigned(FTimeOfDay) then
  4547. FreeAndNil(FTimeOfDay);
  4548. if Assigned(FAnnotationPath) then
  4549. FreeAndNil(FAnnotationPath);
  4550. if Assigned(FApply) then
  4551. FreeAndNil(FApply);
  4552. if Assigned(FCast) then
  4553. FreeAndNil(FCast);
  4554. if Assigned(FCollection) then
  4555. FreeAndNil(FCollection);
  4556. if Assigned(F_If) then
  4557. FreeAndNil(F_If);
  4558. if Assigned(FEq) then
  4559. FreeAndNil(FEq);
  4560. if Assigned(FNe) then
  4561. FreeAndNil(FNe);
  4562. if Assigned(FGe) then
  4563. FreeAndNil(FGe);
  4564. if Assigned(FGt) then
  4565. FreeAndNil(FGt);
  4566. if Assigned(FLe) then
  4567. FreeAndNil(FLe);
  4568. if Assigned(FLt) then
  4569. FreeAndNil(FLt);
  4570. if Assigned(F_And) then
  4571. FreeAndNil(F_And);
  4572. if Assigned(F_Or) then
  4573. FreeAndNil(F_Or);
  4574. if Assigned(F_Not) then
  4575. FreeAndNil(F_Not);
  4576. if Assigned(FIsOf) then
  4577. FreeAndNil(FIsOf);
  4578. if Assigned(FLabeledElement) then
  4579. FreeAndNil(FLabeledElement);
  4580. if Assigned(FLabeledElementReference) then
  4581. FreeAndNil(FLabeledElementReference);
  4582. if Assigned(FNull) then
  4583. FreeAndNil(FNull);
  4584. if Assigned(FNavigationPropertyPath) then
  4585. FreeAndNil(FNavigationPropertyPath);
  4586. if Assigned(FPath) then
  4587. FreeAndNil(FPath);
  4588. if Assigned(FPropertyPath) then
  4589. FreeAndNil(FPropertyPath);
  4590. if Assigned(F_Record) then
  4591. FreeAndNil(F_Record);
  4592. if Assigned(FUrlRef) then
  4593. FreeAndNil(FUrlRef);
  4594. inherited FreeObjectProperties();
  4595. end;
  4596. function TCastOrIsOfExpression.wstHas_Annotation() : Boolean;
  4597. begin
  4598. Result := ( FAnnotation <> TCastOrIsOfExpression_AnnotationArray(0) );
  4599. end;
  4600. function TCastOrIsOfExpression.wstHas__Type() : Boolean;
  4601. begin
  4602. Result := ( F_Type <> '' );
  4603. end;
  4604. function TCastOrIsOfExpression.wstHas_Binary() : Boolean;
  4605. begin
  4606. Result := ( FBinary <> nil );
  4607. end;
  4608. function TCastOrIsOfExpression.wstHas_Bool() : Boolean;
  4609. begin
  4610. Result := ( FBool <> nil );
  4611. end;
  4612. function TCastOrIsOfExpression.wstHas_Date() : Boolean;
  4613. begin
  4614. Result := ( FDate <> nil );
  4615. end;
  4616. function TCastOrIsOfExpression.wstHas_DateTimeOffset() : Boolean;
  4617. begin
  4618. Result := ( FDateTimeOffset <> nil );
  4619. end;
  4620. function TCastOrIsOfExpression.wstHas_Decimal() : Boolean;
  4621. begin
  4622. Result := ( FDecimal <> nil );
  4623. end;
  4624. function TCastOrIsOfExpression.wstHas_Duration() : Boolean;
  4625. begin
  4626. Result := ( FDuration <> nil );
  4627. end;
  4628. function TCastOrIsOfExpression.wstHas_EnumMember() : Boolean;
  4629. begin
  4630. Result := ( FEnumMember <> '' );
  4631. end;
  4632. function TCastOrIsOfExpression.wstHas_Float() : Boolean;
  4633. begin
  4634. Result := ( FFloat <> nil );
  4635. end;
  4636. function TCastOrIsOfExpression.wstHas_Guid() : Boolean;
  4637. begin
  4638. Result := ( FGuid <> nil );
  4639. end;
  4640. function TCastOrIsOfExpression.wstHas_Int() : Boolean;
  4641. begin
  4642. Result := ( FInt <> nil );
  4643. end;
  4644. function TCastOrIsOfExpression.wstHas__String() : Boolean;
  4645. begin
  4646. Result := ( F_String <> nil );
  4647. end;
  4648. function TCastOrIsOfExpression.wstHas_TimeOfDay() : Boolean;
  4649. begin
  4650. Result := ( FTimeOfDay <> nil );
  4651. end;
  4652. function TCastOrIsOfExpression.wstHas_AnnotationPath() : Boolean;
  4653. begin
  4654. Result := ( FAnnotationPath <> nil );
  4655. end;
  4656. function TCastOrIsOfExpression.wstHas_Apply() : Boolean;
  4657. begin
  4658. Result := ( FApply <> nil );
  4659. end;
  4660. function TCastOrIsOfExpression.wstHas_Cast() : Boolean;
  4661. begin
  4662. Result := ( FCast <> nil );
  4663. end;
  4664. function TCastOrIsOfExpression.wstHas_Collection() : Boolean;
  4665. begin
  4666. Result := ( FCollection <> nil );
  4667. end;
  4668. function TCastOrIsOfExpression.wstHas__If() : Boolean;
  4669. begin
  4670. Result := ( F_If <> nil );
  4671. end;
  4672. function TCastOrIsOfExpression.wstHas_Eq() : Boolean;
  4673. begin
  4674. Result := ( FEq <> nil );
  4675. end;
  4676. function TCastOrIsOfExpression.wstHas_Ne() : Boolean;
  4677. begin
  4678. Result := ( FNe <> nil );
  4679. end;
  4680. function TCastOrIsOfExpression.wstHas_Ge() : Boolean;
  4681. begin
  4682. Result := ( FGe <> nil );
  4683. end;
  4684. function TCastOrIsOfExpression.wstHas_Gt() : Boolean;
  4685. begin
  4686. Result := ( FGt <> nil );
  4687. end;
  4688. function TCastOrIsOfExpression.wstHas_Le() : Boolean;
  4689. begin
  4690. Result := ( FLe <> nil );
  4691. end;
  4692. function TCastOrIsOfExpression.wstHas_Lt() : Boolean;
  4693. begin
  4694. Result := ( FLt <> nil );
  4695. end;
  4696. function TCastOrIsOfExpression.wstHas__And() : Boolean;
  4697. begin
  4698. Result := ( F_And <> nil );
  4699. end;
  4700. function TCastOrIsOfExpression.wstHas__Or() : Boolean;
  4701. begin
  4702. Result := ( F_Or <> nil );
  4703. end;
  4704. function TCastOrIsOfExpression.wstHas__Not() : Boolean;
  4705. begin
  4706. Result := ( F_Not <> nil );
  4707. end;
  4708. function TCastOrIsOfExpression.wstHas_IsOf() : Boolean;
  4709. begin
  4710. Result := ( FIsOf <> nil );
  4711. end;
  4712. function TCastOrIsOfExpression.wstHas_LabeledElement() : Boolean;
  4713. begin
  4714. Result := ( FLabeledElement <> nil );
  4715. end;
  4716. function TCastOrIsOfExpression.wstHas_LabeledElementReference() : Boolean;
  4717. begin
  4718. Result := ( FLabeledElementReference <> nil );
  4719. end;
  4720. function TCastOrIsOfExpression.wstHas_Null() : Boolean;
  4721. begin
  4722. Result := ( FNull <> TNullExpression(0) );
  4723. end;
  4724. function TCastOrIsOfExpression.wstHas_NavigationPropertyPath() : Boolean;
  4725. begin
  4726. Result := ( FNavigationPropertyPath <> nil );
  4727. end;
  4728. function TCastOrIsOfExpression.wstHas_Path() : Boolean;
  4729. begin
  4730. Result := ( FPath <> nil );
  4731. end;
  4732. function TCastOrIsOfExpression.wstHas_PropertyPath() : Boolean;
  4733. begin
  4734. Result := ( FPropertyPath <> nil );
  4735. end;
  4736. function TCastOrIsOfExpression.wstHas__Record() : Boolean;
  4737. begin
  4738. Result := ( F_Record <> nil );
  4739. end;
  4740. function TCastOrIsOfExpression.wstHas_UrlRef() : Boolean;
  4741. begin
  4742. Result := ( FUrlRef <> nil );
  4743. end;
  4744. function TCastOrIsOfExpression.wstHas_MaxLength() : Boolean;
  4745. begin
  4746. Result := ( FMaxLength <> '' );
  4747. end;
  4748. function TCastOrIsOfExpression.wstHas_Precision() : Boolean;
  4749. begin
  4750. Result := ( FPrecision <> TPrecisionFacet(0) );
  4751. end;
  4752. function TCastOrIsOfExpression.wstHas_Scale() : Boolean;
  4753. begin
  4754. Result := ( FScale <> '' );
  4755. end;
  4756. function TCastOrIsOfExpression.wstHas_SRID() : Boolean;
  4757. begin
  4758. Result := ( FSRID <> '' );
  4759. end;
  4760. { TCollectionExpression }
  4761. constructor TCollectionExpression.Create();
  4762. begin
  4763. inherited Create();
  4764. FNull := TNullExpression.Create();
  4765. end;
  4766. procedure TCollectionExpression.FreeObjectProperties();
  4767. begin
  4768. if Assigned(FBinary) then
  4769. FreeAndNil(FBinary);
  4770. if Assigned(FBool) then
  4771. FreeAndNil(FBool);
  4772. if Assigned(FDate) then
  4773. FreeAndNil(FDate);
  4774. if Assigned(FDateTimeOffset) then
  4775. FreeAndNil(FDateTimeOffset);
  4776. if Assigned(FDecimal) then
  4777. FreeAndNil(FDecimal);
  4778. if Assigned(FDuration) then
  4779. FreeAndNil(FDuration);
  4780. if Assigned(FFloat) then
  4781. FreeAndNil(FFloat);
  4782. if Assigned(FGuid) then
  4783. FreeAndNil(FGuid);
  4784. if Assigned(FInt) then
  4785. FreeAndNil(FInt);
  4786. if Assigned(F_String) then
  4787. FreeAndNil(F_String);
  4788. if Assigned(FTimeOfDay) then
  4789. FreeAndNil(FTimeOfDay);
  4790. if Assigned(FAnnotationPath) then
  4791. FreeAndNil(FAnnotationPath);
  4792. if Assigned(FApply) then
  4793. FreeAndNil(FApply);
  4794. if Assigned(FCast) then
  4795. FreeAndNil(FCast);
  4796. if Assigned(FCollection) then
  4797. FreeAndNil(FCollection);
  4798. if Assigned(F_If) then
  4799. FreeAndNil(F_If);
  4800. if Assigned(FEq) then
  4801. FreeAndNil(FEq);
  4802. if Assigned(FNe) then
  4803. FreeAndNil(FNe);
  4804. if Assigned(FGe) then
  4805. FreeAndNil(FGe);
  4806. if Assigned(FGt) then
  4807. FreeAndNil(FGt);
  4808. if Assigned(FLe) then
  4809. FreeAndNil(FLe);
  4810. if Assigned(FLt) then
  4811. FreeAndNil(FLt);
  4812. if Assigned(F_And) then
  4813. FreeAndNil(F_And);
  4814. if Assigned(F_Or) then
  4815. FreeAndNil(F_Or);
  4816. if Assigned(F_Not) then
  4817. FreeAndNil(F_Not);
  4818. if Assigned(FIsOf) then
  4819. FreeAndNil(FIsOf);
  4820. if Assigned(FLabeledElement) then
  4821. FreeAndNil(FLabeledElement);
  4822. if Assigned(FLabeledElementReference) then
  4823. FreeAndNil(FLabeledElementReference);
  4824. if Assigned(FNull) then
  4825. FreeAndNil(FNull);
  4826. if Assigned(FNavigationPropertyPath) then
  4827. FreeAndNil(FNavigationPropertyPath);
  4828. if Assigned(FPath) then
  4829. FreeAndNil(FPath);
  4830. if Assigned(FPropertyPath) then
  4831. FreeAndNil(FPropertyPath);
  4832. if Assigned(F_Record) then
  4833. FreeAndNil(F_Record);
  4834. if Assigned(FUrlRef) then
  4835. FreeAndNil(FUrlRef);
  4836. inherited FreeObjectProperties();
  4837. end;
  4838. function TCollectionExpression.wstHas_Binary() : Boolean;
  4839. begin
  4840. Result := ( FBinary <> nil );
  4841. end;
  4842. function TCollectionExpression.wstHas_Bool() : Boolean;
  4843. begin
  4844. Result := ( FBool <> nil );
  4845. end;
  4846. function TCollectionExpression.wstHas_Date() : Boolean;
  4847. begin
  4848. Result := ( FDate <> nil );
  4849. end;
  4850. function TCollectionExpression.wstHas_DateTimeOffset() : Boolean;
  4851. begin
  4852. Result := ( FDateTimeOffset <> nil );
  4853. end;
  4854. function TCollectionExpression.wstHas_Decimal() : Boolean;
  4855. begin
  4856. Result := ( FDecimal <> nil );
  4857. end;
  4858. function TCollectionExpression.wstHas_Duration() : Boolean;
  4859. begin
  4860. Result := ( FDuration <> nil );
  4861. end;
  4862. function TCollectionExpression.wstHas_EnumMember() : Boolean;
  4863. begin
  4864. Result := ( FEnumMember <> '' );
  4865. end;
  4866. function TCollectionExpression.wstHas_Float() : Boolean;
  4867. begin
  4868. Result := ( FFloat <> nil );
  4869. end;
  4870. function TCollectionExpression.wstHas_Guid() : Boolean;
  4871. begin
  4872. Result := ( FGuid <> nil );
  4873. end;
  4874. function TCollectionExpression.wstHas_Int() : Boolean;
  4875. begin
  4876. Result := ( FInt <> nil );
  4877. end;
  4878. function TCollectionExpression.wstHas__String() : Boolean;
  4879. begin
  4880. Result := ( F_String <> nil );
  4881. end;
  4882. function TCollectionExpression.wstHas_TimeOfDay() : Boolean;
  4883. begin
  4884. Result := ( FTimeOfDay <> nil );
  4885. end;
  4886. function TCollectionExpression.wstHas_AnnotationPath() : Boolean;
  4887. begin
  4888. Result := ( FAnnotationPath <> nil );
  4889. end;
  4890. function TCollectionExpression.wstHas_Apply() : Boolean;
  4891. begin
  4892. Result := ( FApply <> nil );
  4893. end;
  4894. function TCollectionExpression.wstHas_Cast() : Boolean;
  4895. begin
  4896. Result := ( FCast <> nil );
  4897. end;
  4898. function TCollectionExpression.wstHas_Collection() : Boolean;
  4899. begin
  4900. Result := ( FCollection <> nil );
  4901. end;
  4902. function TCollectionExpression.wstHas__If() : Boolean;
  4903. begin
  4904. Result := ( F_If <> nil );
  4905. end;
  4906. function TCollectionExpression.wstHas_Eq() : Boolean;
  4907. begin
  4908. Result := ( FEq <> nil );
  4909. end;
  4910. function TCollectionExpression.wstHas_Ne() : Boolean;
  4911. begin
  4912. Result := ( FNe <> nil );
  4913. end;
  4914. function TCollectionExpression.wstHas_Ge() : Boolean;
  4915. begin
  4916. Result := ( FGe <> nil );
  4917. end;
  4918. function TCollectionExpression.wstHas_Gt() : Boolean;
  4919. begin
  4920. Result := ( FGt <> nil );
  4921. end;
  4922. function TCollectionExpression.wstHas_Le() : Boolean;
  4923. begin
  4924. Result := ( FLe <> nil );
  4925. end;
  4926. function TCollectionExpression.wstHas_Lt() : Boolean;
  4927. begin
  4928. Result := ( FLt <> nil );
  4929. end;
  4930. function TCollectionExpression.wstHas__And() : Boolean;
  4931. begin
  4932. Result := ( F_And <> nil );
  4933. end;
  4934. function TCollectionExpression.wstHas__Or() : Boolean;
  4935. begin
  4936. Result := ( F_Or <> nil );
  4937. end;
  4938. function TCollectionExpression.wstHas__Not() : Boolean;
  4939. begin
  4940. Result := ( F_Not <> nil );
  4941. end;
  4942. function TCollectionExpression.wstHas_IsOf() : Boolean;
  4943. begin
  4944. Result := ( FIsOf <> nil );
  4945. end;
  4946. function TCollectionExpression.wstHas_LabeledElement() : Boolean;
  4947. begin
  4948. Result := ( FLabeledElement <> nil );
  4949. end;
  4950. function TCollectionExpression.wstHas_LabeledElementReference() : Boolean;
  4951. begin
  4952. Result := ( FLabeledElementReference <> nil );
  4953. end;
  4954. function TCollectionExpression.wstHas_Null() : Boolean;
  4955. begin
  4956. Result := ( FNull <> TNullExpression(0) );
  4957. end;
  4958. function TCollectionExpression.wstHas_NavigationPropertyPath() : Boolean;
  4959. begin
  4960. Result := ( FNavigationPropertyPath <> nil );
  4961. end;
  4962. function TCollectionExpression.wstHas_Path() : Boolean;
  4963. begin
  4964. Result := ( FPath <> nil );
  4965. end;
  4966. function TCollectionExpression.wstHas_PropertyPath() : Boolean;
  4967. begin
  4968. Result := ( FPropertyPath <> nil );
  4969. end;
  4970. function TCollectionExpression.wstHas__Record() : Boolean;
  4971. begin
  4972. Result := ( F_Record <> nil );
  4973. end;
  4974. function TCollectionExpression.wstHas_UrlRef() : Boolean;
  4975. begin
  4976. Result := ( FUrlRef <> nil );
  4977. end;
  4978. { TIfExpression }
  4979. constructor TIfExpression.Create();
  4980. begin
  4981. inherited Create();
  4982. FAnnotation := TIfExpression_AnnotationArray.Create();
  4983. FNull := TNullExpression.Create();
  4984. end;
  4985. procedure TIfExpression.FreeObjectProperties();
  4986. begin
  4987. if Assigned(FAnnotation) then
  4988. FreeAndNil(FAnnotation);
  4989. if Assigned(FBinary) then
  4990. FreeAndNil(FBinary);
  4991. if Assigned(FBool) then
  4992. FreeAndNil(FBool);
  4993. if Assigned(FDate) then
  4994. FreeAndNil(FDate);
  4995. if Assigned(FDateTimeOffset) then
  4996. FreeAndNil(FDateTimeOffset);
  4997. if Assigned(FDecimal) then
  4998. FreeAndNil(FDecimal);
  4999. if Assigned(FDuration) then
  5000. FreeAndNil(FDuration);
  5001. if Assigned(FFloat) then
  5002. FreeAndNil(FFloat);
  5003. if Assigned(FGuid) then
  5004. FreeAndNil(FGuid);
  5005. if Assigned(FInt) then
  5006. FreeAndNil(FInt);
  5007. if Assigned(F_String) then
  5008. FreeAndNil(F_String);
  5009. if Assigned(FTimeOfDay) then
  5010. FreeAndNil(FTimeOfDay);
  5011. if Assigned(FAnnotationPath) then
  5012. FreeAndNil(FAnnotationPath);
  5013. if Assigned(FApply) then
  5014. FreeAndNil(FApply);
  5015. if Assigned(FCast) then
  5016. FreeAndNil(FCast);
  5017. if Assigned(FCollection) then
  5018. FreeAndNil(FCollection);
  5019. if Assigned(F_If) then
  5020. FreeAndNil(F_If);
  5021. if Assigned(FEq) then
  5022. FreeAndNil(FEq);
  5023. if Assigned(FNe) then
  5024. FreeAndNil(FNe);
  5025. if Assigned(FGe) then
  5026. FreeAndNil(FGe);
  5027. if Assigned(FGt) then
  5028. FreeAndNil(FGt);
  5029. if Assigned(FLe) then
  5030. FreeAndNil(FLe);
  5031. if Assigned(FLt) then
  5032. FreeAndNil(FLt);
  5033. if Assigned(F_And) then
  5034. FreeAndNil(F_And);
  5035. if Assigned(F_Or) then
  5036. FreeAndNil(F_Or);
  5037. if Assigned(F_Not) then
  5038. FreeAndNil(F_Not);
  5039. if Assigned(FIsOf) then
  5040. FreeAndNil(FIsOf);
  5041. if Assigned(FLabeledElement) then
  5042. FreeAndNil(FLabeledElement);
  5043. if Assigned(FLabeledElementReference) then
  5044. FreeAndNil(FLabeledElementReference);
  5045. if Assigned(FNull) then
  5046. FreeAndNil(FNull);
  5047. if Assigned(FNavigationPropertyPath) then
  5048. FreeAndNil(FNavigationPropertyPath);
  5049. if Assigned(FPath) then
  5050. FreeAndNil(FPath);
  5051. if Assigned(FPropertyPath) then
  5052. FreeAndNil(FPropertyPath);
  5053. if Assigned(F_Record) then
  5054. FreeAndNil(F_Record);
  5055. if Assigned(FUrlRef) then
  5056. FreeAndNil(FUrlRef);
  5057. inherited FreeObjectProperties();
  5058. end;
  5059. function TIfExpression.wstHas_Annotation() : Boolean;
  5060. begin
  5061. Result := ( FAnnotation <> TIfExpression_AnnotationArray(0) );
  5062. end;
  5063. function TIfExpression.wstHas_Binary() : Boolean;
  5064. begin
  5065. Result := ( FBinary <> nil );
  5066. end;
  5067. function TIfExpression.wstHas_Bool() : Boolean;
  5068. begin
  5069. Result := ( FBool <> nil );
  5070. end;
  5071. function TIfExpression.wstHas_Date() : Boolean;
  5072. begin
  5073. Result := ( FDate <> nil );
  5074. end;
  5075. function TIfExpression.wstHas_DateTimeOffset() : Boolean;
  5076. begin
  5077. Result := ( FDateTimeOffset <> nil );
  5078. end;
  5079. function TIfExpression.wstHas_Decimal() : Boolean;
  5080. begin
  5081. Result := ( FDecimal <> nil );
  5082. end;
  5083. function TIfExpression.wstHas_Duration() : Boolean;
  5084. begin
  5085. Result := ( FDuration <> nil );
  5086. end;
  5087. function TIfExpression.wstHas_EnumMember() : Boolean;
  5088. begin
  5089. Result := ( FEnumMember <> '' );
  5090. end;
  5091. function TIfExpression.wstHas_Float() : Boolean;
  5092. begin
  5093. Result := ( FFloat <> nil );
  5094. end;
  5095. function TIfExpression.wstHas_Guid() : Boolean;
  5096. begin
  5097. Result := ( FGuid <> nil );
  5098. end;
  5099. function TIfExpression.wstHas_Int() : Boolean;
  5100. begin
  5101. Result := ( FInt <> nil );
  5102. end;
  5103. function TIfExpression.wstHas__String() : Boolean;
  5104. begin
  5105. Result := ( F_String <> nil );
  5106. end;
  5107. function TIfExpression.wstHas_TimeOfDay() : Boolean;
  5108. begin
  5109. Result := ( FTimeOfDay <> nil );
  5110. end;
  5111. function TIfExpression.wstHas_AnnotationPath() : Boolean;
  5112. begin
  5113. Result := ( FAnnotationPath <> nil );
  5114. end;
  5115. function TIfExpression.wstHas_Apply() : Boolean;
  5116. begin
  5117. Result := ( FApply <> nil );
  5118. end;
  5119. function TIfExpression.wstHas_Cast() : Boolean;
  5120. begin
  5121. Result := ( FCast <> nil );
  5122. end;
  5123. function TIfExpression.wstHas_Collection() : Boolean;
  5124. begin
  5125. Result := ( FCollection <> nil );
  5126. end;
  5127. function TIfExpression.wstHas__If() : Boolean;
  5128. begin
  5129. Result := ( F_If <> nil );
  5130. end;
  5131. function TIfExpression.wstHas_Eq() : Boolean;
  5132. begin
  5133. Result := ( FEq <> nil );
  5134. end;
  5135. function TIfExpression.wstHas_Ne() : Boolean;
  5136. begin
  5137. Result := ( FNe <> nil );
  5138. end;
  5139. function TIfExpression.wstHas_Ge() : Boolean;
  5140. begin
  5141. Result := ( FGe <> nil );
  5142. end;
  5143. function TIfExpression.wstHas_Gt() : Boolean;
  5144. begin
  5145. Result := ( FGt <> nil );
  5146. end;
  5147. function TIfExpression.wstHas_Le() : Boolean;
  5148. begin
  5149. Result := ( FLe <> nil );
  5150. end;
  5151. function TIfExpression.wstHas_Lt() : Boolean;
  5152. begin
  5153. Result := ( FLt <> nil );
  5154. end;
  5155. function TIfExpression.wstHas__And() : Boolean;
  5156. begin
  5157. Result := ( F_And <> nil );
  5158. end;
  5159. function TIfExpression.wstHas__Or() : Boolean;
  5160. begin
  5161. Result := ( F_Or <> nil );
  5162. end;
  5163. function TIfExpression.wstHas__Not() : Boolean;
  5164. begin
  5165. Result := ( F_Not <> nil );
  5166. end;
  5167. function TIfExpression.wstHas_IsOf() : Boolean;
  5168. begin
  5169. Result := ( FIsOf <> nil );
  5170. end;
  5171. function TIfExpression.wstHas_LabeledElement() : Boolean;
  5172. begin
  5173. Result := ( FLabeledElement <> nil );
  5174. end;
  5175. function TIfExpression.wstHas_LabeledElementReference() : Boolean;
  5176. begin
  5177. Result := ( FLabeledElementReference <> nil );
  5178. end;
  5179. function TIfExpression.wstHas_Null() : Boolean;
  5180. begin
  5181. Result := ( FNull <> TNullExpression(0) );
  5182. end;
  5183. function TIfExpression.wstHas_NavigationPropertyPath() : Boolean;
  5184. begin
  5185. Result := ( FNavigationPropertyPath <> nil );
  5186. end;
  5187. function TIfExpression.wstHas_Path() : Boolean;
  5188. begin
  5189. Result := ( FPath <> nil );
  5190. end;
  5191. function TIfExpression.wstHas_PropertyPath() : Boolean;
  5192. begin
  5193. Result := ( FPropertyPath <> nil );
  5194. end;
  5195. function TIfExpression.wstHas__Record() : Boolean;
  5196. begin
  5197. Result := ( F_Record <> nil );
  5198. end;
  5199. function TIfExpression.wstHas_UrlRef() : Boolean;
  5200. begin
  5201. Result := ( FUrlRef <> nil );
  5202. end;
  5203. { TOneChildExpression }
  5204. constructor TOneChildExpression.Create();
  5205. begin
  5206. inherited Create();
  5207. FAnnotation := TOneChildExpression_AnnotationArray.Create();
  5208. FNull := TNullExpression.Create();
  5209. end;
  5210. procedure TOneChildExpression.FreeObjectProperties();
  5211. begin
  5212. if Assigned(FAnnotation) then
  5213. FreeAndNil(FAnnotation);
  5214. if Assigned(FBinary) then
  5215. FreeAndNil(FBinary);
  5216. if Assigned(FBool) then
  5217. FreeAndNil(FBool);
  5218. if Assigned(FDate) then
  5219. FreeAndNil(FDate);
  5220. if Assigned(FDateTimeOffset) then
  5221. FreeAndNil(FDateTimeOffset);
  5222. if Assigned(FDecimal) then
  5223. FreeAndNil(FDecimal);
  5224. if Assigned(FDuration) then
  5225. FreeAndNil(FDuration);
  5226. if Assigned(FFloat) then
  5227. FreeAndNil(FFloat);
  5228. if Assigned(FGuid) then
  5229. FreeAndNil(FGuid);
  5230. if Assigned(FInt) then
  5231. FreeAndNil(FInt);
  5232. if Assigned(F_String) then
  5233. FreeAndNil(F_String);
  5234. if Assigned(FTimeOfDay) then
  5235. FreeAndNil(FTimeOfDay);
  5236. if Assigned(FAnnotationPath) then
  5237. FreeAndNil(FAnnotationPath);
  5238. if Assigned(FApply) then
  5239. FreeAndNil(FApply);
  5240. if Assigned(FCast) then
  5241. FreeAndNil(FCast);
  5242. if Assigned(FCollection) then
  5243. FreeAndNil(FCollection);
  5244. if Assigned(F_If) then
  5245. FreeAndNil(F_If);
  5246. if Assigned(FEq) then
  5247. FreeAndNil(FEq);
  5248. if Assigned(FNe) then
  5249. FreeAndNil(FNe);
  5250. if Assigned(FGe) then
  5251. FreeAndNil(FGe);
  5252. if Assigned(FGt) then
  5253. FreeAndNil(FGt);
  5254. if Assigned(FLe) then
  5255. FreeAndNil(FLe);
  5256. if Assigned(FLt) then
  5257. FreeAndNil(FLt);
  5258. if Assigned(F_And) then
  5259. FreeAndNil(F_And);
  5260. if Assigned(F_Or) then
  5261. FreeAndNil(F_Or);
  5262. if Assigned(F_Not) then
  5263. FreeAndNil(F_Not);
  5264. if Assigned(FIsOf) then
  5265. FreeAndNil(FIsOf);
  5266. if Assigned(FLabeledElement) then
  5267. FreeAndNil(FLabeledElement);
  5268. if Assigned(FLabeledElementReference) then
  5269. FreeAndNil(FLabeledElementReference);
  5270. if Assigned(FNull) then
  5271. FreeAndNil(FNull);
  5272. if Assigned(FNavigationPropertyPath) then
  5273. FreeAndNil(FNavigationPropertyPath);
  5274. if Assigned(FPath) then
  5275. FreeAndNil(FPath);
  5276. if Assigned(FPropertyPath) then
  5277. FreeAndNil(FPropertyPath);
  5278. if Assigned(F_Record) then
  5279. FreeAndNil(F_Record);
  5280. if Assigned(FUrlRef) then
  5281. FreeAndNil(FUrlRef);
  5282. inherited FreeObjectProperties();
  5283. end;
  5284. function TOneChildExpression.wstHas_Annotation() : Boolean;
  5285. begin
  5286. Result := ( FAnnotation <> TOneChildExpression_AnnotationArray(0) );
  5287. end;
  5288. function TOneChildExpression.wstHas_Binary() : Boolean;
  5289. begin
  5290. Result := ( FBinary <> nil );
  5291. end;
  5292. function TOneChildExpression.wstHas_Bool() : Boolean;
  5293. begin
  5294. Result := ( FBool <> nil );
  5295. end;
  5296. function TOneChildExpression.wstHas_Date() : Boolean;
  5297. begin
  5298. Result := ( FDate <> nil );
  5299. end;
  5300. function TOneChildExpression.wstHas_DateTimeOffset() : Boolean;
  5301. begin
  5302. Result := ( FDateTimeOffset <> nil );
  5303. end;
  5304. function TOneChildExpression.wstHas_Decimal() : Boolean;
  5305. begin
  5306. Result := ( FDecimal <> nil );
  5307. end;
  5308. function TOneChildExpression.wstHas_Duration() : Boolean;
  5309. begin
  5310. Result := ( FDuration <> nil );
  5311. end;
  5312. function TOneChildExpression.wstHas_EnumMember() : Boolean;
  5313. begin
  5314. Result := ( FEnumMember <> '' );
  5315. end;
  5316. function TOneChildExpression.wstHas_Float() : Boolean;
  5317. begin
  5318. Result := ( FFloat <> nil );
  5319. end;
  5320. function TOneChildExpression.wstHas_Guid() : Boolean;
  5321. begin
  5322. Result := ( FGuid <> nil );
  5323. end;
  5324. function TOneChildExpression.wstHas_Int() : Boolean;
  5325. begin
  5326. Result := ( FInt <> nil );
  5327. end;
  5328. function TOneChildExpression.wstHas__String() : Boolean;
  5329. begin
  5330. Result := ( F_String <> nil );
  5331. end;
  5332. function TOneChildExpression.wstHas_TimeOfDay() : Boolean;
  5333. begin
  5334. Result := ( FTimeOfDay <> nil );
  5335. end;
  5336. function TOneChildExpression.wstHas_AnnotationPath() : Boolean;
  5337. begin
  5338. Result := ( FAnnotationPath <> nil );
  5339. end;
  5340. function TOneChildExpression.wstHas_Apply() : Boolean;
  5341. begin
  5342. Result := ( FApply <> nil );
  5343. end;
  5344. function TOneChildExpression.wstHas_Cast() : Boolean;
  5345. begin
  5346. Result := ( FCast <> nil );
  5347. end;
  5348. function TOneChildExpression.wstHas_Collection() : Boolean;
  5349. begin
  5350. Result := ( FCollection <> nil );
  5351. end;
  5352. function TOneChildExpression.wstHas__If() : Boolean;
  5353. begin
  5354. Result := ( F_If <> nil );
  5355. end;
  5356. function TOneChildExpression.wstHas_Eq() : Boolean;
  5357. begin
  5358. Result := ( FEq <> nil );
  5359. end;
  5360. function TOneChildExpression.wstHas_Ne() : Boolean;
  5361. begin
  5362. Result := ( FNe <> nil );
  5363. end;
  5364. function TOneChildExpression.wstHas_Ge() : Boolean;
  5365. begin
  5366. Result := ( FGe <> nil );
  5367. end;
  5368. function TOneChildExpression.wstHas_Gt() : Boolean;
  5369. begin
  5370. Result := ( FGt <> nil );
  5371. end;
  5372. function TOneChildExpression.wstHas_Le() : Boolean;
  5373. begin
  5374. Result := ( FLe <> nil );
  5375. end;
  5376. function TOneChildExpression.wstHas_Lt() : Boolean;
  5377. begin
  5378. Result := ( FLt <> nil );
  5379. end;
  5380. function TOneChildExpression.wstHas__And() : Boolean;
  5381. begin
  5382. Result := ( F_And <> nil );
  5383. end;
  5384. function TOneChildExpression.wstHas__Or() : Boolean;
  5385. begin
  5386. Result := ( F_Or <> nil );
  5387. end;
  5388. function TOneChildExpression.wstHas__Not() : Boolean;
  5389. begin
  5390. Result := ( F_Not <> nil );
  5391. end;
  5392. function TOneChildExpression.wstHas_IsOf() : Boolean;
  5393. begin
  5394. Result := ( FIsOf <> nil );
  5395. end;
  5396. function TOneChildExpression.wstHas_LabeledElement() : Boolean;
  5397. begin
  5398. Result := ( FLabeledElement <> nil );
  5399. end;
  5400. function TOneChildExpression.wstHas_LabeledElementReference() : Boolean;
  5401. begin
  5402. Result := ( FLabeledElementReference <> nil );
  5403. end;
  5404. function TOneChildExpression.wstHas_Null() : Boolean;
  5405. begin
  5406. Result := ( FNull <> TNullExpression(0) );
  5407. end;
  5408. function TOneChildExpression.wstHas_NavigationPropertyPath() : Boolean;
  5409. begin
  5410. Result := ( FNavigationPropertyPath <> nil );
  5411. end;
  5412. function TOneChildExpression.wstHas_Path() : Boolean;
  5413. begin
  5414. Result := ( FPath <> nil );
  5415. end;
  5416. function TOneChildExpression.wstHas_PropertyPath() : Boolean;
  5417. begin
  5418. Result := ( FPropertyPath <> nil );
  5419. end;
  5420. function TOneChildExpression.wstHas__Record() : Boolean;
  5421. begin
  5422. Result := ( F_Record <> nil );
  5423. end;
  5424. function TOneChildExpression.wstHas_UrlRef() : Boolean;
  5425. begin
  5426. Result := ( FUrlRef <> nil );
  5427. end;
  5428. { TTwoChildrenExpression }
  5429. constructor TTwoChildrenExpression.Create();
  5430. begin
  5431. inherited Create();
  5432. FAnnotation := TTwoChildrenExpression_AnnotationArray.Create();
  5433. FNull := TNullExpression.Create();
  5434. end;
  5435. procedure TTwoChildrenExpression.FreeObjectProperties();
  5436. begin
  5437. if Assigned(FAnnotation) then
  5438. FreeAndNil(FAnnotation);
  5439. if Assigned(FBinary) then
  5440. FreeAndNil(FBinary);
  5441. if Assigned(FBool) then
  5442. FreeAndNil(FBool);
  5443. if Assigned(FDate) then
  5444. FreeAndNil(FDate);
  5445. if Assigned(FDateTimeOffset) then
  5446. FreeAndNil(FDateTimeOffset);
  5447. if Assigned(FDecimal) then
  5448. FreeAndNil(FDecimal);
  5449. if Assigned(FDuration) then
  5450. FreeAndNil(FDuration);
  5451. if Assigned(FFloat) then
  5452. FreeAndNil(FFloat);
  5453. if Assigned(FGuid) then
  5454. FreeAndNil(FGuid);
  5455. if Assigned(FInt) then
  5456. FreeAndNil(FInt);
  5457. if Assigned(F_String) then
  5458. FreeAndNil(F_String);
  5459. if Assigned(FTimeOfDay) then
  5460. FreeAndNil(FTimeOfDay);
  5461. if Assigned(FAnnotationPath) then
  5462. FreeAndNil(FAnnotationPath);
  5463. if Assigned(FApply) then
  5464. FreeAndNil(FApply);
  5465. if Assigned(FCast) then
  5466. FreeAndNil(FCast);
  5467. if Assigned(FCollection) then
  5468. FreeAndNil(FCollection);
  5469. if Assigned(F_If) then
  5470. FreeAndNil(F_If);
  5471. if Assigned(FEq) then
  5472. FreeAndNil(FEq);
  5473. if Assigned(FNe) then
  5474. FreeAndNil(FNe);
  5475. if Assigned(FGe) then
  5476. FreeAndNil(FGe);
  5477. if Assigned(FGt) then
  5478. FreeAndNil(FGt);
  5479. if Assigned(FLe) then
  5480. FreeAndNil(FLe);
  5481. if Assigned(FLt) then
  5482. FreeAndNil(FLt);
  5483. if Assigned(F_And) then
  5484. FreeAndNil(F_And);
  5485. if Assigned(F_Or) then
  5486. FreeAndNil(F_Or);
  5487. if Assigned(F_Not) then
  5488. FreeAndNil(F_Not);
  5489. if Assigned(FIsOf) then
  5490. FreeAndNil(FIsOf);
  5491. if Assigned(FLabeledElement) then
  5492. FreeAndNil(FLabeledElement);
  5493. if Assigned(FLabeledElementReference) then
  5494. FreeAndNil(FLabeledElementReference);
  5495. if Assigned(FNull) then
  5496. FreeAndNil(FNull);
  5497. if Assigned(FNavigationPropertyPath) then
  5498. FreeAndNil(FNavigationPropertyPath);
  5499. if Assigned(FPath) then
  5500. FreeAndNil(FPath);
  5501. if Assigned(FPropertyPath) then
  5502. FreeAndNil(FPropertyPath);
  5503. if Assigned(F_Record) then
  5504. FreeAndNil(F_Record);
  5505. if Assigned(FUrlRef) then
  5506. FreeAndNil(FUrlRef);
  5507. inherited FreeObjectProperties();
  5508. end;
  5509. function TTwoChildrenExpression.wstHas_Annotation() : Boolean;
  5510. begin
  5511. Result := ( FAnnotation <> TTwoChildrenExpression_AnnotationArray(0) );
  5512. end;
  5513. function TTwoChildrenExpression.wstHas_Binary() : Boolean;
  5514. begin
  5515. Result := ( FBinary <> nil );
  5516. end;
  5517. function TTwoChildrenExpression.wstHas_Bool() : Boolean;
  5518. begin
  5519. Result := ( FBool <> nil );
  5520. end;
  5521. function TTwoChildrenExpression.wstHas_Date() : Boolean;
  5522. begin
  5523. Result := ( FDate <> nil );
  5524. end;
  5525. function TTwoChildrenExpression.wstHas_DateTimeOffset() : Boolean;
  5526. begin
  5527. Result := ( FDateTimeOffset <> nil );
  5528. end;
  5529. function TTwoChildrenExpression.wstHas_Decimal() : Boolean;
  5530. begin
  5531. Result := ( FDecimal <> nil );
  5532. end;
  5533. function TTwoChildrenExpression.wstHas_Duration() : Boolean;
  5534. begin
  5535. Result := ( FDuration <> nil );
  5536. end;
  5537. function TTwoChildrenExpression.wstHas_EnumMember() : Boolean;
  5538. begin
  5539. Result := ( FEnumMember <> '' );
  5540. end;
  5541. function TTwoChildrenExpression.wstHas_Float() : Boolean;
  5542. begin
  5543. Result := ( FFloat <> nil );
  5544. end;
  5545. function TTwoChildrenExpression.wstHas_Guid() : Boolean;
  5546. begin
  5547. Result := ( FGuid <> nil );
  5548. end;
  5549. function TTwoChildrenExpression.wstHas_Int() : Boolean;
  5550. begin
  5551. Result := ( FInt <> nil );
  5552. end;
  5553. function TTwoChildrenExpression.wstHas__String() : Boolean;
  5554. begin
  5555. Result := ( F_String <> nil );
  5556. end;
  5557. function TTwoChildrenExpression.wstHas_TimeOfDay() : Boolean;
  5558. begin
  5559. Result := ( FTimeOfDay <> nil );
  5560. end;
  5561. function TTwoChildrenExpression.wstHas_AnnotationPath() : Boolean;
  5562. begin
  5563. Result := ( FAnnotationPath <> nil );
  5564. end;
  5565. function TTwoChildrenExpression.wstHas_Apply() : Boolean;
  5566. begin
  5567. Result := ( FApply <> nil );
  5568. end;
  5569. function TTwoChildrenExpression.wstHas_Cast() : Boolean;
  5570. begin
  5571. Result := ( FCast <> nil );
  5572. end;
  5573. function TTwoChildrenExpression.wstHas_Collection() : Boolean;
  5574. begin
  5575. Result := ( FCollection <> nil );
  5576. end;
  5577. function TTwoChildrenExpression.wstHas__If() : Boolean;
  5578. begin
  5579. Result := ( F_If <> nil );
  5580. end;
  5581. function TTwoChildrenExpression.wstHas_Eq() : Boolean;
  5582. begin
  5583. Result := ( FEq <> nil );
  5584. end;
  5585. function TTwoChildrenExpression.wstHas_Ne() : Boolean;
  5586. begin
  5587. Result := ( FNe <> nil );
  5588. end;
  5589. function TTwoChildrenExpression.wstHas_Ge() : Boolean;
  5590. begin
  5591. Result := ( FGe <> nil );
  5592. end;
  5593. function TTwoChildrenExpression.wstHas_Gt() : Boolean;
  5594. begin
  5595. Result := ( FGt <> nil );
  5596. end;
  5597. function TTwoChildrenExpression.wstHas_Le() : Boolean;
  5598. begin
  5599. Result := ( FLe <> nil );
  5600. end;
  5601. function TTwoChildrenExpression.wstHas_Lt() : Boolean;
  5602. begin
  5603. Result := ( FLt <> nil );
  5604. end;
  5605. function TTwoChildrenExpression.wstHas__And() : Boolean;
  5606. begin
  5607. Result := ( F_And <> nil );
  5608. end;
  5609. function TTwoChildrenExpression.wstHas__Or() : Boolean;
  5610. begin
  5611. Result := ( F_Or <> nil );
  5612. end;
  5613. function TTwoChildrenExpression.wstHas__Not() : Boolean;
  5614. begin
  5615. Result := ( F_Not <> nil );
  5616. end;
  5617. function TTwoChildrenExpression.wstHas_IsOf() : Boolean;
  5618. begin
  5619. Result := ( FIsOf <> nil );
  5620. end;
  5621. function TTwoChildrenExpression.wstHas_LabeledElement() : Boolean;
  5622. begin
  5623. Result := ( FLabeledElement <> nil );
  5624. end;
  5625. function TTwoChildrenExpression.wstHas_LabeledElementReference() : Boolean;
  5626. begin
  5627. Result := ( FLabeledElementReference <> nil );
  5628. end;
  5629. function TTwoChildrenExpression.wstHas_Null() : Boolean;
  5630. begin
  5631. Result := ( FNull <> TNullExpression(0) );
  5632. end;
  5633. function TTwoChildrenExpression.wstHas_NavigationPropertyPath() : Boolean;
  5634. begin
  5635. Result := ( FNavigationPropertyPath <> nil );
  5636. end;
  5637. function TTwoChildrenExpression.wstHas_Path() : Boolean;
  5638. begin
  5639. Result := ( FPath <> nil );
  5640. end;
  5641. function TTwoChildrenExpression.wstHas_PropertyPath() : Boolean;
  5642. begin
  5643. Result := ( FPropertyPath <> nil );
  5644. end;
  5645. function TTwoChildrenExpression.wstHas__Record() : Boolean;
  5646. begin
  5647. Result := ( F_Record <> nil );
  5648. end;
  5649. function TTwoChildrenExpression.wstHas_UrlRef() : Boolean;
  5650. begin
  5651. Result := ( FUrlRef <> nil );
  5652. end;
  5653. { TLabeledElementExpression }
  5654. constructor TLabeledElementExpression.Create();
  5655. begin
  5656. inherited Create();
  5657. FAnnotation := TLabeledElementExpression_AnnotationArray.Create();
  5658. FNull := TNullExpression.Create();
  5659. FDateAtt := TDateRemotable.Create();
  5660. FDateTimeOffsetAtt := dateTimeStamp.Create();
  5661. FDurationAtt := dayTimeDuration.Create();
  5662. FTimeOfDayAtt := TTimeRemotable.Create();
  5663. end;
  5664. procedure TLabeledElementExpression.FreeObjectProperties();
  5665. begin
  5666. if Assigned(FAnnotation) then
  5667. FreeAndNil(FAnnotation);
  5668. if Assigned(FBinary) then
  5669. FreeAndNil(FBinary);
  5670. if Assigned(FBool) then
  5671. FreeAndNil(FBool);
  5672. if Assigned(FDate) then
  5673. FreeAndNil(FDate);
  5674. if Assigned(FDateTimeOffset) then
  5675. FreeAndNil(FDateTimeOffset);
  5676. if Assigned(FDecimal) then
  5677. FreeAndNil(FDecimal);
  5678. if Assigned(FDuration) then
  5679. FreeAndNil(FDuration);
  5680. if Assigned(FFloat) then
  5681. FreeAndNil(FFloat);
  5682. if Assigned(FGuid) then
  5683. FreeAndNil(FGuid);
  5684. if Assigned(FInt) then
  5685. FreeAndNil(FInt);
  5686. if Assigned(F_String) then
  5687. FreeAndNil(F_String);
  5688. if Assigned(FTimeOfDay) then
  5689. FreeAndNil(FTimeOfDay);
  5690. if Assigned(FAnnotationPath) then
  5691. FreeAndNil(FAnnotationPath);
  5692. if Assigned(FApply) then
  5693. FreeAndNil(FApply);
  5694. if Assigned(FCast) then
  5695. FreeAndNil(FCast);
  5696. if Assigned(FCollection) then
  5697. FreeAndNil(FCollection);
  5698. if Assigned(F_If) then
  5699. FreeAndNil(F_If);
  5700. if Assigned(FEq) then
  5701. FreeAndNil(FEq);
  5702. if Assigned(FNe) then
  5703. FreeAndNil(FNe);
  5704. if Assigned(FGe) then
  5705. FreeAndNil(FGe);
  5706. if Assigned(FGt) then
  5707. FreeAndNil(FGt);
  5708. if Assigned(FLe) then
  5709. FreeAndNil(FLe);
  5710. if Assigned(FLt) then
  5711. FreeAndNil(FLt);
  5712. if Assigned(F_And) then
  5713. FreeAndNil(F_And);
  5714. if Assigned(F_Or) then
  5715. FreeAndNil(F_Or);
  5716. if Assigned(F_Not) then
  5717. FreeAndNil(F_Not);
  5718. if Assigned(FIsOf) then
  5719. FreeAndNil(FIsOf);
  5720. if Assigned(FLabeledElement) then
  5721. FreeAndNil(FLabeledElement);
  5722. if Assigned(FLabeledElementReference) then
  5723. FreeAndNil(FLabeledElementReference);
  5724. if Assigned(FNull) then
  5725. FreeAndNil(FNull);
  5726. if Assigned(FNavigationPropertyPath) then
  5727. FreeAndNil(FNavigationPropertyPath);
  5728. if Assigned(FPath) then
  5729. FreeAndNil(FPath);
  5730. if Assigned(FPropertyPath) then
  5731. FreeAndNil(FPropertyPath);
  5732. if Assigned(F_Record) then
  5733. FreeAndNil(F_Record);
  5734. if Assigned(FUrlRef) then
  5735. FreeAndNil(FUrlRef);
  5736. if Assigned(FDateAtt) then
  5737. FreeAndNil(FDateAtt);
  5738. if Assigned(FDateTimeOffsetAtt) then
  5739. FreeAndNil(FDateTimeOffsetAtt);
  5740. if Assigned(FDurationAtt) then
  5741. FreeAndNil(FDurationAtt);
  5742. if Assigned(FTimeOfDayAtt) then
  5743. FreeAndNil(FTimeOfDayAtt);
  5744. inherited FreeObjectProperties();
  5745. end;
  5746. function TLabeledElementExpression.wstHas_Annotation() : Boolean;
  5747. begin
  5748. Result := ( FAnnotation <> TLabeledElementExpression_AnnotationArray(0) );
  5749. end;
  5750. function TLabeledElementExpression.wstHas_Binary() : Boolean;
  5751. begin
  5752. Result := ( FBinary <> nil );
  5753. end;
  5754. function TLabeledElementExpression.wstHas_Bool() : Boolean;
  5755. begin
  5756. Result := ( FBool <> nil );
  5757. end;
  5758. function TLabeledElementExpression.wstHas_Date() : Boolean;
  5759. begin
  5760. Result := ( FDate <> nil );
  5761. end;
  5762. function TLabeledElementExpression.wstHas_DateTimeOffset() : Boolean;
  5763. begin
  5764. Result := ( FDateTimeOffset <> nil );
  5765. end;
  5766. function TLabeledElementExpression.wstHas_Decimal() : Boolean;
  5767. begin
  5768. Result := ( FDecimal <> nil );
  5769. end;
  5770. function TLabeledElementExpression.wstHas_Duration() : Boolean;
  5771. begin
  5772. Result := ( FDuration <> nil );
  5773. end;
  5774. function TLabeledElementExpression.wstHas_EnumMember() : Boolean;
  5775. begin
  5776. Result := ( FEnumMember <> '' );
  5777. end;
  5778. function TLabeledElementExpression.wstHas_Float() : Boolean;
  5779. begin
  5780. Result := ( FFloat <> nil );
  5781. end;
  5782. function TLabeledElementExpression.wstHas_Guid() : Boolean;
  5783. begin
  5784. Result := ( FGuid <> nil );
  5785. end;
  5786. function TLabeledElementExpression.wstHas_Int() : Boolean;
  5787. begin
  5788. Result := ( FInt <> nil );
  5789. end;
  5790. function TLabeledElementExpression.wstHas__String() : Boolean;
  5791. begin
  5792. Result := ( F_String <> nil );
  5793. end;
  5794. function TLabeledElementExpression.wstHas_TimeOfDay() : Boolean;
  5795. begin
  5796. Result := ( FTimeOfDay <> nil );
  5797. end;
  5798. function TLabeledElementExpression.wstHas_AnnotationPath() : Boolean;
  5799. begin
  5800. Result := ( FAnnotationPath <> nil );
  5801. end;
  5802. function TLabeledElementExpression.wstHas_Apply() : Boolean;
  5803. begin
  5804. Result := ( FApply <> nil );
  5805. end;
  5806. function TLabeledElementExpression.wstHas_Cast() : Boolean;
  5807. begin
  5808. Result := ( FCast <> nil );
  5809. end;
  5810. function TLabeledElementExpression.wstHas_Collection() : Boolean;
  5811. begin
  5812. Result := ( FCollection <> nil );
  5813. end;
  5814. function TLabeledElementExpression.wstHas__If() : Boolean;
  5815. begin
  5816. Result := ( F_If <> nil );
  5817. end;
  5818. function TLabeledElementExpression.wstHas_Eq() : Boolean;
  5819. begin
  5820. Result := ( FEq <> nil );
  5821. end;
  5822. function TLabeledElementExpression.wstHas_Ne() : Boolean;
  5823. begin
  5824. Result := ( FNe <> nil );
  5825. end;
  5826. function TLabeledElementExpression.wstHas_Ge() : Boolean;
  5827. begin
  5828. Result := ( FGe <> nil );
  5829. end;
  5830. function TLabeledElementExpression.wstHas_Gt() : Boolean;
  5831. begin
  5832. Result := ( FGt <> nil );
  5833. end;
  5834. function TLabeledElementExpression.wstHas_Le() : Boolean;
  5835. begin
  5836. Result := ( FLe <> nil );
  5837. end;
  5838. function TLabeledElementExpression.wstHas_Lt() : Boolean;
  5839. begin
  5840. Result := ( FLt <> nil );
  5841. end;
  5842. function TLabeledElementExpression.wstHas__And() : Boolean;
  5843. begin
  5844. Result := ( F_And <> nil );
  5845. end;
  5846. function TLabeledElementExpression.wstHas__Or() : Boolean;
  5847. begin
  5848. Result := ( F_Or <> nil );
  5849. end;
  5850. function TLabeledElementExpression.wstHas__Not() : Boolean;
  5851. begin
  5852. Result := ( F_Not <> nil );
  5853. end;
  5854. function TLabeledElementExpression.wstHas_IsOf() : Boolean;
  5855. begin
  5856. Result := ( FIsOf <> nil );
  5857. end;
  5858. function TLabeledElementExpression.wstHas_LabeledElement() : Boolean;
  5859. begin
  5860. Result := ( FLabeledElement <> nil );
  5861. end;
  5862. function TLabeledElementExpression.wstHas_LabeledElementReference() : Boolean;
  5863. begin
  5864. Result := ( FLabeledElementReference <> nil );
  5865. end;
  5866. function TLabeledElementExpression.wstHas_Null() : Boolean;
  5867. begin
  5868. Result := ( FNull <> TNullExpression(0) );
  5869. end;
  5870. function TLabeledElementExpression.wstHas_NavigationPropertyPath() : Boolean;
  5871. begin
  5872. Result := ( FNavigationPropertyPath <> nil );
  5873. end;
  5874. function TLabeledElementExpression.wstHas_Path() : Boolean;
  5875. begin
  5876. Result := ( FPath <> nil );
  5877. end;
  5878. function TLabeledElementExpression.wstHas_PropertyPath() : Boolean;
  5879. begin
  5880. Result := ( FPropertyPath <> nil );
  5881. end;
  5882. function TLabeledElementExpression.wstHas__Record() : Boolean;
  5883. begin
  5884. Result := ( F_Record <> nil );
  5885. end;
  5886. function TLabeledElementExpression.wstHas_UrlRef() : Boolean;
  5887. begin
  5888. Result := ( FUrlRef <> nil );
  5889. end;
  5890. function TLabeledElementExpression.wstHas_BinaryAtt() : Boolean;
  5891. begin
  5892. Result := ( FBinaryAtt <> '' );
  5893. end;
  5894. function TLabeledElementExpression.wstHas_BoolAtt() : Boolean;
  5895. begin
  5896. Result := ( FBoolAtt <> boolean(0) );
  5897. end;
  5898. function TLabeledElementExpression.wstHas_DateAtt() : Boolean;
  5899. begin
  5900. Result := ( FDateAtt <> nil );
  5901. end;
  5902. function TLabeledElementExpression.wstHas_DateTimeOffsetAtt() : Boolean;
  5903. begin
  5904. Result := ( FDateTimeOffsetAtt <> nil );
  5905. end;
  5906. function TLabeledElementExpression.wstHas_DecimalAtt() : Boolean;
  5907. begin
  5908. Result := ( FDecimalAtt <> 0 );
  5909. end;
  5910. function TLabeledElementExpression.wstHas_DurationAtt() : Boolean;
  5911. begin
  5912. Result := ( FDurationAtt <> nil );
  5913. end;
  5914. function TLabeledElementExpression.wstHas_EnumMemberAtt() : Boolean;
  5915. begin
  5916. Result := ( FEnumMemberAtt <> '' );
  5917. end;
  5918. function TLabeledElementExpression.wstHas_FloatAtt() : Boolean;
  5919. begin
  5920. Result := ( FFloatAtt <> 0 );
  5921. end;
  5922. function TLabeledElementExpression.wstHas_GuidAtt() : Boolean;
  5923. begin
  5924. Result := ( FGuidAtt <> '' );
  5925. end;
  5926. function TLabeledElementExpression.wstHas_IntAtt() : Boolean;
  5927. begin
  5928. Result := ( FIntAtt <> integer(0) );
  5929. end;
  5930. function TLabeledElementExpression.wstHas__StringAtt() : Boolean;
  5931. begin
  5932. Result := ( F_StringAtt <> '' );
  5933. end;
  5934. function TLabeledElementExpression.wstHas_TimeOfDayAtt() : Boolean;
  5935. begin
  5936. Result := ( FTimeOfDayAtt <> nil );
  5937. end;
  5938. function TLabeledElementExpression.wstHas_AnnotationPathAtt() : Boolean;
  5939. begin
  5940. Result := ( FAnnotationPathAtt <> '' );
  5941. end;
  5942. function TLabeledElementExpression.wstHas_NavigationPropertyPathAtt() : Boolean;
  5943. begin
  5944. Result := ( FNavigationPropertyPathAtt <> '' );
  5945. end;
  5946. function TLabeledElementExpression.wstHas_PathAtt() : Boolean;
  5947. begin
  5948. Result := ( FPathAtt <> '' );
  5949. end;
  5950. function TLabeledElementExpression.wstHas_PropertyPathAtt() : Boolean;
  5951. begin
  5952. Result := ( FPropertyPathAtt <> '' );
  5953. end;
  5954. function TLabeledElementExpression.wstHas_UrlRefAtt() : Boolean;
  5955. begin
  5956. Result := ( FUrlRefAtt <> '' );
  5957. end;
  5958. { TRecordExpression }
  5959. constructor TRecordExpression.Create();
  5960. begin
  5961. inherited Create();
  5962. FPropertyValue := TRecordExpression_PropertyValueArray.Create();
  5963. FAnnotation := TRecordExpression_AnnotationArray.Create();
  5964. end;
  5965. procedure TRecordExpression.FreeObjectProperties();
  5966. begin
  5967. if Assigned(FPropertyValue) then
  5968. FreeAndNil(FPropertyValue);
  5969. if Assigned(FAnnotation) then
  5970. FreeAndNil(FAnnotation);
  5971. inherited FreeObjectProperties();
  5972. end;
  5973. function TRecordExpression.wstHas_PropertyValue() : Boolean;
  5974. begin
  5975. Result := ( FPropertyValue <> TRecordExpression_PropertyValueArray(0) );
  5976. end;
  5977. function TRecordExpression.wstHas_Annotation() : Boolean;
  5978. begin
  5979. Result := ( FAnnotation <> TRecordExpression_AnnotationArray(0) );
  5980. end;
  5981. function TRecordExpression.wstHas__Type() : Boolean;
  5982. begin
  5983. Result := ( F_Type <> '' );
  5984. end;
  5985. { TPropertyValue }
  5986. constructor TPropertyValue.Create();
  5987. begin
  5988. inherited Create();
  5989. FAnnotation := TPropertyValue_AnnotationArray.Create();
  5990. FNull := TNullExpression.Create();
  5991. FDateAtt := TDateRemotable.Create();
  5992. FDateTimeOffsetAtt := dateTimeStamp.Create();
  5993. FDurationAtt := dayTimeDuration.Create();
  5994. FTimeOfDayAtt := TTimeRemotable.Create();
  5995. end;
  5996. procedure TPropertyValue.FreeObjectProperties();
  5997. begin
  5998. if Assigned(FAnnotation) then
  5999. FreeAndNil(FAnnotation);
  6000. if Assigned(FBinary) then
  6001. FreeAndNil(FBinary);
  6002. if Assigned(FBool) then
  6003. FreeAndNil(FBool);
  6004. if Assigned(FDate) then
  6005. FreeAndNil(FDate);
  6006. if Assigned(FDateTimeOffset) then
  6007. FreeAndNil(FDateTimeOffset);
  6008. if Assigned(FDecimal) then
  6009. FreeAndNil(FDecimal);
  6010. if Assigned(FDuration) then
  6011. FreeAndNil(FDuration);
  6012. if Assigned(FFloat) then
  6013. FreeAndNil(FFloat);
  6014. if Assigned(FGuid) then
  6015. FreeAndNil(FGuid);
  6016. if Assigned(FInt) then
  6017. FreeAndNil(FInt);
  6018. if Assigned(F_String) then
  6019. FreeAndNil(F_String);
  6020. if Assigned(FTimeOfDay) then
  6021. FreeAndNil(FTimeOfDay);
  6022. if Assigned(FAnnotationPath) then
  6023. FreeAndNil(FAnnotationPath);
  6024. if Assigned(FApply) then
  6025. FreeAndNil(FApply);
  6026. if Assigned(FCast) then
  6027. FreeAndNil(FCast);
  6028. if Assigned(FCollection) then
  6029. FreeAndNil(FCollection);
  6030. if Assigned(F_If) then
  6031. FreeAndNil(F_If);
  6032. if Assigned(FEq) then
  6033. FreeAndNil(FEq);
  6034. if Assigned(FNe) then
  6035. FreeAndNil(FNe);
  6036. if Assigned(FGe) then
  6037. FreeAndNil(FGe);
  6038. if Assigned(FGt) then
  6039. FreeAndNil(FGt);
  6040. if Assigned(FLe) then
  6041. FreeAndNil(FLe);
  6042. if Assigned(FLt) then
  6043. FreeAndNil(FLt);
  6044. if Assigned(F_And) then
  6045. FreeAndNil(F_And);
  6046. if Assigned(F_Or) then
  6047. FreeAndNil(F_Or);
  6048. if Assigned(F_Not) then
  6049. FreeAndNil(F_Not);
  6050. if Assigned(FIsOf) then
  6051. FreeAndNil(FIsOf);
  6052. if Assigned(FLabeledElement) then
  6053. FreeAndNil(FLabeledElement);
  6054. if Assigned(FLabeledElementReference) then
  6055. FreeAndNil(FLabeledElementReference);
  6056. if Assigned(FNull) then
  6057. FreeAndNil(FNull);
  6058. if Assigned(FNavigationPropertyPath) then
  6059. FreeAndNil(FNavigationPropertyPath);
  6060. if Assigned(FPath) then
  6061. FreeAndNil(FPath);
  6062. if Assigned(FPropertyPath) then
  6063. FreeAndNil(FPropertyPath);
  6064. if Assigned(F_Record) then
  6065. FreeAndNil(F_Record);
  6066. if Assigned(FUrlRef) then
  6067. FreeAndNil(FUrlRef);
  6068. if Assigned(FDateAtt) then
  6069. FreeAndNil(FDateAtt);
  6070. if Assigned(FDateTimeOffsetAtt) then
  6071. FreeAndNil(FDateTimeOffsetAtt);
  6072. if Assigned(FDurationAtt) then
  6073. FreeAndNil(FDurationAtt);
  6074. if Assigned(FTimeOfDayAtt) then
  6075. FreeAndNil(FTimeOfDayAtt);
  6076. inherited FreeObjectProperties();
  6077. end;
  6078. function TPropertyValue.wstHas_Annotation() : Boolean;
  6079. begin
  6080. Result := ( FAnnotation <> TPropertyValue_AnnotationArray(0) );
  6081. end;
  6082. function TPropertyValue.wstHas_Binary() : Boolean;
  6083. begin
  6084. Result := ( FBinary <> nil );
  6085. end;
  6086. function TPropertyValue.wstHas_Bool() : Boolean;
  6087. begin
  6088. Result := ( FBool <> nil );
  6089. end;
  6090. function TPropertyValue.wstHas_Date() : Boolean;
  6091. begin
  6092. Result := ( FDate <> nil );
  6093. end;
  6094. function TPropertyValue.wstHas_DateTimeOffset() : Boolean;
  6095. begin
  6096. Result := ( FDateTimeOffset <> nil );
  6097. end;
  6098. function TPropertyValue.wstHas_Decimal() : Boolean;
  6099. begin
  6100. Result := ( FDecimal <> nil );
  6101. end;
  6102. function TPropertyValue.wstHas_Duration() : Boolean;
  6103. begin
  6104. Result := ( FDuration <> nil );
  6105. end;
  6106. function TPropertyValue.wstHas_EnumMember() : Boolean;
  6107. begin
  6108. Result := ( FEnumMember <> '' );
  6109. end;
  6110. function TPropertyValue.wstHas_Float() : Boolean;
  6111. begin
  6112. Result := ( FFloat <> nil );
  6113. end;
  6114. function TPropertyValue.wstHas_Guid() : Boolean;
  6115. begin
  6116. Result := ( FGuid <> nil );
  6117. end;
  6118. function TPropertyValue.wstHas_Int() : Boolean;
  6119. begin
  6120. Result := ( FInt <> nil );
  6121. end;
  6122. function TPropertyValue.wstHas__String() : Boolean;
  6123. begin
  6124. Result := ( F_String <> nil );
  6125. end;
  6126. function TPropertyValue.wstHas_TimeOfDay() : Boolean;
  6127. begin
  6128. Result := ( FTimeOfDay <> nil );
  6129. end;
  6130. function TPropertyValue.wstHas_AnnotationPath() : Boolean;
  6131. begin
  6132. Result := ( FAnnotationPath <> nil );
  6133. end;
  6134. function TPropertyValue.wstHas_Apply() : Boolean;
  6135. begin
  6136. Result := ( FApply <> nil );
  6137. end;
  6138. function TPropertyValue.wstHas_Cast() : Boolean;
  6139. begin
  6140. Result := ( FCast <> nil );
  6141. end;
  6142. function TPropertyValue.wstHas_Collection() : Boolean;
  6143. begin
  6144. Result := ( FCollection <> nil );
  6145. end;
  6146. function TPropertyValue.wstHas__If() : Boolean;
  6147. begin
  6148. Result := ( F_If <> nil );
  6149. end;
  6150. function TPropertyValue.wstHas_Eq() : Boolean;
  6151. begin
  6152. Result := ( FEq <> nil );
  6153. end;
  6154. function TPropertyValue.wstHas_Ne() : Boolean;
  6155. begin
  6156. Result := ( FNe <> nil );
  6157. end;
  6158. function TPropertyValue.wstHas_Ge() : Boolean;
  6159. begin
  6160. Result := ( FGe <> nil );
  6161. end;
  6162. function TPropertyValue.wstHas_Gt() : Boolean;
  6163. begin
  6164. Result := ( FGt <> nil );
  6165. end;
  6166. function TPropertyValue.wstHas_Le() : Boolean;
  6167. begin
  6168. Result := ( FLe <> nil );
  6169. end;
  6170. function TPropertyValue.wstHas_Lt() : Boolean;
  6171. begin
  6172. Result := ( FLt <> nil );
  6173. end;
  6174. function TPropertyValue.wstHas__And() : Boolean;
  6175. begin
  6176. Result := ( F_And <> nil );
  6177. end;
  6178. function TPropertyValue.wstHas__Or() : Boolean;
  6179. begin
  6180. Result := ( F_Or <> nil );
  6181. end;
  6182. function TPropertyValue.wstHas__Not() : Boolean;
  6183. begin
  6184. Result := ( F_Not <> nil );
  6185. end;
  6186. function TPropertyValue.wstHas_IsOf() : Boolean;
  6187. begin
  6188. Result := ( FIsOf <> nil );
  6189. end;
  6190. function TPropertyValue.wstHas_LabeledElement() : Boolean;
  6191. begin
  6192. Result := ( FLabeledElement <> nil );
  6193. end;
  6194. function TPropertyValue.wstHas_LabeledElementReference() : Boolean;
  6195. begin
  6196. Result := ( FLabeledElementReference <> nil );
  6197. end;
  6198. function TPropertyValue.wstHas_Null() : Boolean;
  6199. begin
  6200. Result := ( FNull <> TNullExpression(0) );
  6201. end;
  6202. function TPropertyValue.wstHas_NavigationPropertyPath() : Boolean;
  6203. begin
  6204. Result := ( FNavigationPropertyPath <> nil );
  6205. end;
  6206. function TPropertyValue.wstHas_Path() : Boolean;
  6207. begin
  6208. Result := ( FPath <> nil );
  6209. end;
  6210. function TPropertyValue.wstHas_PropertyPath() : Boolean;
  6211. begin
  6212. Result := ( FPropertyPath <> nil );
  6213. end;
  6214. function TPropertyValue.wstHas__Record() : Boolean;
  6215. begin
  6216. Result := ( F_Record <> nil );
  6217. end;
  6218. function TPropertyValue.wstHas_UrlRef() : Boolean;
  6219. begin
  6220. Result := ( FUrlRef <> nil );
  6221. end;
  6222. function TPropertyValue.wstHas_BinaryAtt() : Boolean;
  6223. begin
  6224. Result := ( FBinaryAtt <> '' );
  6225. end;
  6226. function TPropertyValue.wstHas_BoolAtt() : Boolean;
  6227. begin
  6228. Result := ( FBoolAtt <> boolean(0) );
  6229. end;
  6230. function TPropertyValue.wstHas_DateAtt() : Boolean;
  6231. begin
  6232. Result := ( FDateAtt <> nil );
  6233. end;
  6234. function TPropertyValue.wstHas_DateTimeOffsetAtt() : Boolean;
  6235. begin
  6236. Result := ( FDateTimeOffsetAtt <> nil );
  6237. end;
  6238. function TPropertyValue.wstHas_DecimalAtt() : Boolean;
  6239. begin
  6240. Result := ( FDecimalAtt <> 0 );
  6241. end;
  6242. function TPropertyValue.wstHas_DurationAtt() : Boolean;
  6243. begin
  6244. Result := ( FDurationAtt <> nil );
  6245. end;
  6246. function TPropertyValue.wstHas_EnumMemberAtt() : Boolean;
  6247. begin
  6248. Result := ( FEnumMemberAtt <> '' );
  6249. end;
  6250. function TPropertyValue.wstHas_FloatAtt() : Boolean;
  6251. begin
  6252. Result := ( FFloatAtt <> 0 );
  6253. end;
  6254. function TPropertyValue.wstHas_GuidAtt() : Boolean;
  6255. begin
  6256. Result := ( FGuidAtt <> '' );
  6257. end;
  6258. function TPropertyValue.wstHas_IntAtt() : Boolean;
  6259. begin
  6260. Result := ( FIntAtt <> integer(0) );
  6261. end;
  6262. function TPropertyValue.wstHas__StringAtt() : Boolean;
  6263. begin
  6264. Result := ( F_StringAtt <> '' );
  6265. end;
  6266. function TPropertyValue.wstHas_TimeOfDayAtt() : Boolean;
  6267. begin
  6268. Result := ( FTimeOfDayAtt <> nil );
  6269. end;
  6270. function TPropertyValue.wstHas_AnnotationPathAtt() : Boolean;
  6271. begin
  6272. Result := ( FAnnotationPathAtt <> '' );
  6273. end;
  6274. function TPropertyValue.wstHas_NavigationPropertyPathAtt() : Boolean;
  6275. begin
  6276. Result := ( FNavigationPropertyPathAtt <> '' );
  6277. end;
  6278. function TPropertyValue.wstHas_PathAtt() : Boolean;
  6279. begin
  6280. Result := ( FPathAtt <> '' );
  6281. end;
  6282. function TPropertyValue.wstHas_PropertyPathAtt() : Boolean;
  6283. begin
  6284. Result := ( FPropertyPathAtt <> '' );
  6285. end;
  6286. function TPropertyValue.wstHas_UrlRefAtt() : Boolean;
  6287. begin
  6288. Result := ( FUrlRefAtt <> '' );
  6289. end;
  6290. { TEntityContainer }
  6291. constructor TEntityContainer.Create();
  6292. begin
  6293. inherited Create();
  6294. FEntitySet := TEntityContainer_EntitySetArray.Create();
  6295. FActionImport := TEntityContainer_ActionImportArray.Create();
  6296. FFunctionImport := TEntityContainer_FunctionImportArray.Create();
  6297. FSingleton := TEntityContainer_SingletonArray.Create();
  6298. FAnnotation := TEntityContainer_AnnotationArray.Create();
  6299. end;
  6300. procedure TEntityContainer.FreeObjectProperties();
  6301. begin
  6302. if Assigned(FEntitySet) then
  6303. FreeAndNil(FEntitySet);
  6304. if Assigned(FActionImport) then
  6305. FreeAndNil(FActionImport);
  6306. if Assigned(FFunctionImport) then
  6307. FreeAndNil(FFunctionImport);
  6308. if Assigned(FSingleton) then
  6309. FreeAndNil(FSingleton);
  6310. if Assigned(FAnnotation) then
  6311. FreeAndNil(FAnnotation);
  6312. inherited FreeObjectProperties();
  6313. end;
  6314. function TEntityContainer.wstHas_EntitySet() : Boolean;
  6315. begin
  6316. Result := ( FEntitySet <> TEntityContainer_EntitySetArray(0) );
  6317. end;
  6318. function TEntityContainer.wstHas_ActionImport() : Boolean;
  6319. begin
  6320. Result := ( FActionImport <> TEntityContainer_ActionImportArray(0) );
  6321. end;
  6322. function TEntityContainer.wstHas_FunctionImport() : Boolean;
  6323. begin
  6324. Result := ( FFunctionImport <> TEntityContainer_FunctionImportArray(0) );
  6325. end;
  6326. function TEntityContainer.wstHas_Singleton() : Boolean;
  6327. begin
  6328. Result := ( FSingleton <> TEntityContainer_SingletonArray(0) );
  6329. end;
  6330. function TEntityContainer.wstHas_Annotation() : Boolean;
  6331. begin
  6332. Result := ( FAnnotation <> TEntityContainer_AnnotationArray(0) );
  6333. end;
  6334. function TEntityContainer.wstHas_Extends() : Boolean;
  6335. begin
  6336. Result := ( FExtends <> '' );
  6337. end;
  6338. function TEntitySetAttributes.wstHas_IncludeInServiceDocument() : Boolean;
  6339. begin
  6340. Result := ( FIncludeInServiceDocument <> boolean(0) );
  6341. end;
  6342. { TEntitySet }
  6343. constructor TEntitySet.Create();
  6344. begin
  6345. inherited Create();
  6346. FNavigationPropertyBinding := TEntitySet_NavigationPropertyBindingArray.Create();
  6347. FAnnotation := TEntitySet_AnnotationArray.Create();
  6348. end;
  6349. procedure TEntitySet.FreeObjectProperties();
  6350. begin
  6351. if Assigned(FNavigationPropertyBinding) then
  6352. FreeAndNil(FNavigationPropertyBinding);
  6353. if Assigned(FAnnotation) then
  6354. FreeAndNil(FAnnotation);
  6355. inherited FreeObjectProperties();
  6356. end;
  6357. function TEntitySet.wstHas_NavigationPropertyBinding() : Boolean;
  6358. begin
  6359. Result := ( FNavigationPropertyBinding <> TEntitySet_NavigationPropertyBindingArray(0) );
  6360. end;
  6361. function TEntitySet.wstHas_Annotation() : Boolean;
  6362. begin
  6363. Result := ( FAnnotation <> TEntitySet_AnnotationArray(0) );
  6364. end;
  6365. function TEntitySet.wstHas_IncludeInServiceDocument() : Boolean;
  6366. begin
  6367. Result := ( FIncludeInServiceDocument <> boolean(0) );
  6368. end;
  6369. { TSingleton }
  6370. constructor TSingleton.Create();
  6371. begin
  6372. inherited Create();
  6373. FNavigationPropertyBinding := TSingleton_NavigationPropertyBindingArray.Create();
  6374. FAnnotation := TSingleton_AnnotationArray.Create();
  6375. end;
  6376. procedure TSingleton.FreeObjectProperties();
  6377. begin
  6378. if Assigned(FNavigationPropertyBinding) then
  6379. FreeAndNil(FNavigationPropertyBinding);
  6380. if Assigned(FAnnotation) then
  6381. FreeAndNil(FAnnotation);
  6382. inherited FreeObjectProperties();
  6383. end;
  6384. function TSingleton.wstHas_NavigationPropertyBinding() : Boolean;
  6385. begin
  6386. Result := ( FNavigationPropertyBinding <> TSingleton_NavigationPropertyBindingArray(0) );
  6387. end;
  6388. function TSingleton.wstHas_Annotation() : Boolean;
  6389. begin
  6390. Result := ( FAnnotation <> TSingleton_AnnotationArray(0) );
  6391. end;
  6392. function TActionFunctionImportAttributes.wstHas_EntitySet() : Boolean;
  6393. begin
  6394. Result := ( FEntitySet <> '' );
  6395. end;
  6396. function TActionFunctionImportAttributes.wstHas_IncludeInServiceDocument() : Boolean;
  6397. begin
  6398. Result := ( FIncludeInServiceDocument <> boolean(0) );
  6399. end;
  6400. { TActionImport }
  6401. constructor TActionImport.Create();
  6402. begin
  6403. inherited Create();
  6404. FAnnotation := TActionImport_AnnotationArray.Create();
  6405. end;
  6406. procedure TActionImport.FreeObjectProperties();
  6407. begin
  6408. if Assigned(FAnnotation) then
  6409. FreeAndNil(FAnnotation);
  6410. inherited FreeObjectProperties();
  6411. end;
  6412. function TActionImport.wstHas_Annotation() : Boolean;
  6413. begin
  6414. Result := ( FAnnotation <> TActionImport_AnnotationArray(0) );
  6415. end;
  6416. function TActionImport.wstHas_EntitySet() : Boolean;
  6417. begin
  6418. Result := ( FEntitySet <> '' );
  6419. end;
  6420. function TActionImport.wstHas_IncludeInServiceDocument() : Boolean;
  6421. begin
  6422. Result := ( FIncludeInServiceDocument <> boolean(0) );
  6423. end;
  6424. { TFunctionImport }
  6425. constructor TFunctionImport.Create();
  6426. begin
  6427. inherited Create();
  6428. FAnnotation := TFunctionImport_AnnotationArray.Create();
  6429. end;
  6430. procedure TFunctionImport.FreeObjectProperties();
  6431. begin
  6432. if Assigned(FAnnotation) then
  6433. FreeAndNil(FAnnotation);
  6434. inherited FreeObjectProperties();
  6435. end;
  6436. function TFunctionImport.wstHas_Annotation() : Boolean;
  6437. begin
  6438. Result := ( FAnnotation <> TFunctionImport_AnnotationArray(0) );
  6439. end;
  6440. function TFunctionImport.wstHas_EntitySet() : Boolean;
  6441. begin
  6442. Result := ( FEntitySet <> '' );
  6443. end;
  6444. function TFunctionImport.wstHas_IncludeInServiceDocument() : Boolean;
  6445. begin
  6446. Result := ( FIncludeInServiceDocument <> boolean(0) );
  6447. end;
  6448. { Schema_ComplexTypeArray }
  6449. function Schema_ComplexTypeArray.GetItem(AIndex: Integer): TComplexType;
  6450. begin
  6451. Result := TComplexType(Inherited GetItem(AIndex));
  6452. end;
  6453. class function Schema_ComplexTypeArray.GetItemClass(): TBaseRemotableClass;
  6454. begin
  6455. Result:= TComplexType;
  6456. end;
  6457. function Schema_ComplexTypeArray.Add() : TComplexType;
  6458. begin
  6459. Result := TComplexType(inherited Add());
  6460. end;
  6461. function Schema_ComplexTypeArray.AddAt(const APosition : Integer) : TComplexType;
  6462. begin
  6463. Result := TComplexType(inherited AddAt(APosition));
  6464. end;
  6465. { Schema_EntityTypeArray }
  6466. function Schema_EntityTypeArray.GetItem(AIndex: Integer): TEntityType;
  6467. begin
  6468. Result := TEntityType(Inherited GetItem(AIndex));
  6469. end;
  6470. class function Schema_EntityTypeArray.GetItemClass(): TBaseRemotableClass;
  6471. begin
  6472. Result:= TEntityType;
  6473. end;
  6474. function Schema_EntityTypeArray.Add() : TEntityType;
  6475. begin
  6476. Result := TEntityType(inherited Add());
  6477. end;
  6478. function Schema_EntityTypeArray.AddAt(const APosition : Integer) : TEntityType;
  6479. begin
  6480. Result := TEntityType(inherited AddAt(APosition));
  6481. end;
  6482. { Schema_TypeDefinitionArray }
  6483. function Schema_TypeDefinitionArray.GetItem(AIndex: Integer): TTypeDefinition;
  6484. begin
  6485. Result := TTypeDefinition(Inherited GetItem(AIndex));
  6486. end;
  6487. class function Schema_TypeDefinitionArray.GetItemClass(): TBaseRemotableClass;
  6488. begin
  6489. Result:= TTypeDefinition;
  6490. end;
  6491. function Schema_TypeDefinitionArray.Add() : TTypeDefinition;
  6492. begin
  6493. Result := TTypeDefinition(inherited Add());
  6494. end;
  6495. function Schema_TypeDefinitionArray.AddAt(const APosition : Integer) : TTypeDefinition;
  6496. begin
  6497. Result := TTypeDefinition(inherited AddAt(APosition));
  6498. end;
  6499. { Schema_EnumTypeArray }
  6500. function Schema_EnumTypeArray.GetItem(AIndex: Integer): TEnumType;
  6501. begin
  6502. Result := TEnumType(Inherited GetItem(AIndex));
  6503. end;
  6504. class function Schema_EnumTypeArray.GetItemClass(): TBaseRemotableClass;
  6505. begin
  6506. Result:= TEnumType;
  6507. end;
  6508. function Schema_EnumTypeArray.Add() : TEnumType;
  6509. begin
  6510. Result := TEnumType(inherited Add());
  6511. end;
  6512. function Schema_EnumTypeArray.AddAt(const APosition : Integer) : TEnumType;
  6513. begin
  6514. Result := TEnumType(inherited AddAt(APosition));
  6515. end;
  6516. { Schema_ActionArray }
  6517. function Schema_ActionArray.GetItem(AIndex: Integer): TAction;
  6518. begin
  6519. Result := TAction(Inherited GetItem(AIndex));
  6520. end;
  6521. class function Schema_ActionArray.GetItemClass(): TBaseRemotableClass;
  6522. begin
  6523. Result:= TAction;
  6524. end;
  6525. function Schema_ActionArray.Add() : TAction;
  6526. begin
  6527. Result := TAction(inherited Add());
  6528. end;
  6529. function Schema_ActionArray.AddAt(const APosition : Integer) : TAction;
  6530. begin
  6531. Result := TAction(inherited AddAt(APosition));
  6532. end;
  6533. { Schema__FunctionArray }
  6534. function Schema__FunctionArray.GetItem(AIndex: Integer): TFunction;
  6535. begin
  6536. Result := TFunction(Inherited GetItem(AIndex));
  6537. end;
  6538. class function Schema__FunctionArray.GetItemClass(): TBaseRemotableClass;
  6539. begin
  6540. Result:= TFunction;
  6541. end;
  6542. function Schema__FunctionArray.Add() : TFunction;
  6543. begin
  6544. Result := TFunction(inherited Add());
  6545. end;
  6546. function Schema__FunctionArray.AddAt(const APosition : Integer) : TFunction;
  6547. begin
  6548. Result := TFunction(inherited AddAt(APosition));
  6549. end;
  6550. { Schema_TermArray }
  6551. function Schema_TermArray.GetItem(AIndex: Integer): TTerm;
  6552. begin
  6553. Result := TTerm(Inherited GetItem(AIndex));
  6554. end;
  6555. class function Schema_TermArray.GetItemClass(): TBaseRemotableClass;
  6556. begin
  6557. Result:= TTerm;
  6558. end;
  6559. function Schema_TermArray.Add() : TTerm;
  6560. begin
  6561. Result := TTerm(inherited Add());
  6562. end;
  6563. function Schema_TermArray.AddAt(const APosition : Integer) : TTerm;
  6564. begin
  6565. Result := TTerm(inherited AddAt(APosition));
  6566. end;
  6567. { Schema_AnnotationsArray }
  6568. function Schema_AnnotationsArray.GetItem(AIndex: Integer): TAnnotations;
  6569. begin
  6570. Result := TAnnotations(Inherited GetItem(AIndex));
  6571. end;
  6572. class function Schema_AnnotationsArray.GetItemClass(): TBaseRemotableClass;
  6573. begin
  6574. Result:= TAnnotations;
  6575. end;
  6576. function Schema_AnnotationsArray.Add() : TAnnotations;
  6577. begin
  6578. Result := TAnnotations(inherited Add());
  6579. end;
  6580. function Schema_AnnotationsArray.AddAt(const APosition : Integer) : TAnnotations;
  6581. begin
  6582. Result := TAnnotations(inherited AddAt(APosition));
  6583. end;
  6584. { Schema_EntityContainerArray }
  6585. function Schema_EntityContainerArray.GetItem(AIndex: Integer): TEntityContainer;
  6586. begin
  6587. Result := TEntityContainer(Inherited GetItem(AIndex));
  6588. end;
  6589. class function Schema_EntityContainerArray.GetItemClass(): TBaseRemotableClass;
  6590. begin
  6591. Result:= TEntityContainer;
  6592. end;
  6593. function Schema_EntityContainerArray.Add() : TEntityContainer;
  6594. begin
  6595. Result := TEntityContainer(inherited Add());
  6596. end;
  6597. function Schema_EntityContainerArray.AddAt(const APosition : Integer) : TEntityContainer;
  6598. begin
  6599. Result := TEntityContainer(inherited AddAt(APosition));
  6600. end;
  6601. { Schema_AnnotationArray }
  6602. function Schema_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  6603. begin
  6604. CheckIndex(AIndex);
  6605. Result := FData[AIndex];
  6606. end;
  6607. procedure Schema_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  6608. begin
  6609. CheckIndex(AIndex);
  6610. FData[AIndex] := AValue;
  6611. end;
  6612. function Schema_AnnotationArray.GetLength(): Integer;
  6613. begin
  6614. Result := System.Length(FData);
  6615. end;
  6616. procedure Schema_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  6617. begin
  6618. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  6619. end;
  6620. procedure Schema_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  6621. var
  6622. sName : string;
  6623. begin
  6624. sName := 'Annotation';
  6625. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  6626. end;
  6627. class function Schema_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  6628. begin
  6629. Result := TypeInfo(Annotation_Type);
  6630. end;
  6631. procedure Schema_AnnotationArray.SetLength(const ANewSize: Integer);
  6632. var
  6633. i : Integer;
  6634. begin
  6635. if ( ANewSize < 0 ) then
  6636. i := 0
  6637. else
  6638. i := ANewSize;
  6639. System.SetLength(FData,i);
  6640. end;
  6641. procedure Schema_AnnotationArray.Assign(Source: TPersistent);
  6642. var
  6643. src : Schema_AnnotationArray;
  6644. i, c : Integer;
  6645. begin
  6646. if Assigned(Source) and Source.InheritsFrom(Schema_AnnotationArray) then begin
  6647. src := Schema_AnnotationArray(Source);
  6648. c := src.Length;
  6649. Self.SetLength(c);
  6650. if ( c > 0 ) then begin
  6651. for i := 0 to Pred(c) do begin
  6652. Self[i] := src[i];
  6653. end;
  6654. end;
  6655. end else begin
  6656. inherited Assign(Source);
  6657. end;
  6658. end;
  6659. { TEntityType_KeyArray }
  6660. function TEntityType_KeyArray.GetItem(AIndex: Integer): TEntityKeyElement;
  6661. begin
  6662. Result := TEntityKeyElement(Inherited GetItem(AIndex));
  6663. end;
  6664. class function TEntityType_KeyArray.GetItemClass(): TBaseRemotableClass;
  6665. begin
  6666. Result:= TEntityKeyElement;
  6667. end;
  6668. function TEntityType_KeyArray.Add() : TEntityKeyElement;
  6669. begin
  6670. Result := TEntityKeyElement(inherited Add());
  6671. end;
  6672. function TEntityType_KeyArray.AddAt(const APosition : Integer) : TEntityKeyElement;
  6673. begin
  6674. Result := TEntityKeyElement(inherited AddAt(APosition));
  6675. end;
  6676. { TEntityType__PropertyArray }
  6677. function TEntityType__PropertyArray.GetItem(AIndex: Integer): TProperty;
  6678. begin
  6679. Result := TProperty(Inherited GetItem(AIndex));
  6680. end;
  6681. class function TEntityType__PropertyArray.GetItemClass(): TBaseRemotableClass;
  6682. begin
  6683. Result:= TProperty;
  6684. end;
  6685. function TEntityType__PropertyArray.Add() : TProperty;
  6686. begin
  6687. Result := TProperty(inherited Add());
  6688. end;
  6689. function TEntityType__PropertyArray.AddAt(const APosition : Integer) : TProperty;
  6690. begin
  6691. Result := TProperty(inherited AddAt(APosition));
  6692. end;
  6693. { TEntityType_NavigationPropertyArray }
  6694. function TEntityType_NavigationPropertyArray.GetItem(AIndex: Integer): TNavigationProperty;
  6695. begin
  6696. Result := TNavigationProperty(Inherited GetItem(AIndex));
  6697. end;
  6698. class function TEntityType_NavigationPropertyArray.GetItemClass(): TBaseRemotableClass;
  6699. begin
  6700. Result:= TNavigationProperty;
  6701. end;
  6702. function TEntityType_NavigationPropertyArray.Add() : TNavigationProperty;
  6703. begin
  6704. Result := TNavigationProperty(inherited Add());
  6705. end;
  6706. function TEntityType_NavigationPropertyArray.AddAt(const APosition : Integer) : TNavigationProperty;
  6707. begin
  6708. Result := TNavigationProperty(inherited AddAt(APosition));
  6709. end;
  6710. { TEntityType_AnnotationArray }
  6711. function TEntityType_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  6712. begin
  6713. CheckIndex(AIndex);
  6714. Result := FData[AIndex];
  6715. end;
  6716. procedure TEntityType_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  6717. begin
  6718. CheckIndex(AIndex);
  6719. FData[AIndex] := AValue;
  6720. end;
  6721. function TEntityType_AnnotationArray.GetLength(): Integer;
  6722. begin
  6723. Result := System.Length(FData);
  6724. end;
  6725. procedure TEntityType_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  6726. begin
  6727. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  6728. end;
  6729. procedure TEntityType_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  6730. var
  6731. sName : string;
  6732. begin
  6733. sName := 'Annotation';
  6734. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  6735. end;
  6736. class function TEntityType_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  6737. begin
  6738. Result := TypeInfo(Annotation_Type);
  6739. end;
  6740. procedure TEntityType_AnnotationArray.SetLength(const ANewSize: Integer);
  6741. var
  6742. i : Integer;
  6743. begin
  6744. if ( ANewSize < 0 ) then
  6745. i := 0
  6746. else
  6747. i := ANewSize;
  6748. System.SetLength(FData,i);
  6749. end;
  6750. procedure TEntityType_AnnotationArray.Assign(Source: TPersistent);
  6751. var
  6752. src : TEntityType_AnnotationArray;
  6753. i, c : Integer;
  6754. begin
  6755. if Assigned(Source) and Source.InheritsFrom(TEntityType_AnnotationArray) then begin
  6756. src := TEntityType_AnnotationArray(Source);
  6757. c := src.Length;
  6758. Self.SetLength(c);
  6759. if ( c > 0 ) then begin
  6760. for i := 0 to Pred(c) do begin
  6761. Self[i] := src[i];
  6762. end;
  6763. end;
  6764. end else begin
  6765. inherited Assign(Source);
  6766. end;
  6767. end;
  6768. { TEntityKeyElement }
  6769. function TEntityKeyElement.GetItem(AIndex: Integer): TPropertyRef;
  6770. begin
  6771. Result := TPropertyRef(Inherited GetItem(AIndex));
  6772. end;
  6773. class function TEntityKeyElement.GetItemClass(): TBaseRemotableClass;
  6774. begin
  6775. Result:= TPropertyRef;
  6776. end;
  6777. function TEntityKeyElement.Add() : TPropertyRef;
  6778. begin
  6779. Result := TPropertyRef(inherited Add());
  6780. end;
  6781. function TEntityKeyElement.AddAt(const APosition : Integer) : TPropertyRef;
  6782. begin
  6783. Result := TPropertyRef(inherited AddAt(APosition));
  6784. end;
  6785. { TComplexType__PropertyArray }
  6786. function TComplexType__PropertyArray.GetItem(AIndex: Integer): TProperty;
  6787. begin
  6788. Result := TProperty(Inherited GetItem(AIndex));
  6789. end;
  6790. class function TComplexType__PropertyArray.GetItemClass(): TBaseRemotableClass;
  6791. begin
  6792. Result:= TProperty;
  6793. end;
  6794. function TComplexType__PropertyArray.Add() : TProperty;
  6795. begin
  6796. Result := TProperty(inherited Add());
  6797. end;
  6798. function TComplexType__PropertyArray.AddAt(const APosition : Integer) : TProperty;
  6799. begin
  6800. Result := TProperty(inherited AddAt(APosition));
  6801. end;
  6802. { TComplexType_NavigationPropertyArray }
  6803. function TComplexType_NavigationPropertyArray.GetItem(AIndex: Integer): TNavigationProperty;
  6804. begin
  6805. Result := TNavigationProperty(Inherited GetItem(AIndex));
  6806. end;
  6807. class function TComplexType_NavigationPropertyArray.GetItemClass(): TBaseRemotableClass;
  6808. begin
  6809. Result:= TNavigationProperty;
  6810. end;
  6811. function TComplexType_NavigationPropertyArray.Add() : TNavigationProperty;
  6812. begin
  6813. Result := TNavigationProperty(inherited Add());
  6814. end;
  6815. function TComplexType_NavigationPropertyArray.AddAt(const APosition : Integer) : TNavigationProperty;
  6816. begin
  6817. Result := TNavigationProperty(inherited AddAt(APosition));
  6818. end;
  6819. { TComplexType_AnnotationArray }
  6820. function TComplexType_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  6821. begin
  6822. CheckIndex(AIndex);
  6823. Result := FData[AIndex];
  6824. end;
  6825. procedure TComplexType_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  6826. begin
  6827. CheckIndex(AIndex);
  6828. FData[AIndex] := AValue;
  6829. end;
  6830. function TComplexType_AnnotationArray.GetLength(): Integer;
  6831. begin
  6832. Result := System.Length(FData);
  6833. end;
  6834. procedure TComplexType_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  6835. begin
  6836. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  6837. end;
  6838. procedure TComplexType_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  6839. var
  6840. sName : string;
  6841. begin
  6842. sName := 'Annotation';
  6843. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  6844. end;
  6845. class function TComplexType_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  6846. begin
  6847. Result := TypeInfo(Annotation_Type);
  6848. end;
  6849. procedure TComplexType_AnnotationArray.SetLength(const ANewSize: Integer);
  6850. var
  6851. i : Integer;
  6852. begin
  6853. if ( ANewSize < 0 ) then
  6854. i := 0
  6855. else
  6856. i := ANewSize;
  6857. System.SetLength(FData,i);
  6858. end;
  6859. procedure TComplexType_AnnotationArray.Assign(Source: TPersistent);
  6860. var
  6861. src : TComplexType_AnnotationArray;
  6862. i, c : Integer;
  6863. begin
  6864. if Assigned(Source) and Source.InheritsFrom(TComplexType_AnnotationArray) then begin
  6865. src := TComplexType_AnnotationArray(Source);
  6866. c := src.Length;
  6867. Self.SetLength(c);
  6868. if ( c > 0 ) then begin
  6869. for i := 0 to Pred(c) do begin
  6870. Self[i] := src[i];
  6871. end;
  6872. end;
  6873. end else begin
  6874. inherited Assign(Source);
  6875. end;
  6876. end;
  6877. { TProperty_AnnotationArray }
  6878. function TProperty_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  6879. begin
  6880. CheckIndex(AIndex);
  6881. Result := FData[AIndex];
  6882. end;
  6883. procedure TProperty_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  6884. begin
  6885. CheckIndex(AIndex);
  6886. FData[AIndex] := AValue;
  6887. end;
  6888. function TProperty_AnnotationArray.GetLength(): Integer;
  6889. begin
  6890. Result := System.Length(FData);
  6891. end;
  6892. procedure TProperty_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  6893. begin
  6894. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  6895. end;
  6896. procedure TProperty_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  6897. var
  6898. sName : string;
  6899. begin
  6900. sName := 'Annotation';
  6901. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  6902. end;
  6903. class function TProperty_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  6904. begin
  6905. Result := TypeInfo(Annotation_Type);
  6906. end;
  6907. procedure TProperty_AnnotationArray.SetLength(const ANewSize: Integer);
  6908. var
  6909. i : Integer;
  6910. begin
  6911. if ( ANewSize < 0 ) then
  6912. i := 0
  6913. else
  6914. i := ANewSize;
  6915. System.SetLength(FData,i);
  6916. end;
  6917. procedure TProperty_AnnotationArray.Assign(Source: TPersistent);
  6918. var
  6919. src : TProperty_AnnotationArray;
  6920. i, c : Integer;
  6921. begin
  6922. if Assigned(Source) and Source.InheritsFrom(TProperty_AnnotationArray) then begin
  6923. src := TProperty_AnnotationArray(Source);
  6924. c := src.Length;
  6925. Self.SetLength(c);
  6926. if ( c > 0 ) then begin
  6927. for i := 0 to Pred(c) do begin
  6928. Self[i] := src[i];
  6929. end;
  6930. end;
  6931. end else begin
  6932. inherited Assign(Source);
  6933. end;
  6934. end;
  6935. { TTypeDefinition_AnnotationArray }
  6936. function TTypeDefinition_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  6937. begin
  6938. CheckIndex(AIndex);
  6939. Result := FData[AIndex];
  6940. end;
  6941. procedure TTypeDefinition_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  6942. begin
  6943. CheckIndex(AIndex);
  6944. FData[AIndex] := AValue;
  6945. end;
  6946. function TTypeDefinition_AnnotationArray.GetLength(): Integer;
  6947. begin
  6948. Result := System.Length(FData);
  6949. end;
  6950. procedure TTypeDefinition_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  6951. begin
  6952. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  6953. end;
  6954. procedure TTypeDefinition_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  6955. var
  6956. sName : string;
  6957. begin
  6958. sName := 'Annotation';
  6959. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  6960. end;
  6961. class function TTypeDefinition_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  6962. begin
  6963. Result := TypeInfo(Annotation_Type);
  6964. end;
  6965. procedure TTypeDefinition_AnnotationArray.SetLength(const ANewSize: Integer);
  6966. var
  6967. i : Integer;
  6968. begin
  6969. if ( ANewSize < 0 ) then
  6970. i := 0
  6971. else
  6972. i := ANewSize;
  6973. System.SetLength(FData,i);
  6974. end;
  6975. procedure TTypeDefinition_AnnotationArray.Assign(Source: TPersistent);
  6976. var
  6977. src : TTypeDefinition_AnnotationArray;
  6978. i, c : Integer;
  6979. begin
  6980. if Assigned(Source) and Source.InheritsFrom(TTypeDefinition_AnnotationArray) then begin
  6981. src := TTypeDefinition_AnnotationArray(Source);
  6982. c := src.Length;
  6983. Self.SetLength(c);
  6984. if ( c > 0 ) then begin
  6985. for i := 0 to Pred(c) do begin
  6986. Self[i] := src[i];
  6987. end;
  6988. end;
  6989. end else begin
  6990. inherited Assign(Source);
  6991. end;
  6992. end;
  6993. { TNavigationProperty_ReferentialConstraintArray }
  6994. function TNavigationProperty_ReferentialConstraintArray.GetItem(AIndex: Integer): TReferentialConstraint;
  6995. begin
  6996. Result := TReferentialConstraint(Inherited GetItem(AIndex));
  6997. end;
  6998. class function TNavigationProperty_ReferentialConstraintArray.GetItemClass(): TBaseRemotableClass;
  6999. begin
  7000. Result:= TReferentialConstraint;
  7001. end;
  7002. function TNavigationProperty_ReferentialConstraintArray.Add() : TReferentialConstraint;
  7003. begin
  7004. Result := TReferentialConstraint(inherited Add());
  7005. end;
  7006. function TNavigationProperty_ReferentialConstraintArray.AddAt(const APosition : Integer) : TReferentialConstraint;
  7007. begin
  7008. Result := TReferentialConstraint(inherited AddAt(APosition));
  7009. end;
  7010. { TNavigationProperty_OnDeleteArray }
  7011. function TNavigationProperty_OnDeleteArray.GetItem(AIndex: Integer): TOnDelete;
  7012. begin
  7013. Result := TOnDelete(Inherited GetItem(AIndex));
  7014. end;
  7015. class function TNavigationProperty_OnDeleteArray.GetItemClass(): TBaseRemotableClass;
  7016. begin
  7017. Result:= TOnDelete;
  7018. end;
  7019. function TNavigationProperty_OnDeleteArray.Add() : TOnDelete;
  7020. begin
  7021. Result := TOnDelete(inherited Add());
  7022. end;
  7023. function TNavigationProperty_OnDeleteArray.AddAt(const APosition : Integer) : TOnDelete;
  7024. begin
  7025. Result := TOnDelete(inherited AddAt(APosition));
  7026. end;
  7027. { TNavigationProperty_AnnotationArray }
  7028. function TNavigationProperty_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7029. begin
  7030. CheckIndex(AIndex);
  7031. Result := FData[AIndex];
  7032. end;
  7033. procedure TNavigationProperty_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7034. begin
  7035. CheckIndex(AIndex);
  7036. FData[AIndex] := AValue;
  7037. end;
  7038. function TNavigationProperty_AnnotationArray.GetLength(): Integer;
  7039. begin
  7040. Result := System.Length(FData);
  7041. end;
  7042. procedure TNavigationProperty_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7043. begin
  7044. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7045. end;
  7046. procedure TNavigationProperty_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7047. var
  7048. sName : string;
  7049. begin
  7050. sName := 'Annotation';
  7051. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7052. end;
  7053. class function TNavigationProperty_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7054. begin
  7055. Result := TypeInfo(Annotation_Type);
  7056. end;
  7057. procedure TNavigationProperty_AnnotationArray.SetLength(const ANewSize: Integer);
  7058. var
  7059. i : Integer;
  7060. begin
  7061. if ( ANewSize < 0 ) then
  7062. i := 0
  7063. else
  7064. i := ANewSize;
  7065. System.SetLength(FData,i);
  7066. end;
  7067. procedure TNavigationProperty_AnnotationArray.Assign(Source: TPersistent);
  7068. var
  7069. src : TNavigationProperty_AnnotationArray;
  7070. i, c : Integer;
  7071. begin
  7072. if Assigned(Source) and Source.InheritsFrom(TNavigationProperty_AnnotationArray) then begin
  7073. src := TNavigationProperty_AnnotationArray(Source);
  7074. c := src.Length;
  7075. Self.SetLength(c);
  7076. if ( c > 0 ) then begin
  7077. for i := 0 to Pred(c) do begin
  7078. Self[i] := src[i];
  7079. end;
  7080. end;
  7081. end else begin
  7082. inherited Assign(Source);
  7083. end;
  7084. end;
  7085. { TReferentialConstraint_AnnotationArray }
  7086. function TReferentialConstraint_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7087. begin
  7088. CheckIndex(AIndex);
  7089. Result := FData[AIndex];
  7090. end;
  7091. procedure TReferentialConstraint_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7092. begin
  7093. CheckIndex(AIndex);
  7094. FData[AIndex] := AValue;
  7095. end;
  7096. function TReferentialConstraint_AnnotationArray.GetLength(): Integer;
  7097. begin
  7098. Result := System.Length(FData);
  7099. end;
  7100. procedure TReferentialConstraint_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7101. begin
  7102. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7103. end;
  7104. procedure TReferentialConstraint_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7105. var
  7106. sName : string;
  7107. begin
  7108. sName := 'Annotation';
  7109. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7110. end;
  7111. class function TReferentialConstraint_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7112. begin
  7113. Result := TypeInfo(Annotation_Type);
  7114. end;
  7115. procedure TReferentialConstraint_AnnotationArray.SetLength(const ANewSize: Integer);
  7116. var
  7117. i : Integer;
  7118. begin
  7119. if ( ANewSize < 0 ) then
  7120. i := 0
  7121. else
  7122. i := ANewSize;
  7123. System.SetLength(FData,i);
  7124. end;
  7125. procedure TReferentialConstraint_AnnotationArray.Assign(Source: TPersistent);
  7126. var
  7127. src : TReferentialConstraint_AnnotationArray;
  7128. i, c : Integer;
  7129. begin
  7130. if Assigned(Source) and Source.InheritsFrom(TReferentialConstraint_AnnotationArray) then begin
  7131. src := TReferentialConstraint_AnnotationArray(Source);
  7132. c := src.Length;
  7133. Self.SetLength(c);
  7134. if ( c > 0 ) then begin
  7135. for i := 0 to Pred(c) do begin
  7136. Self[i] := src[i];
  7137. end;
  7138. end;
  7139. end else begin
  7140. inherited Assign(Source);
  7141. end;
  7142. end;
  7143. { TOnDelete_AnnotationArray }
  7144. function TOnDelete_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7145. begin
  7146. CheckIndex(AIndex);
  7147. Result := FData[AIndex];
  7148. end;
  7149. procedure TOnDelete_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7150. begin
  7151. CheckIndex(AIndex);
  7152. FData[AIndex] := AValue;
  7153. end;
  7154. function TOnDelete_AnnotationArray.GetLength(): Integer;
  7155. begin
  7156. Result := System.Length(FData);
  7157. end;
  7158. procedure TOnDelete_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7159. begin
  7160. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7161. end;
  7162. procedure TOnDelete_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7163. var
  7164. sName : string;
  7165. begin
  7166. sName := 'Annotation';
  7167. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7168. end;
  7169. class function TOnDelete_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7170. begin
  7171. Result := TypeInfo(Annotation_Type);
  7172. end;
  7173. procedure TOnDelete_AnnotationArray.SetLength(const ANewSize: Integer);
  7174. var
  7175. i : Integer;
  7176. begin
  7177. if ( ANewSize < 0 ) then
  7178. i := 0
  7179. else
  7180. i := ANewSize;
  7181. System.SetLength(FData,i);
  7182. end;
  7183. procedure TOnDelete_AnnotationArray.Assign(Source: TPersistent);
  7184. var
  7185. src : TOnDelete_AnnotationArray;
  7186. i, c : Integer;
  7187. begin
  7188. if Assigned(Source) and Source.InheritsFrom(TOnDelete_AnnotationArray) then begin
  7189. src := TOnDelete_AnnotationArray(Source);
  7190. c := src.Length;
  7191. Self.SetLength(c);
  7192. if ( c > 0 ) then begin
  7193. for i := 0 to Pred(c) do begin
  7194. Self[i] := src[i];
  7195. end;
  7196. end;
  7197. end else begin
  7198. inherited Assign(Source);
  7199. end;
  7200. end;
  7201. { TEnumType_MemberArray }
  7202. function TEnumType_MemberArray.GetItem(AIndex: Integer): TEnumTypeMember;
  7203. begin
  7204. Result := TEnumTypeMember(Inherited GetItem(AIndex));
  7205. end;
  7206. class function TEnumType_MemberArray.GetItemClass(): TBaseRemotableClass;
  7207. begin
  7208. Result:= TEnumTypeMember;
  7209. end;
  7210. function TEnumType_MemberArray.Add() : TEnumTypeMember;
  7211. begin
  7212. Result := TEnumTypeMember(inherited Add());
  7213. end;
  7214. function TEnumType_MemberArray.AddAt(const APosition : Integer) : TEnumTypeMember;
  7215. begin
  7216. Result := TEnumTypeMember(inherited AddAt(APosition));
  7217. end;
  7218. { TEnumType_AnnotationArray }
  7219. function TEnumType_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7220. begin
  7221. CheckIndex(AIndex);
  7222. Result := FData[AIndex];
  7223. end;
  7224. procedure TEnumType_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7225. begin
  7226. CheckIndex(AIndex);
  7227. FData[AIndex] := AValue;
  7228. end;
  7229. function TEnumType_AnnotationArray.GetLength(): Integer;
  7230. begin
  7231. Result := System.Length(FData);
  7232. end;
  7233. procedure TEnumType_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7234. begin
  7235. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7236. end;
  7237. procedure TEnumType_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7238. var
  7239. sName : string;
  7240. begin
  7241. sName := 'Annotation';
  7242. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7243. end;
  7244. class function TEnumType_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7245. begin
  7246. Result := TypeInfo(Annotation_Type);
  7247. end;
  7248. procedure TEnumType_AnnotationArray.SetLength(const ANewSize: Integer);
  7249. var
  7250. i : Integer;
  7251. begin
  7252. if ( ANewSize < 0 ) then
  7253. i := 0
  7254. else
  7255. i := ANewSize;
  7256. System.SetLength(FData,i);
  7257. end;
  7258. procedure TEnumType_AnnotationArray.Assign(Source: TPersistent);
  7259. var
  7260. src : TEnumType_AnnotationArray;
  7261. i, c : Integer;
  7262. begin
  7263. if Assigned(Source) and Source.InheritsFrom(TEnumType_AnnotationArray) then begin
  7264. src := TEnumType_AnnotationArray(Source);
  7265. c := src.Length;
  7266. Self.SetLength(c);
  7267. if ( c > 0 ) then begin
  7268. for i := 0 to Pred(c) do begin
  7269. Self[i] := src[i];
  7270. end;
  7271. end;
  7272. end else begin
  7273. inherited Assign(Source);
  7274. end;
  7275. end;
  7276. { TEnumTypeMember_AnnotationArray }
  7277. function TEnumTypeMember_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7278. begin
  7279. CheckIndex(AIndex);
  7280. Result := FData[AIndex];
  7281. end;
  7282. procedure TEnumTypeMember_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7283. begin
  7284. CheckIndex(AIndex);
  7285. FData[AIndex] := AValue;
  7286. end;
  7287. function TEnumTypeMember_AnnotationArray.GetLength(): Integer;
  7288. begin
  7289. Result := System.Length(FData);
  7290. end;
  7291. procedure TEnumTypeMember_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7292. begin
  7293. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7294. end;
  7295. procedure TEnumTypeMember_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7296. var
  7297. sName : string;
  7298. begin
  7299. sName := 'Annotation';
  7300. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7301. end;
  7302. class function TEnumTypeMember_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7303. begin
  7304. Result := TypeInfo(Annotation_Type);
  7305. end;
  7306. procedure TEnumTypeMember_AnnotationArray.SetLength(const ANewSize: Integer);
  7307. var
  7308. i : Integer;
  7309. begin
  7310. if ( ANewSize < 0 ) then
  7311. i := 0
  7312. else
  7313. i := ANewSize;
  7314. System.SetLength(FData,i);
  7315. end;
  7316. procedure TEnumTypeMember_AnnotationArray.Assign(Source: TPersistent);
  7317. var
  7318. src : TEnumTypeMember_AnnotationArray;
  7319. i, c : Integer;
  7320. begin
  7321. if Assigned(Source) and Source.InheritsFrom(TEnumTypeMember_AnnotationArray) then begin
  7322. src := TEnumTypeMember_AnnotationArray(Source);
  7323. c := src.Length;
  7324. Self.SetLength(c);
  7325. if ( c > 0 ) then begin
  7326. for i := 0 to Pred(c) do begin
  7327. Self[i] := src[i];
  7328. end;
  7329. end;
  7330. end else begin
  7331. inherited Assign(Source);
  7332. end;
  7333. end;
  7334. { TActionFunctionReturnType_AnnotationArray }
  7335. function TActionFunctionReturnType_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7336. begin
  7337. CheckIndex(AIndex);
  7338. Result := FData[AIndex];
  7339. end;
  7340. procedure TActionFunctionReturnType_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7341. begin
  7342. CheckIndex(AIndex);
  7343. FData[AIndex] := AValue;
  7344. end;
  7345. function TActionFunctionReturnType_AnnotationArray.GetLength(): Integer;
  7346. begin
  7347. Result := System.Length(FData);
  7348. end;
  7349. procedure TActionFunctionReturnType_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7350. begin
  7351. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7352. end;
  7353. procedure TActionFunctionReturnType_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7354. var
  7355. sName : string;
  7356. begin
  7357. sName := 'Annotation';
  7358. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7359. end;
  7360. class function TActionFunctionReturnType_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7361. begin
  7362. Result := TypeInfo(Annotation_Type);
  7363. end;
  7364. procedure TActionFunctionReturnType_AnnotationArray.SetLength(const ANewSize: Integer);
  7365. var
  7366. i : Integer;
  7367. begin
  7368. if ( ANewSize < 0 ) then
  7369. i := 0
  7370. else
  7371. i := ANewSize;
  7372. System.SetLength(FData,i);
  7373. end;
  7374. procedure TActionFunctionReturnType_AnnotationArray.Assign(Source: TPersistent);
  7375. var
  7376. src : TActionFunctionReturnType_AnnotationArray;
  7377. i, c : Integer;
  7378. begin
  7379. if Assigned(Source) and Source.InheritsFrom(TActionFunctionReturnType_AnnotationArray) then begin
  7380. src := TActionFunctionReturnType_AnnotationArray(Source);
  7381. c := src.Length;
  7382. Self.SetLength(c);
  7383. if ( c > 0 ) then begin
  7384. for i := 0 to Pred(c) do begin
  7385. Self[i] := src[i];
  7386. end;
  7387. end;
  7388. end else begin
  7389. inherited Assign(Source);
  7390. end;
  7391. end;
  7392. { TAction_ParameterArray }
  7393. function TAction_ParameterArray.GetItem(AIndex: Integer): TActionFunctionParameter;
  7394. begin
  7395. Result := TActionFunctionParameter(Inherited GetItem(AIndex));
  7396. end;
  7397. class function TAction_ParameterArray.GetItemClass(): TBaseRemotableClass;
  7398. begin
  7399. Result:= TActionFunctionParameter;
  7400. end;
  7401. function TAction_ParameterArray.Add() : TActionFunctionParameter;
  7402. begin
  7403. Result := TActionFunctionParameter(inherited Add());
  7404. end;
  7405. function TAction_ParameterArray.AddAt(const APosition : Integer) : TActionFunctionParameter;
  7406. begin
  7407. Result := TActionFunctionParameter(inherited AddAt(APosition));
  7408. end;
  7409. { TAction_AnnotationArray }
  7410. function TAction_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7411. begin
  7412. CheckIndex(AIndex);
  7413. Result := FData[AIndex];
  7414. end;
  7415. procedure TAction_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7416. begin
  7417. CheckIndex(AIndex);
  7418. FData[AIndex] := AValue;
  7419. end;
  7420. function TAction_AnnotationArray.GetLength(): Integer;
  7421. begin
  7422. Result := System.Length(FData);
  7423. end;
  7424. procedure TAction_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7425. begin
  7426. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7427. end;
  7428. procedure TAction_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7429. var
  7430. sName : string;
  7431. begin
  7432. sName := 'Annotation';
  7433. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7434. end;
  7435. class function TAction_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7436. begin
  7437. Result := TypeInfo(Annotation_Type);
  7438. end;
  7439. procedure TAction_AnnotationArray.SetLength(const ANewSize: Integer);
  7440. var
  7441. i : Integer;
  7442. begin
  7443. if ( ANewSize < 0 ) then
  7444. i := 0
  7445. else
  7446. i := ANewSize;
  7447. System.SetLength(FData,i);
  7448. end;
  7449. procedure TAction_AnnotationArray.Assign(Source: TPersistent);
  7450. var
  7451. src : TAction_AnnotationArray;
  7452. i, c : Integer;
  7453. begin
  7454. if Assigned(Source) and Source.InheritsFrom(TAction_AnnotationArray) then begin
  7455. src := TAction_AnnotationArray(Source);
  7456. c := src.Length;
  7457. Self.SetLength(c);
  7458. if ( c > 0 ) then begin
  7459. for i := 0 to Pred(c) do begin
  7460. Self[i] := src[i];
  7461. end;
  7462. end;
  7463. end else begin
  7464. inherited Assign(Source);
  7465. end;
  7466. end;
  7467. { TFunction_ParameterArray }
  7468. function TFunction_ParameterArray.GetItem(AIndex: Integer): TActionFunctionParameter;
  7469. begin
  7470. Result := TActionFunctionParameter(Inherited GetItem(AIndex));
  7471. end;
  7472. class function TFunction_ParameterArray.GetItemClass(): TBaseRemotableClass;
  7473. begin
  7474. Result:= TActionFunctionParameter;
  7475. end;
  7476. function TFunction_ParameterArray.Add() : TActionFunctionParameter;
  7477. begin
  7478. Result := TActionFunctionParameter(inherited Add());
  7479. end;
  7480. function TFunction_ParameterArray.AddAt(const APosition : Integer) : TActionFunctionParameter;
  7481. begin
  7482. Result := TActionFunctionParameter(inherited AddAt(APosition));
  7483. end;
  7484. { TFunction_AnnotationArray }
  7485. function TFunction_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7486. begin
  7487. CheckIndex(AIndex);
  7488. Result := FData[AIndex];
  7489. end;
  7490. procedure TFunction_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7491. begin
  7492. CheckIndex(AIndex);
  7493. FData[AIndex] := AValue;
  7494. end;
  7495. function TFunction_AnnotationArray.GetLength(): Integer;
  7496. begin
  7497. Result := System.Length(FData);
  7498. end;
  7499. procedure TFunction_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7500. begin
  7501. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7502. end;
  7503. procedure TFunction_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7504. var
  7505. sName : string;
  7506. begin
  7507. sName := 'Annotation';
  7508. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7509. end;
  7510. class function TFunction_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7511. begin
  7512. Result := TypeInfo(Annotation_Type);
  7513. end;
  7514. procedure TFunction_AnnotationArray.SetLength(const ANewSize: Integer);
  7515. var
  7516. i : Integer;
  7517. begin
  7518. if ( ANewSize < 0 ) then
  7519. i := 0
  7520. else
  7521. i := ANewSize;
  7522. System.SetLength(FData,i);
  7523. end;
  7524. procedure TFunction_AnnotationArray.Assign(Source: TPersistent);
  7525. var
  7526. src : TFunction_AnnotationArray;
  7527. i, c : Integer;
  7528. begin
  7529. if Assigned(Source) and Source.InheritsFrom(TFunction_AnnotationArray) then begin
  7530. src := TFunction_AnnotationArray(Source);
  7531. c := src.Length;
  7532. Self.SetLength(c);
  7533. if ( c > 0 ) then begin
  7534. for i := 0 to Pred(c) do begin
  7535. Self[i] := src[i];
  7536. end;
  7537. end;
  7538. end else begin
  7539. inherited Assign(Source);
  7540. end;
  7541. end;
  7542. { TActionFunctionParameter_AnnotationArray }
  7543. function TActionFunctionParameter_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7544. begin
  7545. CheckIndex(AIndex);
  7546. Result := FData[AIndex];
  7547. end;
  7548. procedure TActionFunctionParameter_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7549. begin
  7550. CheckIndex(AIndex);
  7551. FData[AIndex] := AValue;
  7552. end;
  7553. function TActionFunctionParameter_AnnotationArray.GetLength(): Integer;
  7554. begin
  7555. Result := System.Length(FData);
  7556. end;
  7557. procedure TActionFunctionParameter_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7558. begin
  7559. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7560. end;
  7561. procedure TActionFunctionParameter_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7562. var
  7563. sName : string;
  7564. begin
  7565. sName := 'Annotation';
  7566. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7567. end;
  7568. class function TActionFunctionParameter_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7569. begin
  7570. Result := TypeInfo(Annotation_Type);
  7571. end;
  7572. procedure TActionFunctionParameter_AnnotationArray.SetLength(const ANewSize: Integer);
  7573. var
  7574. i : Integer;
  7575. begin
  7576. if ( ANewSize < 0 ) then
  7577. i := 0
  7578. else
  7579. i := ANewSize;
  7580. System.SetLength(FData,i);
  7581. end;
  7582. procedure TActionFunctionParameter_AnnotationArray.Assign(Source: TPersistent);
  7583. var
  7584. src : TActionFunctionParameter_AnnotationArray;
  7585. i, c : Integer;
  7586. begin
  7587. if Assigned(Source) and Source.InheritsFrom(TActionFunctionParameter_AnnotationArray) then begin
  7588. src := TActionFunctionParameter_AnnotationArray(Source);
  7589. c := src.Length;
  7590. Self.SetLength(c);
  7591. if ( c > 0 ) then begin
  7592. for i := 0 to Pred(c) do begin
  7593. Self[i] := src[i];
  7594. end;
  7595. end;
  7596. end else begin
  7597. inherited Assign(Source);
  7598. end;
  7599. end;
  7600. { TTerm_AnnotationArray }
  7601. function TTerm_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7602. begin
  7603. CheckIndex(AIndex);
  7604. Result := FData[AIndex];
  7605. end;
  7606. procedure TTerm_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7607. begin
  7608. CheckIndex(AIndex);
  7609. FData[AIndex] := AValue;
  7610. end;
  7611. function TTerm_AnnotationArray.GetLength(): Integer;
  7612. begin
  7613. Result := System.Length(FData);
  7614. end;
  7615. procedure TTerm_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7616. begin
  7617. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7618. end;
  7619. procedure TTerm_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7620. var
  7621. sName : string;
  7622. begin
  7623. sName := 'Annotation';
  7624. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7625. end;
  7626. class function TTerm_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7627. begin
  7628. Result := TypeInfo(Annotation_Type);
  7629. end;
  7630. procedure TTerm_AnnotationArray.SetLength(const ANewSize: Integer);
  7631. var
  7632. i : Integer;
  7633. begin
  7634. if ( ANewSize < 0 ) then
  7635. i := 0
  7636. else
  7637. i := ANewSize;
  7638. System.SetLength(FData,i);
  7639. end;
  7640. procedure TTerm_AnnotationArray.Assign(Source: TPersistent);
  7641. var
  7642. src : TTerm_AnnotationArray;
  7643. i, c : Integer;
  7644. begin
  7645. if Assigned(Source) and Source.InheritsFrom(TTerm_AnnotationArray) then begin
  7646. src := TTerm_AnnotationArray(Source);
  7647. c := src.Length;
  7648. Self.SetLength(c);
  7649. if ( c > 0 ) then begin
  7650. for i := 0 to Pred(c) do begin
  7651. Self[i] := src[i];
  7652. end;
  7653. end;
  7654. end else begin
  7655. inherited Assign(Source);
  7656. end;
  7657. end;
  7658. { TAnnotations_AnnotationArray }
  7659. function TAnnotations_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7660. begin
  7661. CheckIndex(AIndex);
  7662. Result := FData[AIndex];
  7663. end;
  7664. procedure TAnnotations_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7665. begin
  7666. CheckIndex(AIndex);
  7667. FData[AIndex] := AValue;
  7668. end;
  7669. function TAnnotations_AnnotationArray.GetLength(): Integer;
  7670. begin
  7671. Result := System.Length(FData);
  7672. end;
  7673. procedure TAnnotations_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7674. begin
  7675. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7676. end;
  7677. procedure TAnnotations_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7678. var
  7679. sName : string;
  7680. begin
  7681. sName := 'Annotation';
  7682. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7683. end;
  7684. class function TAnnotations_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7685. begin
  7686. Result := TypeInfo(Annotation_Type);
  7687. end;
  7688. procedure TAnnotations_AnnotationArray.SetLength(const ANewSize: Integer);
  7689. var
  7690. i : Integer;
  7691. begin
  7692. if ( ANewSize < 0 ) then
  7693. i := 0
  7694. else
  7695. i := ANewSize;
  7696. System.SetLength(FData,i);
  7697. end;
  7698. procedure TAnnotations_AnnotationArray.Assign(Source: TPersistent);
  7699. var
  7700. src : TAnnotations_AnnotationArray;
  7701. i, c : Integer;
  7702. begin
  7703. if Assigned(Source) and Source.InheritsFrom(TAnnotations_AnnotationArray) then begin
  7704. src := TAnnotations_AnnotationArray(Source);
  7705. c := src.Length;
  7706. Self.SetLength(c);
  7707. if ( c > 0 ) then begin
  7708. for i := 0 to Pred(c) do begin
  7709. Self[i] := src[i];
  7710. end;
  7711. end;
  7712. end else begin
  7713. inherited Assign(Source);
  7714. end;
  7715. end;
  7716. { Annotation_AnnotationArray }
  7717. function Annotation_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7718. begin
  7719. CheckIndex(AIndex);
  7720. Result := FData[AIndex];
  7721. end;
  7722. procedure Annotation_AnnotationArray.SetItem(AIndex: Integer;const AValue: Annotation_Type);
  7723. begin
  7724. CheckIndex(AIndex);
  7725. FData[AIndex] := AValue;
  7726. end;
  7727. function Annotation_AnnotationArray.GetLength(): Integer;
  7728. begin
  7729. Result := System.Length(FData);
  7730. end;
  7731. procedure Annotation_AnnotationArray.SaveItem(AStore: IFormatterBase;const AName: String; const AIndex: Integer);
  7732. begin
  7733. AStore.Put('Annotation',TypeInfo(Annotation_Type),FData[AIndex]);
  7734. end;
  7735. procedure Annotation_AnnotationArray.LoadItem(AStore: IFormatterBase;const AIndex: Integer);
  7736. var
  7737. sName : string;
  7738. begin
  7739. sName := 'Annotation';
  7740. AStore.Get(TypeInfo(Annotation_Type),sName,FData[AIndex]);
  7741. end;
  7742. class function Annotation_AnnotationArray.GetItemTypeInfo(): PTypeInfo;
  7743. begin
  7744. Result := TypeInfo(Annotation_Type);
  7745. end;
  7746. procedure Annotation_AnnotationArray.SetLength(const ANewSize: Integer);
  7747. var
  7748. i : Integer;
  7749. begin
  7750. if ( ANewSize < 0 ) then
  7751. i := 0
  7752. else
  7753. i := ANewSize;
  7754. System.SetLength(FData,i);
  7755. end;
  7756. procedure Annotation_AnnotationArray.Assign(Source: TPersistent);
  7757. var
  7758. src : Annotation_AnnotationArray;
  7759. i, c : Integer;
  7760. begin
  7761. if Assigned(Source) and Source.InheritsFrom(Annotation_AnnotationArray) then begin
  7762. src := Annotation_AnnotationArray(Source);
  7763. c := src.Length;
  7764. Self.SetLength(c);
  7765. if ( c > 0 ) then begin
  7766. for i := 0 to Pred(c) do begin
  7767. Self[i] := src[i];
  7768. end;
  7769. end;
  7770. end else begin
  7771. inherited Assign(Source);
  7772. end;
  7773. end;
  7774. { TApplyExpression_AnnotationArray }
  7775. function TApplyExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7776. begin
  7777. Result := Annotation_Type(Inherited GetItem(AIndex));
  7778. end;
  7779. class function TApplyExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7780. begin
  7781. Result:= Annotation_Type;
  7782. end;
  7783. function TApplyExpression_AnnotationArray.Add() : Annotation_Type;
  7784. begin
  7785. Result := Annotation_Type(inherited Add());
  7786. end;
  7787. function TApplyExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7788. begin
  7789. Result := Annotation_Type(inherited AddAt(APosition));
  7790. end;
  7791. { TCastOrIsOfExpression_AnnotationArray }
  7792. function TCastOrIsOfExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7793. begin
  7794. Result := Annotation_Type(Inherited GetItem(AIndex));
  7795. end;
  7796. class function TCastOrIsOfExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7797. begin
  7798. Result:= Annotation_Type;
  7799. end;
  7800. function TCastOrIsOfExpression_AnnotationArray.Add() : Annotation_Type;
  7801. begin
  7802. Result := Annotation_Type(inherited Add());
  7803. end;
  7804. function TCastOrIsOfExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7805. begin
  7806. Result := Annotation_Type(inherited AddAt(APosition));
  7807. end;
  7808. { TIfExpression_AnnotationArray }
  7809. function TIfExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7810. begin
  7811. Result := Annotation_Type(Inherited GetItem(AIndex));
  7812. end;
  7813. class function TIfExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7814. begin
  7815. Result:= Annotation_Type;
  7816. end;
  7817. function TIfExpression_AnnotationArray.Add() : Annotation_Type;
  7818. begin
  7819. Result := Annotation_Type(inherited Add());
  7820. end;
  7821. function TIfExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7822. begin
  7823. Result := Annotation_Type(inherited AddAt(APosition));
  7824. end;
  7825. { TOneChildExpression_AnnotationArray }
  7826. function TOneChildExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7827. begin
  7828. Result := Annotation_Type(Inherited GetItem(AIndex));
  7829. end;
  7830. class function TOneChildExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7831. begin
  7832. Result:= Annotation_Type;
  7833. end;
  7834. function TOneChildExpression_AnnotationArray.Add() : Annotation_Type;
  7835. begin
  7836. Result := Annotation_Type(inherited Add());
  7837. end;
  7838. function TOneChildExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7839. begin
  7840. Result := Annotation_Type(inherited AddAt(APosition));
  7841. end;
  7842. { TTwoChildrenExpression_AnnotationArray }
  7843. function TTwoChildrenExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7844. begin
  7845. Result := Annotation_Type(Inherited GetItem(AIndex));
  7846. end;
  7847. class function TTwoChildrenExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7848. begin
  7849. Result:= Annotation_Type;
  7850. end;
  7851. function TTwoChildrenExpression_AnnotationArray.Add() : Annotation_Type;
  7852. begin
  7853. Result := Annotation_Type(inherited Add());
  7854. end;
  7855. function TTwoChildrenExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7856. begin
  7857. Result := Annotation_Type(inherited AddAt(APosition));
  7858. end;
  7859. { TLabeledElementExpression_AnnotationArray }
  7860. function TLabeledElementExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7861. begin
  7862. Result := Annotation_Type(Inherited GetItem(AIndex));
  7863. end;
  7864. class function TLabeledElementExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7865. begin
  7866. Result:= Annotation_Type;
  7867. end;
  7868. function TLabeledElementExpression_AnnotationArray.Add() : Annotation_Type;
  7869. begin
  7870. Result := Annotation_Type(inherited Add());
  7871. end;
  7872. function TLabeledElementExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7873. begin
  7874. Result := Annotation_Type(inherited AddAt(APosition));
  7875. end;
  7876. { TNullExpression }
  7877. function TNullExpression.GetItem(AIndex: Integer): Annotation_Type;
  7878. begin
  7879. Result := Annotation_Type(Inherited GetItem(AIndex));
  7880. end;
  7881. class function TNullExpression.GetItemClass(): TBaseRemotableClass;
  7882. begin
  7883. Result:= Annotation_Type;
  7884. end;
  7885. function TNullExpression.Add() : Annotation_Type;
  7886. begin
  7887. Result := Annotation_Type(inherited Add());
  7888. end;
  7889. function TNullExpression.AddAt(const APosition : Integer) : Annotation_Type;
  7890. begin
  7891. Result := Annotation_Type(inherited AddAt(APosition));
  7892. end;
  7893. { TRecordExpression_PropertyValueArray }
  7894. function TRecordExpression_PropertyValueArray.GetItem(AIndex: Integer): TPropertyValue;
  7895. begin
  7896. Result := TPropertyValue(Inherited GetItem(AIndex));
  7897. end;
  7898. class function TRecordExpression_PropertyValueArray.GetItemClass(): TBaseRemotableClass;
  7899. begin
  7900. Result:= TPropertyValue;
  7901. end;
  7902. function TRecordExpression_PropertyValueArray.Add() : TPropertyValue;
  7903. begin
  7904. Result := TPropertyValue(inherited Add());
  7905. end;
  7906. function TRecordExpression_PropertyValueArray.AddAt(const APosition : Integer) : TPropertyValue;
  7907. begin
  7908. Result := TPropertyValue(inherited AddAt(APosition));
  7909. end;
  7910. { TRecordExpression_AnnotationArray }
  7911. function TRecordExpression_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7912. begin
  7913. Result := Annotation_Type(Inherited GetItem(AIndex));
  7914. end;
  7915. class function TRecordExpression_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7916. begin
  7917. Result:= Annotation_Type;
  7918. end;
  7919. function TRecordExpression_AnnotationArray.Add() : Annotation_Type;
  7920. begin
  7921. Result := Annotation_Type(inherited Add());
  7922. end;
  7923. function TRecordExpression_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7924. begin
  7925. Result := Annotation_Type(inherited AddAt(APosition));
  7926. end;
  7927. { TPropertyValue_AnnotationArray }
  7928. function TPropertyValue_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  7929. begin
  7930. Result := Annotation_Type(Inherited GetItem(AIndex));
  7931. end;
  7932. class function TPropertyValue_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  7933. begin
  7934. Result:= Annotation_Type;
  7935. end;
  7936. function TPropertyValue_AnnotationArray.Add() : Annotation_Type;
  7937. begin
  7938. Result := Annotation_Type(inherited Add());
  7939. end;
  7940. function TPropertyValue_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  7941. begin
  7942. Result := Annotation_Type(inherited AddAt(APosition));
  7943. end;
  7944. { TEntityContainer_EntitySetArray }
  7945. function TEntityContainer_EntitySetArray.GetItem(AIndex: Integer): TEntitySet;
  7946. begin
  7947. Result := TEntitySet(Inherited GetItem(AIndex));
  7948. end;
  7949. class function TEntityContainer_EntitySetArray.GetItemClass(): TBaseRemotableClass;
  7950. begin
  7951. Result:= TEntitySet;
  7952. end;
  7953. function TEntityContainer_EntitySetArray.Add() : TEntitySet;
  7954. begin
  7955. Result := TEntitySet(inherited Add());
  7956. end;
  7957. function TEntityContainer_EntitySetArray.AddAt(const APosition : Integer) : TEntitySet;
  7958. begin
  7959. Result := TEntitySet(inherited AddAt(APosition));
  7960. end;
  7961. { TEntityContainer_ActionImportArray }
  7962. function TEntityContainer_ActionImportArray.GetItem(AIndex: Integer): TActionImport;
  7963. begin
  7964. Result := TActionImport(Inherited GetItem(AIndex));
  7965. end;
  7966. class function TEntityContainer_ActionImportArray.GetItemClass(): TBaseRemotableClass;
  7967. begin
  7968. Result:= TActionImport;
  7969. end;
  7970. function TEntityContainer_ActionImportArray.Add() : TActionImport;
  7971. begin
  7972. Result := TActionImport(inherited Add());
  7973. end;
  7974. function TEntityContainer_ActionImportArray.AddAt(const APosition : Integer) : TActionImport;
  7975. begin
  7976. Result := TActionImport(inherited AddAt(APosition));
  7977. end;
  7978. { TEntityContainer_FunctionImportArray }
  7979. function TEntityContainer_FunctionImportArray.GetItem(AIndex: Integer): TFunctionImport;
  7980. begin
  7981. Result := TFunctionImport(Inherited GetItem(AIndex));
  7982. end;
  7983. class function TEntityContainer_FunctionImportArray.GetItemClass(): TBaseRemotableClass;
  7984. begin
  7985. Result:= TFunctionImport;
  7986. end;
  7987. function TEntityContainer_FunctionImportArray.Add() : TFunctionImport;
  7988. begin
  7989. Result := TFunctionImport(inherited Add());
  7990. end;
  7991. function TEntityContainer_FunctionImportArray.AddAt(const APosition : Integer) : TFunctionImport;
  7992. begin
  7993. Result := TFunctionImport(inherited AddAt(APosition));
  7994. end;
  7995. { TEntityContainer_SingletonArray }
  7996. function TEntityContainer_SingletonArray.GetItem(AIndex: Integer): TSingleton;
  7997. begin
  7998. Result := TSingleton(Inherited GetItem(AIndex));
  7999. end;
  8000. class function TEntityContainer_SingletonArray.GetItemClass(): TBaseRemotableClass;
  8001. begin
  8002. Result:= TSingleton;
  8003. end;
  8004. function TEntityContainer_SingletonArray.Add() : TSingleton;
  8005. begin
  8006. Result := TSingleton(inherited Add());
  8007. end;
  8008. function TEntityContainer_SingletonArray.AddAt(const APosition : Integer) : TSingleton;
  8009. begin
  8010. Result := TSingleton(inherited AddAt(APosition));
  8011. end;
  8012. { TEntityContainer_AnnotationArray }
  8013. function TEntityContainer_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  8014. begin
  8015. Result := Annotation_Type(Inherited GetItem(AIndex));
  8016. end;
  8017. class function TEntityContainer_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  8018. begin
  8019. Result:= Annotation_Type;
  8020. end;
  8021. function TEntityContainer_AnnotationArray.Add() : Annotation_Type;
  8022. begin
  8023. Result := Annotation_Type(inherited Add());
  8024. end;
  8025. function TEntityContainer_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  8026. begin
  8027. Result := Annotation_Type(inherited AddAt(APosition));
  8028. end;
  8029. { TEntitySet_NavigationPropertyBindingArray }
  8030. function TEntitySet_NavigationPropertyBindingArray.GetItem(AIndex: Integer): TNavigationPropertyBinding;
  8031. begin
  8032. Result := TNavigationPropertyBinding(Inherited GetItem(AIndex));
  8033. end;
  8034. class function TEntitySet_NavigationPropertyBindingArray.GetItemClass(): TBaseRemotableClass;
  8035. begin
  8036. Result:= TNavigationPropertyBinding;
  8037. end;
  8038. function TEntitySet_NavigationPropertyBindingArray.Add() : TNavigationPropertyBinding;
  8039. begin
  8040. Result := TNavigationPropertyBinding(inherited Add());
  8041. end;
  8042. function TEntitySet_NavigationPropertyBindingArray.AddAt(const APosition : Integer) : TNavigationPropertyBinding;
  8043. begin
  8044. Result := TNavigationPropertyBinding(inherited AddAt(APosition));
  8045. end;
  8046. { TEntitySet_AnnotationArray }
  8047. function TEntitySet_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  8048. begin
  8049. Result := Annotation_Type(Inherited GetItem(AIndex));
  8050. end;
  8051. class function TEntitySet_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  8052. begin
  8053. Result:= Annotation_Type;
  8054. end;
  8055. function TEntitySet_AnnotationArray.Add() : Annotation_Type;
  8056. begin
  8057. Result := Annotation_Type(inherited Add());
  8058. end;
  8059. function TEntitySet_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  8060. begin
  8061. Result := Annotation_Type(inherited AddAt(APosition));
  8062. end;
  8063. { TSingleton_NavigationPropertyBindingArray }
  8064. function TSingleton_NavigationPropertyBindingArray.GetItem(AIndex: Integer): TNavigationPropertyBinding;
  8065. begin
  8066. Result := TNavigationPropertyBinding(Inherited GetItem(AIndex));
  8067. end;
  8068. class function TSingleton_NavigationPropertyBindingArray.GetItemClass(): TBaseRemotableClass;
  8069. begin
  8070. Result:= TNavigationPropertyBinding;
  8071. end;
  8072. function TSingleton_NavigationPropertyBindingArray.Add() : TNavigationPropertyBinding;
  8073. begin
  8074. Result := TNavigationPropertyBinding(inherited Add());
  8075. end;
  8076. function TSingleton_NavigationPropertyBindingArray.AddAt(const APosition : Integer) : TNavigationPropertyBinding;
  8077. begin
  8078. Result := TNavigationPropertyBinding(inherited AddAt(APosition));
  8079. end;
  8080. { TSingleton_AnnotationArray }
  8081. function TSingleton_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  8082. begin
  8083. Result := Annotation_Type(Inherited GetItem(AIndex));
  8084. end;
  8085. class function TSingleton_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  8086. begin
  8087. Result:= Annotation_Type;
  8088. end;
  8089. function TSingleton_AnnotationArray.Add() : Annotation_Type;
  8090. begin
  8091. Result := Annotation_Type(inherited Add());
  8092. end;
  8093. function TSingleton_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  8094. begin
  8095. Result := Annotation_Type(inherited AddAt(APosition));
  8096. end;
  8097. { TActionImport_AnnotationArray }
  8098. function TActionImport_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  8099. begin
  8100. Result := Annotation_Type(Inherited GetItem(AIndex));
  8101. end;
  8102. class function TActionImport_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  8103. begin
  8104. Result:= Annotation_Type;
  8105. end;
  8106. function TActionImport_AnnotationArray.Add() : Annotation_Type;
  8107. begin
  8108. Result := Annotation_Type(inherited Add());
  8109. end;
  8110. function TActionImport_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  8111. begin
  8112. Result := Annotation_Type(inherited AddAt(APosition));
  8113. end;
  8114. { TFunctionImport_AnnotationArray }
  8115. function TFunctionImport_AnnotationArray.GetItem(AIndex: Integer): Annotation_Type;
  8116. begin
  8117. Result := Annotation_Type(Inherited GetItem(AIndex));
  8118. end;
  8119. class function TFunctionImport_AnnotationArray.GetItemClass(): TBaseRemotableClass;
  8120. begin
  8121. Result:= Annotation_Type;
  8122. end;
  8123. function TFunctionImport_AnnotationArray.Add() : Annotation_Type;
  8124. begin
  8125. Result := Annotation_Type(inherited Add());
  8126. end;
  8127. function TFunctionImport_AnnotationArray.AddAt(const APosition : Integer) : Annotation_Type;
  8128. begin
  8129. Result := Annotation_Type(inherited AddAt(APosition));
  8130. end;
  8131. var
  8132. typeRegistryInstance : TTypeRegistry = nil;
  8133. initialization
  8134. typeRegistryInstance := GetTypeRegistry();
  8135. Schema.RegisterAttributeProperty('Namespace');
  8136. Schema.RegisterAttributeProperty('Alias');
  8137. TTypeAttributes.RegisterAttributeProperty('Name');
  8138. TDerivableTypeAttributes.RegisterAttributeProperty('BaseType');
  8139. TDerivableTypeAttributes.RegisterAttributeProperty('_Abstract');
  8140. TDerivableTypeAttributes.RegisterAttributeProperty('Name');
  8141. TEntityType.RegisterAttributeProperty('OpenType');
  8142. TEntityType.RegisterAttributeProperty('HasStream');
  8143. TEntityType.RegisterAttributeProperty('BaseType');
  8144. TEntityType.RegisterAttributeProperty('_Abstract');
  8145. TEntityType.RegisterAttributeProperty('Name');
  8146. TPropertyRef.RegisterAttributeProperty('Name');
  8147. TPropertyRef.RegisterAttributeProperty('Alias');
  8148. TComplexType.RegisterAttributeProperty('OpenType');
  8149. TComplexType.RegisterAttributeProperty('BaseType');
  8150. TComplexType.RegisterAttributeProperty('_Abstract');
  8151. TComplexType.RegisterAttributeProperty('Name');
  8152. TFacetAttributes.RegisterAttributeProperty('MaxLength');
  8153. TFacetAttributes.RegisterAttributeProperty('Precision');
  8154. TFacetAttributes.RegisterAttributeProperty('Scale');
  8155. TFacetAttributes.RegisterAttributeProperty('SRID');
  8156. TPropertyFacetAttributes.RegisterAttributeProperty('Unicode');
  8157. TCommonPropertyAttributes.RegisterAttributeProperty('Name');
  8158. TCommonPropertyAttributes.RegisterAttributeProperty('_Type');
  8159. TCommonPropertyAttributes.RegisterAttributeProperty('Nullable');
  8160. TCommonPropertyAttributes.RegisterAttributeProperty('DefaultValue');
  8161. TCommonPropertyAttributes.RegisterAttributeProperty('MaxLength');
  8162. TCommonPropertyAttributes.RegisterAttributeProperty('Precision');
  8163. TCommonPropertyAttributes.RegisterAttributeProperty('Scale');
  8164. TCommonPropertyAttributes.RegisterAttributeProperty('SRID');
  8165. TCommonPropertyAttributes.RegisterAttributeProperty('Unicode');
  8166. TProperty.RegisterAttributeProperty('Name');
  8167. TProperty.RegisterAttributeProperty('_Type');
  8168. TProperty.RegisterAttributeProperty('Nullable');
  8169. TProperty.RegisterAttributeProperty('DefaultValue');
  8170. TProperty.RegisterAttributeProperty('MaxLength');
  8171. TProperty.RegisterAttributeProperty('Precision');
  8172. TProperty.RegisterAttributeProperty('Scale');
  8173. TProperty.RegisterAttributeProperty('SRID');
  8174. TProperty.RegisterAttributeProperty('Unicode');
  8175. TTypeDefinition.RegisterAttributeProperty('Name');
  8176. TTypeDefinition.RegisterAttributeProperty('UnderlyingType');
  8177. TTypeDefinition.RegisterAttributeProperty('MaxLength');
  8178. TTypeDefinition.RegisterAttributeProperty('Precision');
  8179. TTypeDefinition.RegisterAttributeProperty('Scale');
  8180. TTypeDefinition.RegisterAttributeProperty('SRID');
  8181. TTypeDefinition.RegisterAttributeProperty('Unicode');
  8182. TNavigationProperty.RegisterAttributeProperty('Name');
  8183. TNavigationProperty.RegisterAttributeProperty('_Type');
  8184. TNavigationProperty.RegisterAttributeProperty('Nullable');
  8185. TNavigationProperty.RegisterAttributeProperty('Partner');
  8186. TNavigationProperty.RegisterAttributeProperty('ContainsTarget');
  8187. TReferentialConstraint.RegisterAttributeProperty('_Property');
  8188. TReferentialConstraint.RegisterAttributeProperty('ReferencedProperty');
  8189. TOnDelete.RegisterAttributeProperty('Action');
  8190. TEnumType.RegisterAttributeProperty('IsFlags');
  8191. TEnumType.RegisterAttributeProperty('UnderlyingType');
  8192. TEnumType.RegisterAttributeProperty('Name');
  8193. TEnumTypeMember.RegisterAttributeProperty('Name');
  8194. TEnumTypeMember.RegisterAttributeProperty('Value');
  8195. TActionFunctionReturnType.RegisterAttributeProperty('_Type');
  8196. TActionFunctionReturnType.RegisterAttributeProperty('Nullable');
  8197. TActionFunctionReturnType.RegisterAttributeProperty('MaxLength');
  8198. TActionFunctionReturnType.RegisterAttributeProperty('Precision');
  8199. TActionFunctionReturnType.RegisterAttributeProperty('Scale');
  8200. TActionFunctionReturnType.RegisterAttributeProperty('SRID');
  8201. TActionAttributes.RegisterAttributeProperty('Name');
  8202. TActionAttributes.RegisterAttributeProperty('EntitySetPath');
  8203. TActionAttributes.RegisterAttributeProperty('IsBound');
  8204. TAction.RegisterAttributeProperty('Name');
  8205. TAction.RegisterAttributeProperty('EntitySetPath');
  8206. TAction.RegisterAttributeProperty('IsBound');
  8207. TFunctionAttributes.RegisterAttributeProperty('Name');
  8208. TFunctionAttributes.RegisterAttributeProperty('EntitySetPath');
  8209. TFunctionAttributes.RegisterAttributeProperty('IsBound');
  8210. TFunctionAttributes.RegisterAttributeProperty('IsComposable');
  8211. TFunction.RegisterAttributeProperty('Name');
  8212. TFunction.RegisterAttributeProperty('EntitySetPath');
  8213. TFunction.RegisterAttributeProperty('IsBound');
  8214. TFunction.RegisterAttributeProperty('IsComposable');
  8215. TActionFunctionParameterAttributes.RegisterAttributeProperty('Name');
  8216. TActionFunctionParameterAttributes.RegisterAttributeProperty('_Type');
  8217. TActionFunctionParameterAttributes.RegisterAttributeProperty('Nullable');
  8218. TActionFunctionParameterAttributes.RegisterAttributeProperty('MaxLength');
  8219. TActionFunctionParameterAttributes.RegisterAttributeProperty('Precision');
  8220. TActionFunctionParameterAttributes.RegisterAttributeProperty('Scale');
  8221. TActionFunctionParameterAttributes.RegisterAttributeProperty('SRID');
  8222. TActionFunctionParameter.RegisterAttributeProperty('Name');
  8223. TActionFunctionParameter.RegisterAttributeProperty('_Type');
  8224. TActionFunctionParameter.RegisterAttributeProperty('Nullable');
  8225. TActionFunctionParameter.RegisterAttributeProperty('MaxLength');
  8226. TActionFunctionParameter.RegisterAttributeProperty('Precision');
  8227. TActionFunctionParameter.RegisterAttributeProperty('Scale');
  8228. TActionFunctionParameter.RegisterAttributeProperty('SRID');
  8229. TTerm.RegisterAttributeProperty('Name');
  8230. TTerm.RegisterAttributeProperty('_Type');
  8231. TTerm.RegisterAttributeProperty('BaseTerm');
  8232. TTerm.RegisterAttributeProperty('Nullable');
  8233. TTerm.RegisterAttributeProperty('DefaultValue');
  8234. TTerm.RegisterAttributeProperty('AppliesTo');
  8235. TTerm.RegisterAttributeProperty('MaxLength');
  8236. TTerm.RegisterAttributeProperty('Precision');
  8237. TTerm.RegisterAttributeProperty('Scale');
  8238. TTerm.RegisterAttributeProperty('SRID');
  8239. TAnnotations.RegisterAttributeProperty('Target');
  8240. TAnnotations.RegisterAttributeProperty('Qualifier');
  8241. GInlineExpressions.RegisterAttributeProperty('Binary');
  8242. GInlineExpressions.RegisterAttributeProperty('Bool');
  8243. GInlineExpressions.RegisterAttributeProperty('Date');
  8244. GInlineExpressions.RegisterAttributeProperty('DateTimeOffset');
  8245. GInlineExpressions.RegisterAttributeProperty('Decimal');
  8246. GInlineExpressions.RegisterAttributeProperty('Duration');
  8247. GInlineExpressions.RegisterAttributeProperty('EnumMember');
  8248. GInlineExpressions.RegisterAttributeProperty('Float');
  8249. GInlineExpressions.RegisterAttributeProperty('Guid');
  8250. GInlineExpressions.RegisterAttributeProperty('Int');
  8251. GInlineExpressions.RegisterAttributeProperty('_String');
  8252. GInlineExpressions.RegisterAttributeProperty('TimeOfDay');
  8253. GInlineExpressions.RegisterAttributeProperty('AnnotationPath');
  8254. GInlineExpressions.RegisterAttributeProperty('NavigationPropertyPath');
  8255. GInlineExpressions.RegisterAttributeProperty('Path');
  8256. GInlineExpressions.RegisterAttributeProperty('PropertyPath');
  8257. GInlineExpressions.RegisterAttributeProperty('UrlRef');
  8258. Annotation_Type.RegisterAttributeProperty('Term');
  8259. Annotation_Type.RegisterAttributeProperty('Qualifier');
  8260. Annotation_Type.RegisterAttributeProperty('BinaryAtt');
  8261. Annotation_Type.RegisterAttributeProperty('BoolAtt');
  8262. Annotation_Type.RegisterAttributeProperty('DateAtt');
  8263. Annotation_Type.RegisterAttributeProperty('DateTimeOffsetAtt');
  8264. Annotation_Type.RegisterAttributeProperty('DecimalAtt');
  8265. Annotation_Type.RegisterAttributeProperty('DurationAtt');
  8266. Annotation_Type.RegisterAttributeProperty('EnumMemberAtt');
  8267. Annotation_Type.RegisterAttributeProperty('FloatAtt');
  8268. Annotation_Type.RegisterAttributeProperty('GuidAtt');
  8269. Annotation_Type.RegisterAttributeProperty('IntAtt');
  8270. Annotation_Type.RegisterAttributeProperty('_StringAtt');
  8271. Annotation_Type.RegisterAttributeProperty('TimeOfDayAtt');
  8272. Annotation_Type.RegisterAttributeProperty('AnnotationPathAtt');
  8273. Annotation_Type.RegisterAttributeProperty('NavigationPropertyPathAtt');
  8274. Annotation_Type.RegisterAttributeProperty('PathAtt');
  8275. Annotation_Type.RegisterAttributeProperty('PropertyPathAtt');
  8276. Annotation_Type.RegisterAttributeProperty('UrlRefAtt');
  8277. TApplyExpression.RegisterAttributeProperty('_Function');
  8278. TCastOrIsOfExpression.RegisterAttributeProperty('_Type');
  8279. TCastOrIsOfExpression.RegisterAttributeProperty('MaxLength');
  8280. TCastOrIsOfExpression.RegisterAttributeProperty('Precision');
  8281. TCastOrIsOfExpression.RegisterAttributeProperty('Scale');
  8282. TCastOrIsOfExpression.RegisterAttributeProperty('SRID');
  8283. TLabeledElementExpression.RegisterAttributeProperty('Name');
  8284. TLabeledElementExpression.RegisterAttributeProperty('BinaryAtt');
  8285. TLabeledElementExpression.RegisterAttributeProperty('BoolAtt');
  8286. TLabeledElementExpression.RegisterAttributeProperty('DateAtt');
  8287. TLabeledElementExpression.RegisterAttributeProperty('DateTimeOffsetAtt');
  8288. TLabeledElementExpression.RegisterAttributeProperty('DecimalAtt');
  8289. TLabeledElementExpression.RegisterAttributeProperty('DurationAtt');
  8290. TLabeledElementExpression.RegisterAttributeProperty('EnumMemberAtt');
  8291. TLabeledElementExpression.RegisterAttributeProperty('FloatAtt');
  8292. TLabeledElementExpression.RegisterAttributeProperty('GuidAtt');
  8293. TLabeledElementExpression.RegisterAttributeProperty('IntAtt');
  8294. TLabeledElementExpression.RegisterAttributeProperty('_StringAtt');
  8295. TLabeledElementExpression.RegisterAttributeProperty('TimeOfDayAtt');
  8296. TLabeledElementExpression.RegisterAttributeProperty('AnnotationPathAtt');
  8297. TLabeledElementExpression.RegisterAttributeProperty('NavigationPropertyPathAtt');
  8298. TLabeledElementExpression.RegisterAttributeProperty('PathAtt');
  8299. TLabeledElementExpression.RegisterAttributeProperty('PropertyPathAtt');
  8300. TLabeledElementExpression.RegisterAttributeProperty('UrlRefAtt');
  8301. TRecordExpression.RegisterAttributeProperty('_Type');
  8302. TPropertyValue.RegisterAttributeProperty('_Property');
  8303. TPropertyValue.RegisterAttributeProperty('BinaryAtt');
  8304. TPropertyValue.RegisterAttributeProperty('BoolAtt');
  8305. TPropertyValue.RegisterAttributeProperty('DateAtt');
  8306. TPropertyValue.RegisterAttributeProperty('DateTimeOffsetAtt');
  8307. TPropertyValue.RegisterAttributeProperty('DecimalAtt');
  8308. TPropertyValue.RegisterAttributeProperty('DurationAtt');
  8309. TPropertyValue.RegisterAttributeProperty('EnumMemberAtt');
  8310. TPropertyValue.RegisterAttributeProperty('FloatAtt');
  8311. TPropertyValue.RegisterAttributeProperty('GuidAtt');
  8312. TPropertyValue.RegisterAttributeProperty('IntAtt');
  8313. TPropertyValue.RegisterAttributeProperty('_StringAtt');
  8314. TPropertyValue.RegisterAttributeProperty('TimeOfDayAtt');
  8315. TPropertyValue.RegisterAttributeProperty('AnnotationPathAtt');
  8316. TPropertyValue.RegisterAttributeProperty('NavigationPropertyPathAtt');
  8317. TPropertyValue.RegisterAttributeProperty('PathAtt');
  8318. TPropertyValue.RegisterAttributeProperty('PropertyPathAtt');
  8319. TPropertyValue.RegisterAttributeProperty('UrlRefAtt');
  8320. TEntityContainer.RegisterAttributeProperty('Name');
  8321. TEntityContainer.RegisterAttributeProperty('Extends');
  8322. TEntitySetAttributes.RegisterAttributeProperty('Name');
  8323. TEntitySetAttributes.RegisterAttributeProperty('EntityType');
  8324. TEntitySetAttributes.RegisterAttributeProperty('IncludeInServiceDocument');
  8325. TEntitySet.RegisterAttributeProperty('Name');
  8326. TEntitySet.RegisterAttributeProperty('EntityType');
  8327. TEntitySet.RegisterAttributeProperty('IncludeInServiceDocument');
  8328. TNavigationPropertyBinding.RegisterAttributeProperty('Path');
  8329. TNavigationPropertyBinding.RegisterAttributeProperty('Target');
  8330. TSingleton.RegisterAttributeProperty('Name');
  8331. TSingleton.RegisterAttributeProperty('_Type');
  8332. TActionFunctionImportAttributes.RegisterAttributeProperty('Name');
  8333. TActionFunctionImportAttributes.RegisterAttributeProperty('EntitySet');
  8334. TActionFunctionImportAttributes.RegisterAttributeProperty('IncludeInServiceDocument');
  8335. TActionImport.RegisterAttributeProperty('Action');
  8336. TActionImport.RegisterAttributeProperty('Name');
  8337. TActionImport.RegisterAttributeProperty('EntitySet');
  8338. TActionImport.RegisterAttributeProperty('IncludeInServiceDocument');
  8339. TFunctionImport.RegisterAttributeProperty('_Function');
  8340. TFunctionImport.RegisterAttributeProperty('Name');
  8341. TFunctionImport.RegisterAttributeProperty('EntitySet');
  8342. TFunctionImport.RegisterAttributeProperty('IncludeInServiceDocument');
  8343. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAbstractType),'TAbstractType');
  8344. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_ComplexType','Edm.ComplexType');
  8345. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_EntityType','Edm.EntityType');
  8346. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_PrimitiveType','Edm.PrimitiveType');
  8347. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_Geography','Edm.Geography');
  8348. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_Geometry','Edm.Geometry');
  8349. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_AnnotationPath','Edm.AnnotationPath');
  8350. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_NavigationPropertyPath','Edm.NavigationPropertyPath');
  8351. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Edm_PropertyPath','Edm.PropertyPath');
  8352. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_ComplexType','Collection(Edm.ComplexType)');
  8353. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_EntityType','Collection(Edm.EntityType)');
  8354. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_PrimitiveType','Collection(Edm.PrimitiveType)');
  8355. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_Geography','Collection(Edm.Geography)');
  8356. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_Geometry','Collection(Edm.Geometry)');
  8357. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_AnnotationPath','Collection(Edm.AnnotationPath)');
  8358. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_NavigationPropertyPath','Collection(Edm.NavigationPropertyPath)');
  8359. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAbstractType)].RegisterExternalPropertyName('TAbstractType_Collection_Edm_PropertyPath','Collection(Edm.PropertyPath)');
  8360. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TMax),'TMax');
  8361. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TVariable),'TVariable');
  8362. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOnDeleteAction),'TOnDeleteAction');
  8363. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema),'Schema',[trioqualifiedElement, triounqualifiedAttribute]);
  8364. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeAttributes),'TTypeAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8365. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDerivableTypeAttributes),'TDerivableTypeAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8366. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType),'TEntityType',[trioqualifiedElement, triounqualifiedAttribute]);
  8367. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyRef),'TPropertyRef',[trioqualifiedElement, triounqualifiedAttribute]);
  8368. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType),'TComplexType',[trioqualifiedElement, triounqualifiedAttribute]);
  8369. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFacetAttributes),'TFacetAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8370. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyFacetAttributes),'TPropertyFacetAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8371. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCommonPropertyAttributes),'TCommonPropertyAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8372. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TProperty),'TProperty',[trioqualifiedElement, triounqualifiedAttribute]);
  8373. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeDefinition),'TTypeDefinition',[trioqualifiedElement, triounqualifiedAttribute]);
  8374. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty),'TNavigationProperty',[trioqualifiedElement, triounqualifiedAttribute]);
  8375. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TReferentialConstraint),'TReferentialConstraint',[trioqualifiedElement, triounqualifiedAttribute]);
  8376. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOnDelete),'TOnDelete',[trioqualifiedElement, triounqualifiedAttribute]);
  8377. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType),'TEnumType',[trioqualifiedElement, triounqualifiedAttribute]);
  8378. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumTypeMember),'TEnumTypeMember',[trioqualifiedElement, triounqualifiedAttribute]);
  8379. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionFunctionReturnType),'TActionFunctionReturnType',[trioqualifiedElement, triounqualifiedAttribute]);
  8380. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionAttributes),'TActionAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8381. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAction),'TAction',[trioqualifiedElement, triounqualifiedAttribute]);
  8382. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionAttributes),'TFunctionAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8383. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction),'TFunction',[trioqualifiedElement, triounqualifiedAttribute]);
  8384. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionFunctionParameterAttributes),'TActionFunctionParameterAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8385. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionFunctionParameter),'TActionFunctionParameter',[trioqualifiedElement, triounqualifiedAttribute]);
  8386. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTerm),'TTerm',[trioqualifiedElement, triounqualifiedAttribute]);
  8387. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAnnotations),'TAnnotations',[trioqualifiedElement, triounqualifiedAttribute]);
  8388. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GExpression),'GExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8389. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(GInlineExpressions),'GInlineExpressions',[trioqualifiedElement, triounqualifiedAttribute]);
  8390. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Annotation_Type),'Annotation',[trioqualifiedElement, triounqualifiedAttribute]);
  8391. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TBinaryConstantExpression),'TBinaryConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8392. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TBoolConstantExpression),'TBoolConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8393. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDateConstantExpression),'TDateConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8394. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDateTimeOffsetConstantExpression),'TDateTimeOffsetConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8395. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDecimalConstantExpression),'TDecimalConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8396. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TDurationConstantExpression),'TDurationConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8397. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFloatConstantExpression),'TFloatConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8398. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TGuidConstantExpression),'TGuidConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8399. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TIntConstantExpression),'TIntConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8400. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TStringConstantExpression),'TStringConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8401. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTimeOfDayConstantExpression),'TTimeOfDayConstantExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8402. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TApplyExpression),'TApplyExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8403. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCastOrIsOfExpression),'TCastOrIsOfExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8404. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCollectionExpression),'TCollectionExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8405. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TIfExpression),'TIfExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8406. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOneChildExpression),'TOneChildExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8407. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTwoChildrenExpression),'TTwoChildrenExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8408. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TLabeledElementExpression),'TLabeledElementExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8409. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TLabeledElementReferenceExpression),'TLabeledElementReferenceExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8410. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPathExpression),'TPathExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8411. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRecordExpression),'TRecordExpression',[trioqualifiedElement, triounqualifiedAttribute]);
  8412. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyValue),'TPropertyValue',[trioqualifiedElement, triounqualifiedAttribute]);
  8413. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityContainer),'TEntityContainer',[trioqualifiedElement, triounqualifiedAttribute]);
  8414. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntitySetAttributes),'TEntitySetAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8415. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntitySet),'TEntitySet',[trioqualifiedElement, triounqualifiedAttribute]);
  8416. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationPropertyBinding),'TNavigationPropertyBinding',[trioqualifiedElement, triounqualifiedAttribute]);
  8417. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TSingleton),'TSingleton',[trioqualifiedElement, triounqualifiedAttribute]);
  8418. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionFunctionImportAttributes),'TActionFunctionImportAttributes',[trioqualifiedElement, triounqualifiedAttribute]);
  8419. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionImport),'TActionImport',[trioqualifiedElement, triounqualifiedAttribute]);
  8420. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImport),'TFunctionImport',[trioqualifiedElement, triounqualifiedAttribute]);
  8421. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_ComplexTypeArray),'Schema_ComplexTypeArray');
  8422. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_ComplexTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8423. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_EntityTypeArray),'Schema_EntityTypeArray');
  8424. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_EntityTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8425. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_TypeDefinitionArray),'Schema_TypeDefinitionArray');
  8426. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_TypeDefinitionArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8427. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_EnumTypeArray),'Schema_EnumTypeArray');
  8428. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_EnumTypeArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8429. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_ActionArray),'Schema_ActionArray');
  8430. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_ActionArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8431. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema__FunctionArray),'Schema__FunctionArray');
  8432. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema__FunctionArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8433. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_TermArray),'Schema_TermArray');
  8434. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_TermArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8435. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_AnnotationsArray),'Schema_AnnotationsArray');
  8436. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_AnnotationsArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8437. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_EntityContainerArray),'Schema_EntityContainerArray');
  8438. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_EntityContainerArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8439. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Schema_AnnotationArray),'Schema_AnnotationArray');
  8440. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8441. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType_KeyArray),'TEntityType_KeyArray');
  8442. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType_KeyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8443. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType__PropertyArray),'TEntityType__PropertyArray');
  8444. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType__PropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8445. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType_NavigationPropertyArray),'TEntityType_NavigationPropertyArray');
  8446. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType_NavigationPropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8447. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityType_AnnotationArray),'TEntityType_AnnotationArray');
  8448. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8449. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityKeyElement),'TEntityKeyElement');
  8450. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityKeyElement)].RegisterExternalPropertyName(sARRAY_ITEM,'PropertyRef');
  8451. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType__PropertyArray),'TComplexType__PropertyArray');
  8452. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType__PropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8453. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType_NavigationPropertyArray),'TComplexType_NavigationPropertyArray');
  8454. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType_NavigationPropertyArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8455. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TComplexType_AnnotationArray),'TComplexType_AnnotationArray');
  8456. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8457. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TProperty_AnnotationArray),'TProperty_AnnotationArray');
  8458. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TProperty_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8459. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTypeDefinition_AnnotationArray),'TTypeDefinition_AnnotationArray');
  8460. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTypeDefinition_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8461. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty_ReferentialConstraintArray),'TNavigationProperty_ReferentialConstraintArray');
  8462. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNavigationProperty_ReferentialConstraintArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8463. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty_OnDeleteArray),'TNavigationProperty_OnDeleteArray');
  8464. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNavigationProperty_OnDeleteArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8465. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNavigationProperty_AnnotationArray),'TNavigationProperty_AnnotationArray');
  8466. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNavigationProperty_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8467. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TReferentialConstraint_AnnotationArray),'TReferentialConstraint_AnnotationArray');
  8468. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TReferentialConstraint_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8469. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOnDelete_AnnotationArray),'TOnDelete_AnnotationArray');
  8470. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOnDelete_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8471. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType_MemberArray),'TEnumType_MemberArray');
  8472. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEnumType_MemberArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8473. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumType_AnnotationArray),'TEnumType_AnnotationArray');
  8474. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEnumType_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8475. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEnumTypeMember_AnnotationArray),'TEnumTypeMember_AnnotationArray');
  8476. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEnumTypeMember_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8477. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionFunctionReturnType_AnnotationArray),'TActionFunctionReturnType_AnnotationArray');
  8478. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TActionFunctionReturnType_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8479. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAction_ParameterArray),'TAction_ParameterArray');
  8480. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAction_ParameterArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8481. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAction_AnnotationArray),'TAction_AnnotationArray');
  8482. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAction_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8483. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_ParameterArray),'TFunction_ParameterArray');
  8484. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_ParameterArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8485. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunction_AnnotationArray),'TFunction_AnnotationArray');
  8486. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunction_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8487. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionFunctionParameter_AnnotationArray),'TActionFunctionParameter_AnnotationArray');
  8488. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TActionFunctionParameter_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8489. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTerm_AnnotationArray),'TTerm_AnnotationArray');
  8490. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTerm_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8491. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TAnnotations_AnnotationArray),'TAnnotations_AnnotationArray');
  8492. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TAnnotations_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8493. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(Annotation_AnnotationArray),'Annotation_AnnotationArray');
  8494. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8495. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TApplyExpression_AnnotationArray),'TApplyExpression_AnnotationArray');
  8496. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8497. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TCastOrIsOfExpression_AnnotationArray),'TCastOrIsOfExpression_AnnotationArray');
  8498. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8499. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TIfExpression_AnnotationArray),'TIfExpression_AnnotationArray');
  8500. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8501. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TOneChildExpression_AnnotationArray),'TOneChildExpression_AnnotationArray');
  8502. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8503. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TTwoChildrenExpression_AnnotationArray),'TTwoChildrenExpression_AnnotationArray');
  8504. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8505. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TLabeledElementExpression_AnnotationArray),'TLabeledElementExpression_AnnotationArray');
  8506. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8507. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TNullExpression),'TNullExpression');
  8508. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNullExpression)].RegisterExternalPropertyName(sARRAY_ITEM,'Annotation');
  8509. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRecordExpression_PropertyValueArray),'TRecordExpression_PropertyValueArray');
  8510. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRecordExpression_PropertyValueArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8511. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TRecordExpression_AnnotationArray),'TRecordExpression_AnnotationArray');
  8512. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRecordExpression_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8513. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TPropertyValue_AnnotationArray),'TPropertyValue_AnnotationArray');
  8514. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8515. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityContainer_EntitySetArray),'TEntityContainer_EntitySetArray');
  8516. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityContainer_EntitySetArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8517. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityContainer_ActionImportArray),'TEntityContainer_ActionImportArray');
  8518. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityContainer_ActionImportArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8519. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityContainer_FunctionImportArray),'TEntityContainer_FunctionImportArray');
  8520. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityContainer_FunctionImportArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8521. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityContainer_SingletonArray),'TEntityContainer_SingletonArray');
  8522. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityContainer_SingletonArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8523. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntityContainer_AnnotationArray),'TEntityContainer_AnnotationArray');
  8524. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityContainer_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8525. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntitySet_NavigationPropertyBindingArray),'TEntitySet_NavigationPropertyBindingArray');
  8526. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntitySet_NavigationPropertyBindingArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8527. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TEntitySet_AnnotationArray),'TEntitySet_AnnotationArray');
  8528. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntitySet_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8529. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TSingleton_NavigationPropertyBindingArray),'TSingleton_NavigationPropertyBindingArray');
  8530. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TSingleton_NavigationPropertyBindingArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8531. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TSingleton_AnnotationArray),'TSingleton_AnnotationArray');
  8532. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TSingleton_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8533. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TActionImport_AnnotationArray),'TActionImport_AnnotationArray');
  8534. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TActionImport_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8535. typeRegistryInstance.Register(sNAME_SPACE,TypeInfo(TFunctionImport_AnnotationArray),'TFunctionImport_AnnotationArray');
  8536. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImport_AnnotationArray)].RegisterExternalPropertyName(sARRAY_STYLE,sEmbedded);
  8537. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Schema)].RegisterExternalPropertyName('_Function','Function');
  8538. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TDerivableTypeAttributes)].RegisterExternalPropertyName('_Abstract','Abstract');
  8539. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType)].RegisterExternalPropertyName('_Property','Property');
  8540. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TEntityType)].RegisterExternalPropertyName('_Abstract','Abstract');
  8541. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType)].RegisterExternalPropertyName('_Property','Property');
  8542. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TComplexType)].RegisterExternalPropertyName('_Abstract','Abstract');
  8543. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCommonPropertyAttributes)].RegisterExternalPropertyName('_Type','Type');
  8544. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TProperty)].RegisterExternalPropertyName('_Type','Type');
  8545. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TNavigationProperty)].RegisterExternalPropertyName('_Type','Type');
  8546. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TReferentialConstraint)].RegisterExternalPropertyName('_Property','Property');
  8547. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TActionFunctionReturnType)].RegisterExternalPropertyName('_Type','Type');
  8548. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TActionFunctionParameterAttributes)].RegisterExternalPropertyName('_Type','Type');
  8549. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TActionFunctionParameter)].RegisterExternalPropertyName('_Type','Type');
  8550. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTerm)].RegisterExternalPropertyName('_Type','Type');
  8551. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GExpression)].RegisterExternalPropertyName('_String','String');
  8552. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GExpression)].RegisterExternalPropertyName('_If','If');
  8553. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GExpression)].RegisterExternalPropertyName('_And','And');
  8554. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GExpression)].RegisterExternalPropertyName('_Or','Or');
  8555. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GExpression)].RegisterExternalPropertyName('_Not','Not');
  8556. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GExpression)].RegisterExternalPropertyName('_Record','Record');
  8557. typeRegistryInstance.ItemByTypeInfo[TypeInfo(GInlineExpressions)].RegisterExternalPropertyName('_String','String');
  8558. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_String','String');
  8559. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_If','If');
  8560. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_And','And');
  8561. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_Or','Or');
  8562. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_Not','Not');
  8563. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_Record','Record');
  8564. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('BinaryAtt','Binary');
  8565. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('BoolAtt','Bool');
  8566. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('DateAtt','Date');
  8567. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('DateTimeOffsetAtt','DateTimeOffset');
  8568. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('DecimalAtt','Decimal');
  8569. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('DurationAtt','Duration');
  8570. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('EnumMemberAtt','EnumMember');
  8571. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('FloatAtt','Float');
  8572. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('GuidAtt','Guid');
  8573. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('IntAtt','Int');
  8574. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('_StringAtt','String');
  8575. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('TimeOfDayAtt','TimeOfDay');
  8576. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('AnnotationPathAtt','AnnotationPath');
  8577. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('NavigationPropertyPathAtt','NavigationPropertyPath');
  8578. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('PathAtt','Path');
  8579. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('PropertyPathAtt','PropertyPath');
  8580. typeRegistryInstance.ItemByTypeInfo[TypeInfo(Annotation_Type)].RegisterExternalPropertyName('UrlRefAtt','UrlRef');
  8581. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_Function','Function');
  8582. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_String','String');
  8583. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_If','If');
  8584. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_And','And');
  8585. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_Or','Or');
  8586. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_Not','Not');
  8587. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TApplyExpression)].RegisterExternalPropertyName('_Record','Record');
  8588. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_Type','Type');
  8589. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_String','String');
  8590. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_If','If');
  8591. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_And','And');
  8592. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_Or','Or');
  8593. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_Not','Not');
  8594. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCastOrIsOfExpression)].RegisterExternalPropertyName('_Record','Record');
  8595. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCollectionExpression)].RegisterExternalPropertyName('_String','String');
  8596. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCollectionExpression)].RegisterExternalPropertyName('_If','If');
  8597. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCollectionExpression)].RegisterExternalPropertyName('_And','And');
  8598. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCollectionExpression)].RegisterExternalPropertyName('_Or','Or');
  8599. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCollectionExpression)].RegisterExternalPropertyName('_Not','Not');
  8600. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TCollectionExpression)].RegisterExternalPropertyName('_Record','Record');
  8601. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression)].RegisterExternalPropertyName('_String','String');
  8602. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression)].RegisterExternalPropertyName('_If','If');
  8603. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression)].RegisterExternalPropertyName('_And','And');
  8604. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression)].RegisterExternalPropertyName('_Or','Or');
  8605. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression)].RegisterExternalPropertyName('_Not','Not');
  8606. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TIfExpression)].RegisterExternalPropertyName('_Record','Record');
  8607. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression)].RegisterExternalPropertyName('_String','String');
  8608. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression)].RegisterExternalPropertyName('_If','If');
  8609. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression)].RegisterExternalPropertyName('_And','And');
  8610. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression)].RegisterExternalPropertyName('_Or','Or');
  8611. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression)].RegisterExternalPropertyName('_Not','Not');
  8612. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TOneChildExpression)].RegisterExternalPropertyName('_Record','Record');
  8613. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression)].RegisterExternalPropertyName('_String','String');
  8614. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression)].RegisterExternalPropertyName('_If','If');
  8615. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression)].RegisterExternalPropertyName('_And','And');
  8616. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression)].RegisterExternalPropertyName('_Or','Or');
  8617. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression)].RegisterExternalPropertyName('_Not','Not');
  8618. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TTwoChildrenExpression)].RegisterExternalPropertyName('_Record','Record');
  8619. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_String','String');
  8620. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_If','If');
  8621. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_And','And');
  8622. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_Or','Or');
  8623. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_Not','Not');
  8624. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_Record','Record');
  8625. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('BinaryAtt','Binary');
  8626. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('BoolAtt','Bool');
  8627. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('DateAtt','Date');
  8628. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('DateTimeOffsetAtt','DateTimeOffset');
  8629. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('DecimalAtt','Decimal');
  8630. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('DurationAtt','Duration');
  8631. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('EnumMemberAtt','EnumMember');
  8632. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('FloatAtt','Float');
  8633. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('GuidAtt','Guid');
  8634. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('IntAtt','Int');
  8635. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('_StringAtt','String');
  8636. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('TimeOfDayAtt','TimeOfDay');
  8637. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('AnnotationPathAtt','AnnotationPath');
  8638. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('NavigationPropertyPathAtt','NavigationPropertyPath');
  8639. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('PathAtt','Path');
  8640. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('PropertyPathAtt','PropertyPath');
  8641. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TLabeledElementExpression)].RegisterExternalPropertyName('UrlRefAtt','UrlRef');
  8642. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TRecordExpression)].RegisterExternalPropertyName('_Type','Type');
  8643. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_Property','Property');
  8644. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_String','String');
  8645. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_If','If');
  8646. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_And','And');
  8647. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_Or','Or');
  8648. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_Not','Not');
  8649. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_Record','Record');
  8650. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('BinaryAtt','Binary');
  8651. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('BoolAtt','Bool');
  8652. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('DateAtt','Date');
  8653. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('DateTimeOffsetAtt','DateTimeOffset');
  8654. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('DecimalAtt','Decimal');
  8655. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('DurationAtt','Duration');
  8656. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('EnumMemberAtt','EnumMember');
  8657. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('FloatAtt','Float');
  8658. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('GuidAtt','Guid');
  8659. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('IntAtt','Int');
  8660. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('_StringAtt','String');
  8661. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('TimeOfDayAtt','TimeOfDay');
  8662. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('AnnotationPathAtt','AnnotationPath');
  8663. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('NavigationPropertyPathAtt','NavigationPropertyPath');
  8664. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('PathAtt','Path');
  8665. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('PropertyPathAtt','PropertyPath');
  8666. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TPropertyValue)].RegisterExternalPropertyName('UrlRefAtt','UrlRef');
  8667. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TSingleton)].RegisterExternalPropertyName('_Type','Type');
  8668. typeRegistryInstance.ItemByTypeInfo[TypeInfo(TFunctionImport)].RegisterExternalPropertyName('_Function','Function');
  8669. End.