code: public LDAPQuery setAttributes(List<String> attributes) {
  		if(attributes != null && attributes.size() > 0) {
  			this.attributes = new String[attributes.size()];
  			int i = 0;
  			for(String attribute : attributes) {
  				this.attributes[i++] = attribute;
  			}
  		} else {
  			this.attributes = ALL_ATTRIBUTES;
  		}
  		return this;
  	}
docs: Sets the names of the attributes to extract for each returned entity.
  
  @param attributes
  the names of the attributes to extract for each returned entity.
  @return
  the object itself, for method chaining.