List < Object > function ( ) { if ( resourceTypeOrMethodOrRepresentation == null ) { resourceTypeOrMethodOrRepresentation = new ArrayList < Object > ( ) ; } return this . resourceTypeOrMethodOrRepresentation ; }
gets the value of the resourcetypeormethodorrepresentation 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 resourcetypeormethodorrepresentation property . for example , to add a new item , do as follows : getresourcetypeormethodorrepresentation . add newitem ; objects of the following type s are allowed in the list resourcetype method representation param concode_field_sep Grammars grammars concode_elem_sep List<Doc> doc concode_elem_sep List<Resources> resources concode_elem_sep List<Object> any concode_elem_sep List<Object> resourceTypeOrMethodOrRepresentation concode_field_sep Grammars getGrammars concode_elem_sep void setGrammars concode_elem_sep List<Resources> getResources concode_elem_sep List<Doc> getDoc concode_elem_sep List<Object> getAny