PersistentObjectInfo methods syntax: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 5: | Line 5: | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outPersObjList</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[Copy (PersistentObjectInfo function)|Copy]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outPersObjList</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[Copy (PersistentObjectInfo function)|Copy]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outPersObjList</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[DeepCopy (PersistentObjectInfo function)|DeepCopy]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outPersObjList</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[DeepCopy (PersistentObjectInfo function)|DeepCopy]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[GlobalList (PersistentObjectInfo function)|GlobalList]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">matchString</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[GlobalList (PersistentObjectInfo function)|GlobalList]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">matchString</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%name</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[Name (PersistentObjectInfo function)|Name]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%name</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[Name (PersistentObjectInfo function)|Name]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[New (PersistentObjectInfo constructor)|New]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[New (PersistentObjectInfo constructor)|New]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[NewFromGlobal (PersistentObjectInfo function)|NewFromGlobal]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[NewFromGlobal (PersistentObjectInfo function)|NewFromGlobal]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[NewFromSession (PersistentObjectInfo function)|NewFromSession]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[NewFromSession (PersistentObjectInfo function)|NewFromSession]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[SessionList (PersistentObjectInfo function)|SessionList]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">matchString</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[SessionList (PersistentObjectInfo function)|SessionList]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">matchString</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[SetTime (PersistentObjectInfo function)|SetTime]]</span></p> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">persObjList</span><span class="literal">:[[SetTime (PersistentObjectInfo function)|SetTime]]</span></p> |
Revision as of 00:52, 23 August 2011
The syntax for each of the PersistentObjectInfo class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of PersistentObjectInfo methods.
%description = persObjList:ClassDescription
%outPersObjList = persObjList:Copy
%outPersObjList = persObjList:DeepCopy
%persObjList = [%(PersistentObjectInfo)]:GlobalList[( [matchString])]
%name = persObjList:Name
%persObjList = [%(PersistentObjectInfo)]:New
%persObjList = [%(PersistentObjectInfo)]:NewFromGlobal( string)
%persObjList = [%(PersistentObjectInfo)]:NewFromSession( string)
%persObjList = [%(PersistentObjectInfo)]:SessionList[( [matchString])]
%string = persObjList:SetTime