Commit 7a326d1b authored by Matthias Betz's avatar Matthias Betz
Browse files

renaming requirements from SEM to SE

parent b9293842
Pipeline #1996 canceled with stage
...@@ -136,10 +136,10 @@ public class QualityADEUtils { ...@@ -136,10 +136,10 @@ public class QualityADEUtils {
return de.hft.stuttgart.quality.model.jaxb.ErrorId.GE_S_SELF_INTERSECTION; return de.hft.stuttgart.quality.model.jaxb.ErrorId.GE_S_SELF_INTERSECTION;
case "GE_S_MULTIPLE_CONNECTED_COMPONENTS": case "GE_S_MULTIPLE_CONNECTED_COMPONENTS":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.GE_S_MULTIPLE_CONNECTED_COMPONENTS; return de.hft.stuttgart.quality.model.jaxb.ErrorId.GE_S_MULTIPLE_CONNECTED_COMPONENTS;
case "SEM_ATTRIBUTE_WRONG_VALUE": case "SE_ATTRIBUTE_WRONG_VALUE":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.SEM_ATTRIBUTE_WRONG_VALUE; return de.hft.stuttgart.quality.model.jaxb.ErrorId.SE_ATTRIBUTE_WRONG_VALUE;
case "SEM_ATTRIBUTE_MISSING": case "SE_ATTRIBUTE_MISSING":
return de.hft.stuttgart.quality.model.jaxb.ErrorId.SEM_ATTRIBUTE_MISSING; return de.hft.stuttgart.quality.model.jaxb.ErrorId.SE_ATTRIBUTE_MISSING;
default: default:
throw new IllegalStateException("Cannot map " + key + " to ADE Error Id"); throw new IllegalStateException("Cannot map " + key + " to ADE Error Id");
} }
......
...@@ -282,9 +282,9 @@ public class Checker { ...@@ -282,9 +282,9 @@ public class Checker {
} }
Requirement missing = new Requirement(); Requirement missing = new Requirement();
missing.setName(RequirementId.R_SEM_ATTRIBUTES_EXISTING); missing.setName(RequirementId.R_SE_ATTRIBUTES_EXISTING);
Requirement correct = new Requirement(); Requirement correct = new Requirement();
correct.setName(RequirementId.R_SEM_ATTRIBUTES_CORRECT); correct.setName(RequirementId.R_SE_ATTRIBUTES_CORRECT);
missing.setEnabled(config.getSchematronFilePath() != null); missing.setEnabled(config.getSchematronFilePath() != null);
correct.setEnabled(config.getSchematronFilePath() != null); correct.setEnabled(config.getSchematronFilePath() != null);
plan.getRequirements().add(missing); plan.getRequirements().add(missing);
......
...@@ -50,16 +50,15 @@ public class TooFewPolygonsCheck extends Check { ...@@ -50,16 +50,15 @@ public class TooFewPolygonsCheck extends Check {
deps.add(CheckId.C_GE_P_INTERIOR_DISCONNECTED); deps.add(CheckId.C_GE_P_INTERIOR_DISCONNECTED);
deps.add(CheckId.C_GE_P_INTERSECTING_RINGS); deps.add(CheckId.C_GE_P_INTERSECTING_RINGS);
deps.add(CheckId.C_GE_P_NON_PLANAR); deps.add(CheckId.C_GE_P_NON_PLANAR);
dependencies = Collections.unmodifiableList(deps); dependencies = Collections.unmodifiableList(deps);
} }
/** /**
* This method does the main check whether the solid have at least 4 faces or * This method does the main check whether the solid have at least 4 faces or
* not. * not.
* *
* @param toBeCheckedGeometry * @param toBeCheckedGeometry The ViewableGeometry that has to be checked.
* The ViewableGeometry that has to be checked.
* @return Vector of CDErrors * @return Vector of CDErrors
*/ */
@Override @Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment