es.prodevelop.pui9.mvc.configuration.PuiControllersInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of es.prodevelop.pui9.services Show documentation
Show all versions of es.prodevelop.pui9.services Show documentation
Support for business layer (BO)
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