PersistentObjectInfo methods syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
(Automatically generated page update)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
     replaced, so any manual edits will be lost. You've been warned. -->
     replaced, so any manual edits will be lost. You've been warned. -->
{{Template:Syntax list header|class=PersistentObjectInfo}}
{{Template:Syntax list header|class=PersistentObjectInfo}}
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%description</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[ClassDescription (PersistentObjectInfo function)|ClassDescription]]</span></p>
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%description</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[ClassDescription (PersistentObjectInfo property)|ClassDescription]]</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">%outPersObjInfo</span><span class="literal"> =</span> <span class="term">persObjInfo</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">%outPersObjInfo</span><span class="literal"> =</span> <span class="term">persObjInfo</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">%outPersObjInfo</span><span class="literal"> =</span> <span class="term">persObjInfo</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">%outPersObjInfo</span><span class="literal"> =</span> <span class="term">persObjInfo</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="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">%name</span><span class="literal"> =</span> <span class="term">persObjInfo</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">persObjInfo</span><span class="literal">:[[Name (PersistentObjectInfo property)|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">%persObjInfo</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">%persObjInfo</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">name</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">%persObjInfo</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">%persObjInfo</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">name</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="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">%string</span><span class="literal"> =</span> <span class="term">persObjInfo</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">persObjInfo</span><span class="literal">:[[SetTime (PersistentObjectInfo property)|SetTime]]</span></p>

Latest revision as of 01:05, 24 July 2014

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 = persObjInfo:ClassDescription

%outPersObjInfo = persObjInfo:Copy

%outPersObjInfo = persObjInfo:DeepCopy

%persObjList = %(PersistentObjectInfo):GlobalList[( [matchString])]

%name = persObjInfo:Name

%persObjInfo = [%(PersistentObjectInfo):]NewFromGlobal( name)

%persObjInfo = [%(PersistentObjectInfo):]NewFromSession( name)

%persObjList = %(PersistentObjectInfo):SessionList[( [matchString])]

%string = persObjInfo:SetTime