gets the value of the contactname 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 contactname property . for example , to add a new item , do as follows : getcontactname . add newitem ; objects of the following type s are allowed in the list nametype concode_field_sep IdentifierType senderMessageID concode_elem_sep String contactEmail concode_elem_sep List<NameType> contactName concode_elem_sep CustomSenderType custom concode_elem_sep String ipAddress concode_elem_sep List<TextType> description concode_elem_sep List<NameType> callingServiceName concode_elem_sep long serialVersionUID concode_elem_sep CodeType transactionCode concode_elem_sep List<ESBHeaderExtensionType> esbHeaderExtension concode_elem_sep List<ObjectCrossReferenceType> objectCrossReference concode_elem_sep ApplicationType application concode_elem_sep String contactPhoneNumber concode_elem_sep IdentifierType id concode_elem_sep WSAddressType wsAddress concode_field_sep List<NameType> getCallingServiceName concode_elem_sep ApplicationType getApplication concode_elem_sep List<ESBHeaderExtensionType> getESBHeaderExtension concode_elem_sep String getContactPhoneNumber concode_elem_sep List<ObjectCrossReferenceType> getObjectCrossReference concode_elem_sep IdentifierType getSenderMessageID concode_elem_sep IdentifierType getID concode_elem_sep CustomSenderType getCustom concode_elem_sep void setIPAddress concode_elem_sep void setContactEmail concode_elem_sep void setSenderMessageID concode_elem_sep void setContactPhoneNumber concode_elem_sep WSAddressType getWSAddress concode_elem_sep List<TextType> getDescription concode_elem_sep void setTransactionCode concode_elem_sep void setApplication concode_elem_sep void setCustom concode_elem_sep void setWSAddress concode_elem_sep CodeType getTransactionCode concode_elem_sep void setID concode_elem_sep String getIPAddress concode_elem_sep String getContactEmail
List < NameType > function ( ) { if ( contactName == null ) { contactName = new ArrayList < NameType > ( ) ; } return this . contactName ; }