Class ValidationRule


  • public class ValidationRule
    extends TypePart
    • Method Detail

      • isChangingOverTime

        public boolean isChangingOverTime()
        Returns whether this validation rule is changing over time.
        Returns:
        true if this validation rule is changing over time, otherwise false
      • isActivatedByDefault

        public boolean isActivatedByDefault()
        Returns whether this validation rule is activated by default.
        Returns:
        true if this validation rule is activated by default,otherwise false
      • isProductRelevant

        public boolean isProductRelevant()
        Returns whether this validation rule can be configured by a product component.
        Returns:
        true if this validation rule can be configured by a product component, otherwise false
      • getName

        public java.lang.String getName()
        Returns the name of the validation rule.
        Overrides:
        getName in class ModelElement
        Returns:
        the name of the validation rule
      • getMsgCode

        public java.lang.String getMsgCode()
        Returns the message code of the validation rule.
        Returns:
        the message code of the validation rule
      • getSeverity

        public Severity getSeverity()
        Returns the Severity of the validation rule.
        Returns:
        Severity of the validation rule