public void setName(String name)
 {
     method.checkCreated();
     this.name = name;
 }