ページの先頭行へ戻る
 Apcoordinator定義ファイルリファレンス
FUJITSU Software

3.1 commandMap

コマンドスクリプティングのルート要素です。

アトリビュート

commandMapタグのアトリビュートは指定できません。

コンテント

コンテントには以下をこの順番で記述します。

  • configタグ(1個記述します。)

  • entryタグ(任意個数記述できます。)

  • procedureタグ(任意個数記述できます。)

使用例
<?xml version = "1.0" encoding = "Shift_JIS"?>
<commandMap
    xmlns="http://interstage.fujitsu.com/schemas/uji/commandMap"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://interstage.fujitsu.com/schemas/uji/commandMap
                        http://interstage.fujitsu.com/schemas/uji/commandmap.xsd">

  <config>
    <version>6.0</version>
    <debug>trace</debug>
  </config>

  <entry bean="commandMap.BodyBean" verb="add">
    <specSection>
      <term property="val1" op="ADD" operand="val2" target="result"/>
    </specSection>
    <copyValue bean="#加算を実行しました。" targetProperty="message"/>
    <setResponseBean pane="body" verb="resmode"/>
    <invoke name="setHead"/>
  </entry>

  <procedure name="setHead">
    <copyValue bean="uji.session" property="headBean" targetBean="hbean"/>
    <specSection bean="hbean" targetBean="hbean">
      <term property="count" op="ADD" operand="#1" target="count"/>
    </specSection>
    <setResponseBean pane="head" bean="hbean"/>
  </procedure>

</commandMap>