All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.prodevelop.pui9.mvc.configuration.PuiControllersInfo Maven / Gradle / Ivy

There is a newer version: 1.18.0
Show newest version
package es.prodevelop.pui9.mvc.configuration;

import java.util.LinkedHashMap;
import java.util.Map;

public class PuiControllersInfo {

	private String name;
	private Map url = new LinkedHashMap<>();
	private Map functionalities = new LinkedHashMap<>();

	public PuiControllersInfo(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public Map getUrl() {
		return url;
	}

	public void addUrl(String name, String url) {
		this.url.put(name, url);
	}

	public Map getFunctionalities() {
		return functionalities;
	}

	public boolean existFunctionality(String id) {
		return functionalities.containsKey(id);
	}

	public void addFunctionality(String id, String functionality) {
		if (!functionalities.containsKey(id)) {
			functionalities.put(id, functionality);
		}
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy