This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| pr_methods:setattributevalue [2023/04/04 06:15] – ↷ Page moved from progref:0300_add_custom_processes:0317_ientity_interface:setattributevalue to pr_methods:setattributevalue sean | pr_methods:setattributevalue [2023/05/03 04:56] (current) – sean |
|---|
| {{tag>Programmers_Reference Methods IEntity_Interface IEntity_Interface_Methods SetAttributeValue}} | {{tag>Index Programmers_Reference Methods IEntity_Interface SetAttributeValue}} |
| |
| ====setAttributeValue (String, Object)==== | ====setAttributeValue (String, Object)==== |
| This method sets the value of the specified attribute. | This method sets the value of the specified attribute. |
| |
| <callout type="primary" title="note" icon="true">The attribute must not be a reference. Use the ''[[progref:0300_add_custom_processes:0317_ientity_interface:setreferences|setReferences]]'' method to set references.</callout> | <callout type="primary" title="note" icon="true">The attribute must not be a reference. Use the ''[[pr_methods:setreferences|setReferences]]'' method to set references.</callout> |
| |
| ===Parameters=== | ===Parameters=== |
| |''attributeName''|the name of the attribute of the business object or notification the value of which is set| | |''attributeName''|the name of the attribute of the business object or notification the value of which is set| |
| |''value''|the value of the attribute to set as Object. The type of the object corresponds to the type of the attribute. See [[progref:appendix_a|Appendix A]] that provides the mapping between attribute types and Java types.| | |''value''|the value of the attribute to set as Object. The type of the object corresponds to the type of the attribute. See [[docs:3500:appendix_a|Appendix A]] that provides the mapping between attribute types and Java types.| |
| |
| ===Throws=== | ===Throws=== |
| |''InvalidParameterException''|if the specified attribute name does not exist in the business object or notification| | |''InvalidParameterException''|if the specified attribute name does not exist in the business object or notification| |
| |