gets the value of the sub 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 sub property . for example , to add a new item , do as follows : getsub . add newitem ; objects of the following type s are allowed in the list nstdptys2subgrpblockt concode_field_sep List<NstdPtys2SubGrpBlockT> sub concode_elem_sep BigInteger r concode_elem_sep String src concode_elem_sep String id concode_field_sep void setSrc concode_elem_sep void setR concode_elem_sep String getSrc concode_elem_sep void setID concode_elem_sep String getID concode_elem_sep BigInteger getR
List < NstdPtys2SubGrpBlockT > function ( ) { if ( sub == null ) { sub = new ArrayList < NstdPtys2SubGrpBlockT > ( ) ; } return this . sub ; }