{{tag>Programmers_Reference Methods IExecutionEngine_Interface getObjectReferences Index}} ====getObjectReferences (IProcess, IEntity, String)==== public Vector getObjectReferences (IProcessparent, IEntity refOwner, String refOwnerAttr) throws AccessDeniedException, ExecutionException; This method is very similar to the ''[[pr_methods:getallreferences|getAllReferences]]'' method. However, it returns references as a collection of ''ObjectReference'' objects rather than ''[[docs:3500:0300:0317|IEntity]]'' objects. ''ObjectReference'' is a structure containing an object name and ID. If only names and ID's of the references are required calling this method is much more efficient than calling ''[[pr_methods:getallreferences|getAllReferences]]'', which retrieves the values of all attributes. ===Parameters=== |''refOwner''|the instance of the business object the references of which are retrieved| |''refOwnerAttr''|the name of the attribute of the business object the references of which are retrieved (must be of the reference type)| ===Returns=== The names and ID's of business objects referenced through the specified attribute as a vector of the ''ObjectReference'' objects or null if no instances are referenced through the specified attribute.