List < Long > function ( ) { if ( blockedLabelIds == null ) { blockedLabelIds = new ArrayList < Long > ( ) ; } return this . blockedLabelIds ; }
gets the value of the blockedlabelids 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 blockedlabelids property . for example , to add a new item , do as follows : getblockedlabelids . add newitem ; objects of the following type s are allowed in the list long concode_field_sep List<Long> blockedLabelIds concode_elem_sep InventoryTargeting inventoryTargeting concode_elem_sep Boolean isBlockAll concode_elem_sep List<Long> allowedLabelIds concode_elem_sep String name concode_elem_sep Long id concode_elem_sep Boolean isActive concode_elem_sep AdExclusionRuleType type concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setInventoryTargeting concode_elem_sep Long getId concode_elem_sep void setType concode_elem_sep Boolean isIsBlockAll concode_elem_sep Boolean isIsActive concode_elem_sep List<Long> getAllowedLabelIds concode_elem_sep AdExclusionRuleType getType concode_elem_sep void setId concode_elem_sep InventoryTargeting getInventoryTargeting concode_elem_sep void setIsActive concode_elem_sep void setIsBlockAll