question: private static ITLRestRep createInitiatorTargetRefRep ( ExportGroup exportGroup , BlockObject blockObject , String hlu , Initiator initiator , StoragePort port , FCZoneReference fcZoneReference ) { ITLRestRep rep = new ITLRestRep ( ) ; rep . setHlu ( Integer . parseInt ( hlu ) ) ; ITLRestRep . ITLBlockObjectRestRep blockObjectRestRep = new ITLRestRep . ITLBlockObjectRestRep ( ) ; blockObjectRestRep . setId ( blockObject . getId ( ) ) ; blockObjectRestRep . setLink ( new RestLinkRep ( "self" , RestLinkFactory . newLink ( blockObject ) ) ) ; blockObjectRestRep . setWwn ( getBlockObjectFormattedWWN ( blockObject ) ) ; rep . setBlockObject ( blockObjectRestRep ) ; ITLRestRep . ITLInitiatorRestRep initiatorRestRep = new ITLRestRep . ITLInitiatorRestRep ( ) ; initiatorRestRep . setId ( initiator . getId ( ) ) ; initiatorRestRep . setLink ( new RestLinkRep ( "self" , RestLinkFactory . newLink ( initiator ) ) ) ; initiatorRestRep . setPort ( initiator . getInitiatorPort ( ) ) ; rep . setInitiator ( initiatorRestRep ) ; ITLRestRep . ITLStoragePortRestRep storagePortRestRep = new ITLRestRep . ITLStoragePortRestRep ( ) ; if ( port != null ) { storagePortRestRep . setId ( port . getId ( ) ) ; storagePortRestRep . setLink ( new RestLinkRep ( "self" , RestLinkFactory . newLink ( port ) ) ) ; storagePortRestRep . setPort ( port . getPortNetworkId ( ) ) ; if ( port . getIpAddress ( ) != null ) { storagePortRestRep . setIpAddress ( port . getIpAddress ( ) ) ; storagePortRestRep . setTcpPort ( String . valueOf ( port . getTcpPortNumber ( ) ) ) ; } } rep . setStoragePort ( storagePortRestRep ) ; rep . setExport ( toNamedRelatedResource ( exportGroup , exportGroup . getLabel ( ) ) ) ; if ( fcZoneReference != null ) { rep . setSanZoneName ( fcZoneReference . getZoneName ( ) ) ; } return rep ; }
target:  Creates and returns an instance of REST response object.