Class ValidationProfile

    • Field Detail

      • VALIDATIONRULE_IMPLEMENTATION_PROPERTY

        public static final java.lang.String VALIDATIONRULE_IMPLEMENTATION_PROPERTY
        See Also:
        Constant Field Values
      • SEVERITYKIND_DATATYPE

        public static final java.lang.String SEVERITYKIND_DATATYPE
        See Also:
        Constant Field Values
      • SEVERITYKIND_DEBUG_LITERAL

        public static final java.lang.String SEVERITYKIND_DEBUG_LITERAL
        See Also:
        Constant Field Values
      • SEVERITYKIND_ERROR_LITERAL

        public static final java.lang.String SEVERITYKIND_ERROR_LITERAL
        See Also:
        Constant Field Values
      • SEVERITYKIND_FATAL_LITERAL

        public static final java.lang.String SEVERITYKIND_FATAL_LITERAL
        See Also:
        Constant Field Values
      • SEVERITYKIND_INFO_LITERAL

        public static final java.lang.String SEVERITYKIND_INFO_LITERAL
        See Also:
        Constant Field Values
      • SEVERITYKIND_WARNING_LITERAL

        public static final java.lang.String SEVERITYKIND_WARNING_LITERAL
        See Also:
        Constant Field Values
      • ACTIVEVALIDATIONSUITE_STEREOTYPE

        @Deprecated
        public static final java.lang.String ACTIVEVALIDATIONSUITE_STEREOTYPE
        Deprecated.
        use ActiveValidationSuiteStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • DEBUGICON_STEREOTYPE

        @Deprecated
        public static final java.lang.String DEBUGICON_STEREOTYPE
        Deprecated.
        use DebugIconStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • DEFINITION_STEREOTYPE

        @Deprecated
        public static final java.lang.String DEFINITION_STEREOTYPE
        Deprecated.
        use DefinitionStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • ERRORICON_STEREOTYPE

        @Deprecated
        public static final java.lang.String ERRORICON_STEREOTYPE
        Deprecated.
        use ErrorIconStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • FATALICON_STEREOTYPE

        @Deprecated
        public static final java.lang.String FATALICON_STEREOTYPE
        Deprecated.
        use FatalIconStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • IMAGED_STEREOTYPE

        @Deprecated
        public static final java.lang.String IMAGED_STEREOTYPE
        Deprecated.
        use ImagedStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • IMAGED_HIGHLIGHTCOLOR_PROPERTY

        @Deprecated
        public static final java.lang.String IMAGED_HIGHLIGHTCOLOR_PROPERTY
        Deprecated.
        use ImagedStereotype.HIGHLIGHTCOLOR
        See Also:
        Constant Field Values
      • INFOICON_STEREOTYPE

        @Deprecated
        public static final java.lang.String INFOICON_STEREOTYPE
        Deprecated.
        use InfoIconStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • INVARIANT_STEREOTYPE

        @Deprecated
        public static final java.lang.String INVARIANT_STEREOTYPE
        Deprecated.
        use InvariantStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • SYSTEMVALIDATIONSUITE_STEREOTYPE

        @Deprecated
        public static final java.lang.String SYSTEMVALIDATIONSUITE_STEREOTYPE
        Deprecated.
        use SystemValidationSuiteStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • VALIDATIONRULE_STEREOTYPE

        @Deprecated
        public static final java.lang.String VALIDATIONRULE_STEREOTYPE
        Deprecated.
        use ValidationRuleStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • VALIDATIONRULE_ABBREVIATION_PROPERTY

        @Deprecated
        public static final java.lang.String VALIDATIONRULE_ABBREVIATION_PROPERTY
        Deprecated.
        use ValidationRuleStereotype.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
      • VALIDATIONRULE_CONSTRAINEDELEMENTSFILTER_PROPERTY

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

        @Deprecated
        public static final java.lang.String VALIDATIONRULE_ERRORMESSAGE_PROPERTY
        Deprecated.
        use ValidationRuleStereotype.ERRORMESSAGE
        Describe the invalid situation when validation rule fails.
        See Also:
        Constant Field Values
      • VALIDATIONRULE_PARENTOBJECT_PROPERTY

        @Deprecated
        public static final java.lang.String VALIDATIONRULE_PARENTOBJECT_PROPERTY
        Deprecated.
        use ValidationRuleStereotype.PARENTOBJECT
        See Also:
        Constant Field Values
      • VALIDATIONRULE_PARENTRULE_PROPERTY

        @Deprecated
        public static final java.lang.String VALIDATIONRULE_PARENTRULE_PROPERTY
        Deprecated.
        use ValidationRuleStereotype.PARENTRULE
        See Also:
        Constant Field Values
      • VALIDATIONRULE_SEVERITY_PROPERTY

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

        @Deprecated
        public static final java.lang.String VALIDATIONSUITE_STEREOTYPE
        Deprecated.
        use ValidationSuiteStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • WARNINGICON_STEREOTYPE

        @Deprecated
        public static final java.lang.String WARNINGICON_STEREOTYPE
        Deprecated.
        use WarningIconStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • ValidationProfile

        public ValidationProfile​(com.nomagic.profiles.ProfileCache cache)
    • Method Detail

      • getInstanceByProject

        public static ValidationProfile getInstanceByProject​(com.nomagic.uml2.project.ElementProject project)
      • getSeverityKind

        public Enumeration getSeverityKind()
      • getActiveValidationSuite

        @Deprecated
        public Stereotype getActiveValidationSuite()
        Deprecated.
        use getInstance(element).activeValidationSuite().getStereotype()
      • isActiveValidationSuite

        @Deprecated
        public static boolean isActiveValidationSuite​(@CheckForNull
                                                      Element element)
        Deprecated.
        use ActiveValidationSuiteStereotype.isInstance(element)
      • getDebugIcon

        @Deprecated
        public Stereotype getDebugIcon()
        Deprecated.
        use getInstance(element).debugIcon().getStereotype()
      • isDebugIcon

        @Deprecated
        public static boolean isDebugIcon​(@CheckForNull
                                          Element element)
        Deprecated.
        use DebugIconStereotype.isInstance(element)
      • getDefinition

        @Deprecated
        public Stereotype getDefinition()
        Deprecated.
        use getInstance(element).definition().getStereotype()
      • isDefinition

        @Deprecated
        public static boolean isDefinition​(@CheckForNull
                                           Element element)
        Deprecated.
        use DefinitionStereotype.isInstance(element)
      • getErrorIcon

        @Deprecated
        public Stereotype getErrorIcon()
        Deprecated.
        use getInstance(element).errorIcon().getStereotype()
      • isErrorIcon

        @Deprecated
        public static boolean isErrorIcon​(@CheckForNull
                                          Element element)
        Deprecated.
        use ErrorIconStereotype.isInstance(element)
      • getFatalIcon

        @Deprecated
        public Stereotype getFatalIcon()
        Deprecated.
        use getInstance(element).fatalIcon().getStereotype()
      • isFatalIcon

        @Deprecated
        public static boolean isFatalIcon​(@CheckForNull
                                          Element element)
        Deprecated.
        use FatalIconStereotype.isInstance(element)
      • getImaged

        @Deprecated
        public Stereotype getImaged()
        Deprecated.
        use getInstance(element).imaged().getStereotype()
      • isImaged

        @Deprecated
        public static boolean isImaged​(@CheckForNull
                                       Element element)
        Deprecated.
        use ImagedStereotype.isInstance(element)
      • getInfoIcon

        @Deprecated
        public Stereotype getInfoIcon()
        Deprecated.
        use getInstance(element).infoIcon().getStereotype()
      • isInfoIcon

        @Deprecated
        public static boolean isInfoIcon​(@CheckForNull
                                         Element element)
        Deprecated.
        use InfoIconStereotype.isInstance(element)
      • getInvariant

        @Deprecated
        public Stereotype getInvariant()
        Deprecated.
        use getInstance(element).invariant().getStereotype()
      • isInvariant

        @Deprecated
        public static boolean isInvariant​(@CheckForNull
                                          Element element)
        Deprecated.
        use InvariantStereotype.isInstance(element)
      • getSystemValidationSuite

        @Deprecated
        public Stereotype getSystemValidationSuite()
        Deprecated.
        use getInstance(element).systemValidationSuite().getStereotype()
      • isSystemValidationSuite

        @Deprecated
        public static boolean isSystemValidationSuite​(@CheckForNull
                                                      Element element)
        Deprecated.
        use SystemValidationSuiteStereotype.isInstance(element)
      • getValidationRule

        @Deprecated
        public Stereotype getValidationRule()
        Deprecated.
        use getInstance(element).validationRule().getStereotype()
      • isValidationRule

        @Deprecated
        public static boolean isValidationRule​(@CheckForNull
                                               Element element)
        Deprecated.
        use ValidationRuleStereotype.isInstance(element)
      • getValidationSuite

        @Deprecated
        public Stereotype getValidationSuite()
        Deprecated.
        use getInstance(element).validationSuite().getStereotype()
      • isValidationSuite

        @Deprecated
        public static boolean isValidationSuite​(@CheckForNull
                                                Element element)
        Deprecated.
        use ValidationSuiteStereotype.isInstance(element)
      • getWarningIcon

        @Deprecated
        public Stereotype getWarningIcon()
        Deprecated.
        use getInstance(element).warningIcon().getStereotype()
      • isWarningIcon

        @Deprecated
        public static boolean isWarningIcon​(@CheckForNull
                                            Element element)
        Deprecated.
        use WarningIconStereotype.isInstance(element)
      • generatedGetAllElementWrappers

        protected java.util.Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper> generatedGetAllElementWrappers()
      • generatedGetAllStereotypes

        protected java.util.Collection<Stereotype> generatedGetAllStereotypes()