List < Book > function ( ) { if ( book == null ) { book = new ArrayList < Book > ( ) ; } return this . book ; }
gets the value of the book 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 book property . for example , to add a new item , do as follows : getbook . add newitem ; objects of the following type s are allowed in the list book concode_field_sep List<Lending> lending concode_elem_sep String city concode_elem_sep BigInteger housenumber concode_elem_sep String street concode_elem_sep List<Catalog> catalog concode_elem_sep List<Book> book concode_elem_sep String name concode_elem_sep String postcode concode_elem_sep List<Member> member concode_field_sep void setName concode_elem_sep BigInteger getHousenumber concode_elem_sep String getName concode_elem_sep String getPostcode concode_elem_sep void setStreet concode_elem_sep void setCity concode_elem_sep List<Member> getMember concode_elem_sep List<Catalog> getCatalog concode_elem_sep String getStreet concode_elem_sep void setPostcode concode_elem_sep List<Lending> getLending concode_elem_sep String getCity concode_elem_sep void setHousenumber