List < TSLocation > function ( ) { if ( location == null ) { location = new ArrayList < TSLocation > ( ) ; } return this . location ; }
gets the value of the location 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 location property . for example , to add a new item , do as follows : getlocation . add newitem ; objects of the following type s are allowed in the list tslocation concode_field_sep Boolean isReverseFormation concode_elem_sep String uid concode_elem_sep XMLGregorianCalendar ssd concode_elem_sep List<TSLocation> location concode_elem_sep DisruptionReasonType lateReason concode_elem_sep String rid concode_field_sep void setSsd concode_elem_sep void unsetIsReverseFormation concode_elem_sep boolean isSetSsd concode_elem_sep XMLGregorianCalendar getSsd concode_elem_sep void unsetLocation concode_elem_sep void setRid concode_elem_sep void setUid concode_elem_sep DisruptionReasonType getLateReason concode_elem_sep String getUid concode_elem_sep boolean isSetLateReason concode_elem_sep boolean isSetUid concode_elem_sep boolean isSetRid concode_elem_sep boolean getIsReverseFormation concode_elem_sep void setIsReverseFormation concode_elem_sep void setLateReason concode_elem_sep boolean isSetLocation concode_elem_sep boolean isSetIsReverseFormation concode_elem_sep String getRid