List < PremiumRateValue > function ( ) { if ( premiumRateValues == null ) { premiumRateValues = new ArrayList < PremiumRateValue > ( ) ; } return this . premiumRateValues ; }
gets the value of the premiumratevalues 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 premiumratevalues property . for example , to add a new item , do as follows : getpremiumratevalues . add newitem ; objects of the following type s are allowed in the list premiumratevalue concode_field_sep PricingMethod pricingMethod concode_elem_sep PremiumFeature premiumFeature concode_elem_sep List<PremiumRateValue> premiumRateValues concode_elem_sep Long rateCardId concode_elem_sep Long id concode_field_sep Long getRateCardId concode_elem_sep PricingMethod getPricingMethod concode_elem_sep PremiumFeature getPremiumFeature concode_elem_sep void setPremiumFeature concode_elem_sep void setId concode_elem_sep Long getId concode_elem_sep void setRateCardId concode_elem_sep void setPricingMethod