code: public void setName(String name) throws ApplicationException {
  	if (name == null) return;
  	this.name = name.trim();
  	if (name.length() == 0) throw new ApplicationException("invalid attribute definition", "attribute [name] can't be a empty string");
      }
docs: set the value name
  
  @param name value to set
  @throws ApplicationException