Class ValidationRule


public class ValidationRule extends TypePart
  • Constructor Details

  • Method Details

    • 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 String getName()
      Returns the name of the validation rule.
      Overrides:
      getName in class ModelElement
      Returns:
      the name of the validation rule
    • getMsgCode

      public 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
    • toString

      public String toString()
      Overrides:
      toString in class ModelElement