エレメントの追加

メニュー エレメントの追加
単一選択の使用可能性 コンテナーが以下のいずれかである MapFromStatement を選択した場合に使用可能になります。
  • ElementMsgStatement。
  • WildcardMsgStatement。かつエレメントまたはワイルドカードの maxOccurs が現在の既知のインスタンス数を上回っていることが必要。
単一選択時の動作 ElementMsgStatement または WildcardMsgStatement (どちらもアクション選択のケースになります) が作成され、選択された MapFrom のコンテナーの次の兄弟になります。 このステートメントには、ターゲット式が設定解除された MapFromStatement が入ります。 このステートメントには、選択されたのと同じマップ可能エンティティー、headElement、xsiType 設定があります。
複数選択の使用可能性 使用不可
複数選択時の動作 適用外
アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo  (maxOccurs = 1)
  Items
    ProductName
    ProductNumber
アクションの後のステートメント構造 (太字部分が挿入される) ShipTo は反復しないため、このアクションは使用不可です。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  comment + MapFrom (exp_1) (maxOccurs >1)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  comment + MapFrom (exp_1)
  comment + MapFrom

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  comment (maxOccurs = 2)
  comment
アクションの後のステートメント構造 (太字部分が挿入される) 十分なインスタンスがあるため、このアクションは使用不可です。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  Items + MapFrom (exp_1) (maxOccurs > 1)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  Items+ MapFrom (exp_1)
  Items + MapFrom

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  Items (maxOccurs >1)
    ProductName + MapFrom (exp_1)
    ProductNumber + MapFrom (exp_2)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  Items
    ProductName + MapFrom (exp_1)
    ProductNumber + MapFrom (exp_2)  Items + MapFrom

既存のインスタンスは拡張される場合もありますが、新規に追加されたインスタンスは拡張されません。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  Items (maxOccurs >1)
    ProductName + MapFrom (exp_1)
    ProductNumber + MapFrom (exp_2)
アクションの後のステートメント構造 (太字部分が挿入される) ProductName は反復しないため (反復エレメントの内部にある場合でも)、このアクションは使用不可です、

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  Items (maxOccurs = 2)
    ProductName + MapFrom (exp_1)
    ProductNumber + MapFrom (exp_2)  Items
    ProductName + MapFrom (exp_3)
    ProductNumber + MapFrom (exp_4)
アクションの後のステートメント構造 (太字部分が挿入される) 十分なインスタンスがあるため、このアクションは使用不可です。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  ForEach
    Items + MapFrom (exp_1) (maxOccurs > 1)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  ForEach
    Items+ MapFrom (exp_1)
    Items + MapFrom

Items エレメントは ForEach 内にあります。これは受け入れ可能です。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  Qualify
    Condition (or Default)
      Items + MapFrom (exp_1) (maxOccurs > 1)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  Qualify
    Condition (or Default)
      Items+ MapFrom (exp_1)
      Items + MapFrom

Items エレメントは Condition/Default 内にあります。これは受け入れ可能です。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  Qualify
    Condition
      Items + MapFrom (exp_1) (maxOccurs =2)
    Condition
      Items + MapFrom (exp_2)
      Items + MapFrom (exp_3)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  Qualify
    Condition (or Default)
      Items+ MapFrom (exp_1)
      Items + MapFrom
    Condition
      Items + MapFrom (exp_2)
      Items + MapFrom (exp_3)

別の condition (default) の下にインスタンスがあるとしても、何も変わりはありません。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  ForEach
    Items+ MapFrom (exp_1)
    Items + MapFrom (exp_2) (maxOccurs=2)
アクションの後のステートメント構造 (太字部分が挿入される) 十分なインスタンスがあるため、アクションは使用不可です。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  ForEach
     Items + MapFrom (exp_1) (maxOccurs =2)
  Items + MapFrom (exp_2)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  ForEach
    Items+ MapFrom (exp_1)
    Items + MapFrom
  Items + MapFrom (exp_2)

別の有効範囲内にインスタンスがあるとしても、何も変わりはありません。

アクションの前のステートメント (太字を選択)
PurchaseOrder
  ShipTo
  ForEach
    Items + MapFrom (exp_2)
  Items + MapFrom (exp_1) (maxOccurs =2)
アクションの後のステートメント構造 (太字部分が挿入される)
PurchaseOrder
  ShipTo
  ForEach
    Items + MapFrom (exp_2)
  Items+ MapFrom (exp_1)
  Items + MapFrom

別の有効範囲内にインスタンスがあるとしても、何も変わりはありません。

関連タスク
メッセージ・マッピングの開発
特記事項 | 商標 | ダウンロード | ライブラリー | サポート | フィードバック
Copyright IBM Corporation 1999, 2005 Last updated: 11/07/2005
ar25236_9_