Package com.nomagic.uml2
Class ValidationProfile
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation
-
- com.nomagic.uml2.ValidationProfile
-
@OpenApiAll public class ValidationProfile extends ProfileImplementation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ValidationProfile.ActiveValidationSuiteStereotype
static class
ValidationProfile.DebugIconStereotype
static class
ValidationProfile.DefinitionStereotype
static class
ValidationProfile.ErrorIconStereotype
static class
ValidationProfile.FatalIconStereotype
static class
ValidationProfile.ImagedStereotype
static class
ValidationProfile.InfoIconStereotype
static class
ValidationProfile.InvariantStereotype
static class
ValidationProfile.SeverityKindEnum
static class
ValidationProfile.SystemValidationSuiteStereotype
static class
ValidationProfile.ValidationRuleStereotype
static class
ValidationProfile.ValidationSuiteStereotype
static class
ValidationProfile.WarningIconStereotype
-
Nested classes/interfaces inherited from class com.nomagic.profiles.ProfileImplementation
ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVEVALIDATIONSUITE_STEREOTYPE
Deprecated.use ActiveValidationSuiteStereotype.STEREOTYPE_NAMEstatic java.lang.String
DEBUGICON_STEREOTYPE
Deprecated.use DebugIconStereotype.STEREOTYPE_NAMEstatic java.lang.String
DEFINITION_STEREOTYPE
Deprecated.use DefinitionStereotype.STEREOTYPE_NAMEstatic java.lang.String
ERRORICON_STEREOTYPE
Deprecated.use ErrorIconStereotype.STEREOTYPE_NAMEstatic java.lang.String
FATALICON_STEREOTYPE
Deprecated.use FatalIconStereotype.STEREOTYPE_NAMEstatic java.lang.String
IMAGED_HIGHLIGHTCOLOR_PROPERTY
Deprecated.use ImagedStereotype.HIGHLIGHTCOLORstatic java.lang.String
IMAGED_STEREOTYPE
Deprecated.use ImagedStereotype.STEREOTYPE_NAMEstatic java.lang.String
INFOICON_STEREOTYPE
Deprecated.use InfoIconStereotype.STEREOTYPE_NAMEstatic java.lang.String
INVARIANT_STEREOTYPE
Deprecated.use InvariantStereotype.STEREOTYPE_NAMEstatic java.lang.String
PROFILE_NAME
static java.lang.String
PROFILE_URI
static java.lang.String
SEVERITYKIND_DATATYPE
static java.lang.String
SEVERITYKIND_DEBUG_LITERAL
static java.lang.String
SEVERITYKIND_ERROR_LITERAL
static java.lang.String
SEVERITYKIND_FATAL_LITERAL
static java.lang.String
SEVERITYKIND_INFO_LITERAL
static java.lang.String
SEVERITYKIND_WARNING_LITERAL
static java.lang.String
SYSTEMVALIDATIONSUITE_STEREOTYPE
Deprecated.use SystemValidationSuiteStereotype.STEREOTYPE_NAMEstatic java.lang.String
VALIDATIONRULE_ABBREVIATION_PROPERTY
Deprecated.use ValidationRuleStereotype.ABBREVIATIONstatic java.lang.String
VALIDATIONRULE_CONSTRAINEDELEMENTSFILTER_PROPERTY
Deprecated.use ValidationRuleStereotype.CONSTRAINEDELEMENTSFILTERstatic java.lang.String
VALIDATIONRULE_ERRORMESSAGE_PROPERTY
Deprecated.use ValidationRuleStereotype.ERRORMESSAGEstatic java.lang.String
VALIDATIONRULE_IMPLEMENTATION_PROPERTY
static java.lang.String
VALIDATIONRULE_PARENTOBJECT_PROPERTY
Deprecated.use ValidationRuleStereotype.PARENTOBJECTstatic java.lang.String
VALIDATIONRULE_PARENTRULE_PROPERTY
Deprecated.use ValidationRuleStereotype.PARENTRULEstatic java.lang.String
VALIDATIONRULE_SEVERITY_PROPERTY
Deprecated.use ValidationRuleStereotype.SEVERITYstatic java.lang.String
VALIDATIONRULE_STEREOTYPE
Deprecated.use ValidationRuleStereotype.STEREOTYPE_NAMEstatic java.lang.String
VALIDATIONSUITE_STEREOTYPE
Deprecated.use ValidationSuiteStereotype.STEREOTYPE_NAMEstatic java.lang.String
WARNINGICON_STEREOTYPE
Deprecated.use WarningIconStereotype.STEREOTYPE_NAME
-
Constructor Summary
Constructors Constructor Description ValidationProfile(com.nomagic.profiles.ProfileCache cache)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ValidationProfile.ActiveValidationSuiteStereotype
activeValidationSuite()
ValidationProfile.DebugIconStereotype
debugIcon()
ValidationProfile.DefinitionStereotype
definition()
ValidationProfile.ErrorIconStereotype
errorIcon()
ValidationProfile.FatalIconStereotype
fatalIcon()
protected java.util.Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper>
generatedGetAllElementWrappers()
protected java.util.Collection<Stereotype>
generatedGetAllStereotypes()
Stereotype
getActiveValidationSuite()
Deprecated.use getInstance(element).activeValidationSuite().getStereotype()Stereotype
getDebugIcon()
Deprecated.use getInstance(element).debugIcon().getStereotype()Stereotype
getDefinition()
Deprecated.use getInstance(element).definition().getStereotype()Stereotype
getErrorIcon()
Deprecated.use getInstance(element).errorIcon().getStereotype()Stereotype
getFatalIcon()
Deprecated.use getInstance(element).fatalIcon().getStereotype()Stereotype
getImaged()
Deprecated.use getInstance(element).imaged().getStereotype()Stereotype
getInfoIcon()
Deprecated.use getInstance(element).infoIcon().getStereotype()static ValidationProfile
getInstance(BaseElement baseElement)
static ValidationProfile
getInstanceByProject(com.nomagic.uml2.project.ElementProject project)
Stereotype
getInvariant()
Deprecated.use getInstance(element).invariant().getStereotype()Enumeration
getSeverityKind()
Stereotype
getSystemValidationSuite()
Deprecated.use getInstance(element).systemValidationSuite().getStereotype()Stereotype
getValidationRule()
Deprecated.use getInstance(element).validationRule().getStereotype()Stereotype
getValidationSuite()
Deprecated.use getInstance(element).validationSuite().getStereotype()Stereotype
getWarningIcon()
Deprecated.use getInstance(element).warningIcon().getStereotype()ValidationProfile.ImagedStereotype
imaged()
ValidationProfile.InfoIconStereotype
infoIcon()
ValidationProfile.InvariantStereotype
invariant()
static boolean
isActiveValidationSuite(Element element)
Deprecated.use ActiveValidationSuiteStereotype.isInstance(element)static boolean
isDebugIcon(Element element)
Deprecated.use DebugIconStereotype.isInstance(element)static boolean
isDefinition(Element element)
Deprecated.use DefinitionStereotype.isInstance(element)static boolean
isErrorIcon(Element element)
Deprecated.use ErrorIconStereotype.isInstance(element)static boolean
isFatalIcon(Element element)
Deprecated.use FatalIconStereotype.isInstance(element)static boolean
isImaged(Element element)
Deprecated.use ImagedStereotype.isInstance(element)static boolean
isInfoIcon(Element element)
Deprecated.use InfoIconStereotype.isInstance(element)static boolean
isInvariant(Element element)
Deprecated.use InvariantStereotype.isInstance(element)static boolean
isSystemValidationSuite(Element element)
Deprecated.use SystemValidationSuiteStereotype.isInstance(element)static boolean
isValidationRule(Element element)
Deprecated.use ValidationRuleStereotype.isInstance(element)static boolean
isValidationSuite(Element element)
Deprecated.use ValidationSuiteStereotype.isInstance(element)static boolean
isWarningIcon(Element element)
Deprecated.use WarningIconStereotype.isInstance(element)ValidationProfile.SystemValidationSuiteStereotype
systemValidationSuite()
ValidationProfile.ValidationRuleStereotype
validationRule()
ValidationProfile.ValidationSuiteStereotype
validationSuite()
ValidationProfile.WarningIconStereotype
warningIcon()
-
-
-
Field Detail
-
VALIDATIONRULE_IMPLEMENTATION_PROPERTY
public static final java.lang.String VALIDATIONRULE_IMPLEMENTATION_PROPERTY
- See Also:
- Constant Field Values
-
PROFILE_URI
public static final java.lang.String PROFILE_URI
- See Also:
- Constant Field Values
-
PROFILE_NAME
public static final java.lang.String PROFILE_NAME
- 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.ABBREVIATIONSpecify 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.CONSTRAINEDELEMENTSFILTERSpecify 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.ERRORMESSAGEDescribe 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.SEVERITYSelect 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
-
-
Method Detail
-
getInstance
public static ValidationProfile getInstance(BaseElement baseElement)
-
getInstanceByProject
public static ValidationProfile getInstanceByProject(com.nomagic.uml2.project.ElementProject project)
-
activeValidationSuite
public ValidationProfile.ActiveValidationSuiteStereotype activeValidationSuite()
-
debugIcon
public ValidationProfile.DebugIconStereotype debugIcon()
-
definition
public ValidationProfile.DefinitionStereotype definition()
-
errorIcon
public ValidationProfile.ErrorIconStereotype errorIcon()
-
fatalIcon
public ValidationProfile.FatalIconStereotype fatalIcon()
-
imaged
public ValidationProfile.ImagedStereotype imaged()
-
infoIcon
public ValidationProfile.InfoIconStereotype infoIcon()
-
invariant
public ValidationProfile.InvariantStereotype invariant()
-
systemValidationSuite
public ValidationProfile.SystemValidationSuiteStereotype systemValidationSuite()
-
validationRule
public ValidationProfile.ValidationRuleStereotype validationRule()
-
validationSuite
public ValidationProfile.ValidationSuiteStereotype validationSuite()
-
warningIcon
public ValidationProfile.WarningIconStereotype warningIcon()
-
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()
-
-