se.cambio.cm.model.util.TemplateElementMap Maven / Gradle / Ivy
The newest version!
package se.cambio.cm.model.util;
import java.util.LinkedHashMap;
import java.util.Map;
public class TemplateElementMap {
private final String dataType;
private final String path;
private final String elementMapId;
private LinkedHashMap attributeMaps;
public TemplateElementMap(String dataType, String path, String elementMapId, LinkedHashMap attributeMap) {
this.dataType = dataType;
this.path = path;
this.elementMapId = elementMapId;
this.attributeMaps = attributeMap;
}
public String getDataType() {
return dataType;
}
public String getPath() {
return path;
}
public String getElementMapId() {
return elementMapId;
}
public Map getAttributeMaps() {
if (attributeMaps == null) {
attributeMaps = new LinkedHashMap<>();
}
return attributeMaps;
}
}