List < String > function ( ) { if ( nilReason == null ) { nilReason = new ArrayList < String > ( ) ; } return this . nilReason ; }
gets the value of the nilreason 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 nilreason property . for example , to add a new item , do as follows : getnilreason . add newitem ; objects of the following type s are allowed in the list string concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep JAXBElement<? extends AbstractGeometricAggregateType> abstractGeometricAggregate concode_elem_sep String show concode_elem_sep java.lang.Boolean owns concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep String remoteSchema concode_elem_sep String type concode_elem_sep String title concode_field_sep String getRemoteSchema concode_elem_sep String getHref concode_elem_sep void setOwns concode_elem_sep JAXBElement<? extends AbstractGeometricAggregateType> getAbstractGeometricAggregate concode_elem_sep void setHref concode_elem_sep String getRole concode_elem_sep String getArcrole concode_elem_sep void setTitle concode_elem_sep void setActuate concode_elem_sep void setArcrole concode_elem_sep String getActuate concode_elem_sep void setType concode_elem_sep void setRemoteSchema concode_elem_sep void setShow concode_elem_sep boolean isOwns concode_elem_sep void setAbstractGeometricAggregate concode_elem_sep String getTitle concode_elem_sep String getType concode_elem_sep String getShow concode_elem_sep void setRole