Class ValidationProfile.ValidationRuleStereotype

    • Field Detail

      • ABBREVIATION

        public static final java.lang.String ABBREVIATION
        Specify a short word, phrase, or acronym of the validation rule. It allows you to distinguish the validation rules among other rules when sorting or filtering.
        See Also:
        Constant Field Values
      • CONSTRAINEDELEMENTSFILTER

        public static final java.lang.String CONSTRAINEDELEMENTSFILTER
        Specify the condition that must be met in order to validate Constrained Elements.
        See Also:
        Constant Field Values
      • ERRORMESSAGE

        public static final java.lang.String ERRORMESSAGE
        Describe the invalid situation when validation rule fails.
        See Also:
        Constant Field Values
      • SEVERITY

        public static final java.lang.String SEVERITY
        Select the severity kind of the validation rule: debug, info, warning, error, fatal.
        See Also:
        Constant Field Values
      • abbreviation

        @CheckForNull
        private Property abbreviation
      • constrainedElementsFilter

        @CheckForNull
        private Property constrainedElementsFilter
      • errorMessage

        @CheckForNull
        private Property errorMessage
      • parentObject

        @CheckForNull
        private Property parentObject
      • parentRule

        @CheckForNull
        private Property parentRule
      • severity

        @CheckForNull
        private Property severity
      • implementation

        @CheckForNull
        private Property implementation
    • Constructor Detail

      • ValidationRuleStereotype

        protected ValidationRuleStereotype​(ValidationProfile profile)
    • Method Detail

      • getAbbreviationProperty

        @CheckForNull
        public Property getAbbreviationProperty()
      • getConstrainedElementsFilterProperty

        @CheckForNull
        public Property getConstrainedElementsFilterProperty()
      • getErrorMessageProperty

        @CheckForNull
        public Property getErrorMessageProperty()
      • getParentObjectProperty

        @CheckForNull
        public Property getParentObjectProperty()
      • getParentRuleProperty

        @CheckForNull
        public Property getParentRuleProperty()
      • getSeverityProperty

        @CheckForNull
        public Property getSeverityProperty()
      • getImplementationProperty

        @CheckForNull
        public Property getImplementationProperty()
      • setAbbreviation

        public void setAbbreviation​(Element element,
                                    @CheckForNull
                                    java.lang.String value)
      • clearAbbreviation

        public void clearAbbreviation​(Element element)
      • getAbbreviation

        @CheckForNull
        public java.lang.String getAbbreviation​(Element element)
      • setConstrainedElementsFilter

        public void setConstrainedElementsFilter​(Element element,
                                                 @CheckForNull
                                                 java.lang.Object value)
      • clearConstrainedElementsFilter

        public void clearConstrainedElementsFilter​(Element element)
      • getConstrainedElementsFilter

        @CheckForNull
        public java.lang.Object getConstrainedElementsFilter​(Element element)
      • setErrorMessage

        public void setErrorMessage​(Element element,
                                    @CheckForNull
                                    java.lang.String value)
      • clearErrorMessage

        public void clearErrorMessage​(Element element)
      • getErrorMessage

        @CheckForNull
        public java.lang.String getErrorMessage​(Element element)
      • setParentObject

        public void setParentObject​(Element element,
                                    @CheckForNull
                                    java.lang.Object value)
      • clearParentObject

        public void clearParentObject​(Element element)
      • getParentObject

        @CheckForNull
        public java.lang.Object getParentObject​(Element element)
      • setParentRule

        public void setParentRule​(Element element,
                                  @CheckForNull
                                  Element value)
      • clearParentRule

        public void clearParentRule​(Element element)
      • getParentRule

        @CheckForNull
        public Element getParentRule​(Element element)
      • clearSeverity

        public void clearSeverity​(Element element)
      • setImplementation

        public void setImplementation​(Element element,
                                      @CheckForNull
                                      java.lang.String value)
      • clearImplementation

        public void clearImplementation​(Element element)
      • getImplementation

        @CheckForNull
        public java.lang.String getImplementation​(Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          Element element)
        Description copied from class: ProfileImplementation.StereotypeWrapper
        Checks if stereotype of this wrapper is applied to given element.
        Parameters:
        element - element
        Returns:
        true if stereotype of this wrapper is applied to given element
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         Element element)