List < Rules > function ( ) { if ( secGrpDetails == null ) { secGrpDetails = new ArrayList < Rules > ( ) ; } return this . secGrpDetails ; }
gets the value of the secgrpdetails 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 secgrpdetails property . for example , to add a new item , do as follows : getsecgrpdetails . add newitem ; objects of the following type s are allowed in the list rules concode_field_sep Integer returnCode concode_elem_sep JAXBElement<String> securitygroupName concode_elem_sep JAXBElement<String> secgrpname concode_elem_sep JAXBElement<String> longMessage concode_elem_sep JAXBElement<String> message concode_elem_sep List<Rules> secGrpDetails concode_field_sep JAXBElement<String> getSecuritygroupName concode_elem_sep JAXBElement<String> getMessage concode_elem_sep void setLongMessage concode_elem_sep void setSecuritygroupName concode_elem_sep JAXBElement<String> getLongMessage concode_elem_sep void setMessage concode_elem_sep void setReturnCode concode_elem_sep void setSecgrpname concode_elem_sep Integer getReturnCode concode_elem_sep JAXBElement<String> getSecgrpname