The getReference method returns a string containing the reference (the value of the DREREFERENCE document field).
getReference
DREREFERENCE
getReference()
(String). A string containing the reference.