cdc.mf.checks.nodes.enumerations.EnumerationNameIsMandatory Maven / Gradle / Ivy
package cdc.mf.checks.nodes.enumerations;
import cdc.issues.checks.SnapshotManager;
import cdc.issues.rules.Rule;
import cdc.mf.checks.DefaultRuleUtils;
import cdc.mf.checks.atts.name.AbstractNameIsMandatory;
import cdc.mf.model.MfEnumeration;
public class EnumerationNameIsMandatory extends AbstractNameIsMandatory {
public static final String NAME = "ENUMERATION_NAME_IS_MANDATORY";
public static final Rule RULE =
DefaultRuleUtils.define(NAME,
description -> description.text(describe("enumerations"))
.appliesTo("All enumerations"),
SEVERITY);
public EnumerationNameIsMandatory(SnapshotManager manager) {
super(manager,
MfEnumeration.class,
RULE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy