gets the value of the mymessage 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 mymessage property . for example , to add a new item , do as follows : getmymessage . add newitem ; objects of the following type s are allowed in the list mymessage concode_field_sep List<MyMessage> myMessage concode_elem_sep MyError myError concode_field_sep MyError getMyError concode_elem_sep Object createTestInstance concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setMyError concode_elem_sep String toString
List < MyMessage > function ( ) { if ( myMessage == null ) { myMessage = new ArrayList < MyMessage > ( ) ; } return this . myMessage ; }