
com.ardoq.model.Model Maven / Gradle / Ivy
package com.ardoq.model;
import java.util.Map;
public class Model {
private final String id;
private final String name;
private final String description;
private final Boolean useAsTemplate;
private final Map componentTypes;
private final Map referenceTypes;
public Model(String id, String name, String description, Boolean useAsTemplate, Map componentTypes, Map referenceTypes) {
this.id = id;
this.name = name;
this.description = description;
this.useAsTemplate = useAsTemplate;
this.componentTypes = componentTypes;
this.referenceTypes = referenceTypes;
}
public Integer getReferenceTypeByName(String name) {
return referenceTypes.get(name);
}
public String getId() {
return id;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public Map getComponentTypes() {
return componentTypes;
}
public Map getReferenceTypes() {
return referenceTypes;
}
public String getComponentTypeByName(String name) {
return this.componentTypes.get(name);
}
public Boolean isTemplate() {
return this.useAsTemplate;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy