<exampleAttribute>要素
ネームスペース:  http://xmlns.oracle.com/uix/bc4j

例となる属性。

構文
<exampleAttribute
    [ comparison="bc4j:comparisonSimpleType" ]
    [ name="string" ]
    [ value="string" ]
>
   <comparisonBinding></comparisonBinding>
   <nameBinding></nameBinding>
   <valueBinding></valueBinding>
</exampleAttribute>

説明

例となる属性。


次の例では、SMITHという値を持つEname属性の行を検索します。

          <ctrl:handlers>
            <ctrl:event name="..." >
              <bc4j:findRootAppModule name="EmpAppModule" >
                <bc4j:findViewObject name="AllEmpsVO" >
                  <bc4j:findByExample>
                    <bc4j:exampleRow>
                      <bc4j:exampleAttribute name="Ename"
                                                value="SMITH"
                                                comparison="equals" />
                    </bc4j:exampleRow>
                  </bc4j:findByExample>
                </bc4j:findViewObject>
              </bc4j:findRootAppModule>
            </ctrl:event>
          </ctrl:handlers>

属性

説明
comparison 例となる属性の比較セマンティクス。有効な値はequalsおよびlikeです。equalsは、A*がA*にのみ一致するような、完全一致比較セマンティクスを使用します。likeは、A*がA1およびA2に一致するような、ワイルド・カード比較セマンティクスを使用します。
bc4j:comparisonSimpleType
name 例となる属性の名前。
string
value 例となる属性の値。
string

子要素

説明 必須 組込み可能な数
<comparisonBinding> バインドをサポートするラッパー要素。
いいえ 1
<nameBinding> バインドをサポートするラッパー要素。
いいえ 1
<valueBinding> バインドをサポートするラッパー要素。
いいえ 1