IContextParameter function ( String arg0 ) { for ( IContextParameter loc0 : contextParameterList ) { if ( loc0 . getName ( ) != null && loc0 . getName ( ) . equals ( arg0 ) ) { return loc0 ; } } return null ; }
commented by marvin wang on mar. 2 , 2012 , the user who invokes the method should notice that if the jobcontext has more than one contextparameters which names are same , this case will cause the wrong return value . suggest use #getcontextparameter string , string concode_field_sep boolean confirmationNeeded concode_elem_sep List<IContextParameter> contextParameterList concode_elem_sep String name concode_field_sep void setName concode_elem_sep List<IContextParameter> getContextParameterList concode_elem_sep String getName concode_elem_sep boolean isConfirmationNeeded concode_elem_sep int getSameNameContextParameterSize concode_elem_sep List<IContextParameter> getSameNameContextParameters concode_elem_sep IContext clone concode_elem_sep void setContextParameterList concode_elem_sep String toString concode_elem_sep void setConfirmationNeeded concode_elem_sep boolean sameAs