set context object statemachin object model element todo auto gener method stub implement except 