AddToRecordError methods syntax: Difference between revisions
m (Automatically generated page update) |
m (Automatically generated page update) |
||
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=AddToRecordError}} | {{Template:Syntax list header|class=AddToRecordError}} | ||
<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">%string</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[Description (AddToRecordError | <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">%string</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[Description (AddToRecordError property)|Description]]</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">addToRecordError</span><span class="literal">:[[FieldOrFieldgroupName (AddToRecordError | <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">addToRecordError</span><span class="literal">:[[FieldOrFieldgroupName (AddToRecordError property)|FieldOrFieldgroupName]]</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">%number</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[InputRecordNumber (AddToRecordError | <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">%number</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[InputRecordNumber (AddToRecordError property)|InputRecordNumber]]</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">%addToRecordError</span><span class="literal"> =</span> <span class="literal">%(AddToRecordError):[[New (AddToRecordError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="AddToRecordErrorReason">Reason=</span> <span class="term" title="AddToRecordErrorReason">addToRecordErrorReason</span><span class="comma">,</span> - | <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">%addToRecordError</span><span class="literal"> =</span> <span class="literal">%(AddToRecordError):[[New (AddToRecordError constructor)|New]]</span><span class="literal">(</span> <span class="literal" title="AddToRecordErrorReason">Reason=</span> <span class="term" title="AddToRecordErrorReason">addToRecordErrorReason</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal" title="String">Description=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
Line 13: | Line 13: | ||
<span class="squareb">[</span><span class="literal" title="String">Value=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal" title="String">Value=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal" title="Number">InputRecordNumber=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p> | <span class="squareb">[</span><span class="literal" title="Number">InputRecordNumber=</span> <span class="term" title="Number">number</span><span class="squareb">]</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">%string</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[NodeName (AddToRecordError | <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">addToRecordError</span><span class="literal">:[[NodeName (AddToRecordError property)|NodeName]]</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">%xmlNodeType</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[NodeType (AddToRecordError | <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">%xmlNodeType</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[NodeType (AddToRecordError property)|NodeType]]</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">%addToRecordErrorReason</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[Reason (AddToRecordError | <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">%addToRecordErrorReason</span><span class="literal"> =</span> <span class="term">addToRecordError</span><span class="literal">:[[Reason (AddToRecordError property)|Reason]]</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">addToRecordError</span><span class="literal">:[[UntranslatableHexValue (AddToRecordError | <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">addToRecordError</span><span class="literal">:[[UntranslatableHexValue (AddToRecordError property)|UntranslatableHexValue]]</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">addToRecordError</span><span class="literal">:[[Value (AddToRecordError | <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">addToRecordError</span><span class="literal">:[[Value (AddToRecordError property)|Value]]</span></p> |
Revision as of 18:59, 15 March 2011
The syntax for each of the AddToRecordError 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 AddToRecordError methods.
%string = addToRecordError:Description
%string = addToRecordError:FieldOrFieldgroupName
%number = addToRecordError:InputRecordNumber
%addToRecordError = %(AddToRecordError):New( Reason= addToRecordErrorReason, - [Description= string], - [UntranslatableHexValue= string], - [FieldOrFieldgroupName= string], - [NodeName= string], - [NodeType= xmlNodeType], - [Value= string], - [InputRecordNumber= number])
%string = addToRecordError:NodeName
%xmlNodeType = addToRecordError:NodeType
%addToRecordErrorReason = addToRecordError:Reason
%string = addToRecordError:UntranslatableHexValue
%string = addToRecordError:Value