action perform action event action perform defin statediagram defin activitydiagram lp statediagram granular type statement lp activitydiagram granular type statement lp statediagram local end method lp activitydiagram local end method object target target manag instanc model target object ps model state machin factori build pseudo state target kind model core helper set kind ps kind endif 