Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
pr_methods:getreferences [2023/04/04 06:15] – ↷ Page moved from progref:0300_add_custom_processes:0317_ientity_interface:getreferences to pr_methods:getreferences seanpr_methods:getreferences [2023/05/03 04:35] (current) sean
Line 1: Line 1:
-{{tag>Programmers_Reference Methods IEntity_Interface IEntity_Interface_Methods GetReferences}}+{{tag>Programmers_Reference Methods IEntity_Interface GetReferences Index}}
 ====getReferences (String)==== ====getReferences (String)====
 <code java>public ObjectReference [] getReferences (String attributeName) <code java>public ObjectReference [] getReferences (String attributeName)
 throws InvalidParameterException</code> throws InvalidParameterException</code>
  
-This method retrieves references of the business object or notification. If the business object was obtained in the first place by the calls to the ''[[pr_methods:getentity|getEntity]]''or ''[[pr_methods:getentities|getEntities]]'' methods of the [[progref:0300_add_custom_processes:0315_iexecutionengine_interface|IExecutionEngine]] interface the ''getReferences'' method will always return null for multiple references (it will always return the only existing reference if the attribute is a single reference). Use the [[pr_methods:getallreferences|getAllReferences]] method in the [[progref:0300_add_custom_processes:0315_iexecutionengine_interface|IExecutionEngine]] interface to obtain all multiple references of the business object.+This method retrieves references of the business object or notification. If the business object was obtained in the first place by the calls to the ''[[pr_methods:getentity|getEntity]]''or ''[[pr_methods:getentities|getEntities]]'' methods of the [[docs:3500:0300:0315|IExecutionEngine]] interface the ''getReferences'' method will always return null for multiple references (it will always return the only existing reference if the attribute is a single reference). Use the [[pr_methods:getallreferences|getAllReferences]] method in the [[docs:3500:0300:0315|IExecutionEngine]] interface to obtain all multiple references of the business object.
  
 ===Parameters=== ===Parameters===
  • Last modified: 2023/04/04 06:15