カスタムのマップ済属性

次のマップ済属性がWorkflowTask.xsdファイルに含まれており、制限なしに使用できます。

表32-11 カスタムのマップ済属性

属性 データ型

customerAttributeString1

文字列

customerAttributeString2

文字列

customerAttributeNumber1

倍精度浮動小数点

customerAttributeNumber2

倍精度浮動小数点

customerAttributeDate1

日付

customerAttributeDate2

日付

これらの属性の設定および取得には、次のJava Architecture for XML Binding (JAXB)メソッドを使用します。

task.getCustomerAttributes.getCustomerAttributeString1()

task.getCustomerAttributes.setCustomerAttributeString1("String")

task.getCustomerAttributes.getCustomerAttributeNumber1()

task.getCustomerAttributes.setCustomerAttributeNumber2(9)

task.getCustomerAttributes.setCustomerAttributeDate1()

task.getCustomerAttributes.setCustomerAttributeDate2()

これらのフィールドは、customerAttributeString1customerAttributeString2customerAttributeNumber1customerAttributeNumber2customerAttributeDate1customerAttributeDate2としてデータベースに保持されます。