<findByExample>要素
ネームスペース:  http://xmlns.oracle.com/uix/bc4j
派生元:  <ctrl:eventHandler>要素
グループ:  UIX Controller
要素の型:  EventHandler

<findByExample>要素は、囲んでいるBC4Jビュー・オブジェクト内の一致する行を検索します。

構文
<findByExample >
   <exampleRow> </exampleRow>
</findByExample>

注意: 
  • この要素は派生元要素のすべての属性と子要素を持つことができます。

  • 説明

    <findByExample>要素は、囲んでいるBC4Jビュー・オブジェクト内の一致する行を検索します。検索基準は、1つ以上のexampleAttributeから構成される、1つ以上のexampleRowで指定します。exampleAttributeはそれぞれ名前と値を持っています。exampleRow内のすべてのexampleAttributeに対して、論理演算ANDが実行されます。すべてのexampleRowに対して論理演算ORが実行され、完全な基準が指定されます。


    次の例では、1000より大きい値を持つEmpno属性の行を検索します。

                <ctrl:handlers>
                  <ctrl:event name="..." >
                    <bc4j:findRootAppModule name="EmpAppModule" >
                      <bc4j:findViewObject name="AllEmpsVO" >
                        <bc4j:findByExample>
                          <bc4j:exampleRow>
                            <bc4j:exampleAttribute name="Empno"
                                                      value=">1000" />
                          </bc4j:exampleRow>
                        </bc4j:findByExample>
                      </bc4j:findViewObject>
                    </bc4j:findRootAppModule>
                  </ctrl:event>
                </ctrl:handlers>

    子要素

    説明 必須 組込み可能な数
    <exampleRow> 例となる行。
    はい 無限