gets the value of the receivertradingpartner property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the receivertradingpartner property . for example , to add a new item , do as follows : getreceivertradingpartner . add newitem ; objects of the following type s are allowed in the list receivertradingpartnertype concode_field_sep B2BDocumentTypeType b2BDocumentType concode_elem_sep List<ReceiverTradingPartnerType> receiverTradingPartner concode_elem_sep IdentifierType replyToMessageID concode_elem_sep CustomB2BMReferenceType custom concode_elem_sep long serialVersionUID concode_elem_sep IdentifierType b2BMID concode_elem_sep SenderTradingPartnerType senderTradingPartner concode_elem_sep IdentifierType collaborationID concode_elem_sep IdentifierType gatewayID concode_field_sep B2BDocumentTypeType getB2BDocumentType concode_elem_sep IdentifierType getGatewayID concode_elem_sep void setCollaborationID concode_elem_sep void setB2BDocumentType concode_elem_sep IdentifierType getCollaborationID concode_elem_sep CustomB2BMReferenceType getCustom concode_elem_sep void setSenderTradingPartner concode_elem_sep SenderTradingPartnerType getSenderTradingPartner concode_elem_sep void setCustom concode_elem_sep IdentifierType getReplyToMessageID concode_elem_sep IdentifierType getB2BMID concode_elem_sep void setGatewayID concode_elem_sep void setB2BMID concode_elem_sep void setReplyToMessageID
List < ReceiverTradingPartnerType > function ( ) { if ( receiverTradingPartner == null ) { receiverTradingPartner = new ArrayList < ReceiverTradingPartnerType > ( ) ; } return this . receiverTradingPartner ; }