List < Object > function ( ) { if ( citationOrProtocol == null ) { citationOrProtocol = new ArrayList < Object > ( ) ; } return this . citationOrProtocol ; }
gets the value of the citationorprotocol 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 citationorprotocol property . for example , to add a new item , do as follows : getcitationorprotocol . add newitem ; objects of the following type s are allowed in the list citationtype protocoltype concode_field_sep List<Object> citationOrProtocol concode_elem_sep List<SoftwareType> software concode_elem_sep TextType description concode_elem_sep List<String> instrumentation concode_elem_sep List<ProcedureStepType> subStep concode_field_sep List<SoftwareType> getSoftware concode_elem_sep ProcedureStepType withCitationOrProtocol concode_elem_sep ProcedureStepType withCitationOrProtocol concode_elem_sep ProcedureStepType withInstrumentation concode_elem_sep ProcedureStepType withInstrumentation concode_elem_sep ProcedureStepType withSubStep concode_elem_sep ProcedureStepType withSubStep concode_elem_sep ProcedureStepType withDescription concode_elem_sep void setDescription concode_elem_sep List<ProcedureStepType> getSubStep concode_elem_sep TextType getDescription concode_elem_sep ProcedureStepType withSoftware concode_elem_sep ProcedureStepType withSoftware concode_elem_sep List<String> getInstrumentation