public RuntimeParameter addParameter ( String key , String value ) { RuntimeParameter jp = new RuntimeParameter ( ) ; jp . setJi ( this . getId ( ) ) ; jp . setKey ( key ) ; jp . setValue ( value ) ; return jp ; }
Helper method to add a parameter without having to create it explicitely . The created parameter should be persisted afterwards .