rename methods addAttribute,addRelation to setAttribute,setRelation
all methods call setSubRelation, setSubRelation call addLink