@SCLValue(type = "ReadGraph -> Resource -> [Issue]")\r
public static List<Issue> unitValidator(ReadGraph graph, Resource component) throws DatabaseException {\r
SysdynResource SR = SysdynResource.getInstance(graph);\r
- if(graph.isInstanceOf(component, SR.Variable) && !graph.isInstanceOf(component, SR.Cloud))\r
+ if(graph.isInstanceOf(component, SR.Variable)\r
+ && !graph.isInstanceOf(component, SR.Cloud)\r
+ && !graph.isInstanceOf(component, SR.Enumeration))\r
return variableValidator(graph, component);\r
else if(graph.isInstanceOf(component, SR.Module))\r
return moduleValidator(graph, component);\r
Layer0 L0 = Layer0.getInstance(graph);\r
Resource configuration = graph.getPossibleObject(variable, L0.PartOf);\r
if(configuration == null)\r
- return "Error, No Confiugration";\r
+ return "Error, No Configuration";\r
\r
\r
SysdynModelManager smm = SysdynModelManager.getInstance(graph.getSession());\r