List < InteractionPair > function ( ) { if ( interactionPair == null ) { interactionPair = new ArrayList < InteractionPair > ( ) ; } return this . interactionPair ; }
gets the value of the interactionpair 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 interactionpair property . for example , to add a new item , do as follows : getinteractionpair . add newitem ; objects of the following type s are allowed in the list interactionpair concode_field_sep MinConceptItem minConceptItem concode_elem_sep String comment concode_elem_sep List<InteractionPair> interactionPair concode_field_sep void setMinConceptItem concode_elem_sep void setComment concode_elem_sep String getComment concode_elem_sep MinConceptItem getMinConceptItem