gets the value of the recipientpublickey 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 recipientpublickey property . for example , to add a new item , do as follows : getrecipientpublickey . add newitem ; objects of the following type s are allowed in the list xmlrecipientpublickeytype concode_field_sep List<ToBeEncryptedType> toBeEncrypted concode_elem_sep EncryptionInfoType encryptionInfo concode_elem_sep List<XMLRecipientPublicKeyType> recipientPublicKey concode_field_sep List<ToBeEncryptedType> getToBeEncrypted concode_elem_sep void setEncryptionInfo concode_elem_sep EncryptionInfoType getEncryptionInfo
List < XMLRecipientPublicKeyType > function ( ) { if ( recipientPublicKey == null ) { recipientPublicKey = new ArrayList < XMLRecipientPublicKeyType > ( ) ; } return this . recipientPublicKey ; }