List < OrdTypeRulesBlockT > function ( ) { if ( ordTypRules == null ) { ordTypRules = new ArrayList < OrdTypeRulesBlockT > ( ) ; } return this . ordTypRules ; }
gets the value of the ordtyprules 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 ordtyprules property . for example , to add a new item , do as follows : getordtyprules . add newitem ; objects of the following type s are allowed in the list ordtyperulesblockt concode_field_sep List<TimeInForceRulesBlockT> tmInForceRules concode_elem_sep List<ExecInstRulesBlockT> execInstRules concode_elem_sep List<MarketDataFeedTypesBlockT> mdFeedTyps concode_elem_sep List<OrdTypeRulesBlockT> ordTypRules concode_elem_sep List<MatchRulesBlockT> mtchRules concode_field_sep List<TimeInForceRulesBlockT> getTmInForceRules concode_elem_sep List<MatchRulesBlockT> getMtchRules concode_elem_sep List<ExecInstRulesBlockT> getExecInstRules concode_elem_sep List<MarketDataFeedTypesBlockT> getMDFeedTyps