add constrain element object handl object constraint todo auto gener method stub 