示例#1
0
 public void setName(String value) {
   if (value == null) throw new NullPointerException("value may not be null");
   name = value;
   environment.onAreaNewName(this);
 }
示例#2
0
 public void setAreaName(String areaName) {
   NullCheck.notNull(areaName, "areaName");
   this.areaName = areaName;
   environment.onAreaNewName(this);
 }