<commit_before>/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the GNU Affero
 * General Public License. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */
package org.geomajas.widget.featureinfo.configuration.client;

import java.util.ArrayList;
import java.util.List;

import org.geomajas.configuration.Parameter;
import org.geomajas.configuration.client.ClientWidgetInfo;

/**
 * Configuration properties for custom widgets.
 * 
 * @author <NAME>
 */
public class WidgetBuilderInfo implements ClientWidgetInfo {

	private static final long serialVersionUID = 180L;

	/**
	 * Use this identifier in your configuration files (beans).
	 */
	public static final String IDENTIFIER = "WidgetBuilderInfo";

	/**
	 * The name (key) of a builder for the custom Widget. (the type will depend
	 * on the face, eg. a Canvas builder when using GWT)
	 * <p>
	 * Do not forget to add your builder to the widgetfactory (in
	 * EntryPoint.onModuleLoad).
	 * </p>
	 */
	private String builderName;

	private List<Parameter> parameters = new ArrayList<Parameter>();

	public List<Parameter> getParameters() {
		return parameters;
	}

	public void setParameters(List<Parameter> parameters) {
		this.parameters = parameters;
	}

	public String getBuilderName() {
		return builderName;
	}

	public void setBuilderName(String builderName) {
		this.builderName = builderName;
	}
}<commit_msg>add javadoc<commit_after>/*
 * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
 *
 * Copyright 2008-2012 Geosparc nv, http://www.geosparc.com/, Belgium.
 *
 * The program is available in open source according to the GNU Affero
 * General Public License. All contributions in this program are covered
 * by the Geomajas Contributors License Agreement. For full licensing
 * details, see LICENSE.txt in the project root.
 */
package org.geomajas.widget.featureinfo.configuration.client;

import java.util.ArrayList;
import java.util.List;

import org.geomajas.configuration.Parameter;
import org.geomajas.configuration.client.ClientWidgetInfo;

/**
 * Configuration properties for custom widgets.
 * 
 * @author <NAME>
 */
public class WidgetBuilderInfo implements ClientWidgetInfo {

	private static final long serialVersionUID = 100L;

	/**
	 * Use this identifier in your configuration files (beans).
	 */
	public static final String IDENTIFIER = "WidgetBuilderInfo";

	/**
	 * The name (key) of a builder for the custom Widget. (the type will depend
	 * on the face, eg. a Canvas builder when using GWT)
	 * <p />
	 * Do not forget to add your builder to the widget factory (in EntryPoint.onModuleLoad).
	 */
	private String builderName;

	private List<Parameter> parameters = new ArrayList<Parameter>();

	/**
	 * Get widget parameters.
	 *
	 * @return parameters
	 */
	public List<Parameter> getParameters() {
		return parameters;
	}

	/**
	 * Set widget parameters.
	 *
	 * @param parameters parameters
	 */
	public void setParameters(List<Parameter> parameters) {
		this.parameters = parameters;
	}

	/**
	 * Get builder name, this needs to be registered in the WidgetFactory class.
	 *
	 * @return name of builder
	 */
	public String getBuilderName() {
		return builderName;
	}

	/**
	 * Set builder name, this needs to be registered in the WidgetFactory class.
	 *
	 * @param builderName name of builder
	 */
	public void setBuilderName(String builderName) {
		this.builderName = builderName;
	}
}
{'fraction_non_alphanumeric': 0.09360544217687075, 'fraction_numerical': 0.00598639455782313, 'mean_word_length': 3.934228187919463, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '147017', 'n_tokens_mistral': 1093, 'n_tokens_neox': 1003, 'n_words': 373}