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 classValidationProfile.ActiveValidationSuiteStereotypestatic classValidationProfile.DebugIconStereotypestatic classValidationProfile.DefinitionStereotypestatic classValidationProfile.ErrorIconStereotypestatic classValidationProfile.FatalIconStereotypestatic classValidationProfile.ImagedStereotypestatic classValidationProfile.InfoIconStereotypestatic classValidationProfile.InvariantStereotypestatic classValidationProfile.SeverityKindEnumprivate static classValidationProfile.SeverityKindEnumerationstatic classValidationProfile.SystemValidationSuiteStereotypestatic classValidationProfile.ValidationRuleStereotypestatic classValidationProfile.ValidationSuiteStereotypestatic classValidationProfile.WarningIconStereotype-
Nested classes/interfaces inherited from class com.nomagic.profiles.ProfileImplementation
com.nomagic.profiles.ProfileImplementation.EnumerationWrapper, com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<E extends Element>, ProfileImplementation.StereotypeWrapper, com.nomagic.profiles.ProfileImplementation.TextProvider
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTIVEVALIDATIONSUITE_STEREOTYPEDeprecated.use ActiveValidationSuiteStereotype.STEREOTYPE_NAMEprivate ValidationProfile.ActiveValidationSuiteStereotypeactiveValidationSuiteStereotypestatic java.lang.StringDEBUGICON_STEREOTYPEDeprecated.use DebugIconStereotype.STEREOTYPE_NAMEprivate ValidationProfile.DebugIconStereotypedebugIconStereotypestatic java.lang.StringDEFINITION_STEREOTYPEDeprecated.use DefinitionStereotype.STEREOTYPE_NAMEprivate ValidationProfile.DefinitionStereotypedefinitionStereotypestatic java.lang.StringERRORICON_STEREOTYPEDeprecated.use ErrorIconStereotype.STEREOTYPE_NAMEprivate ValidationProfile.ErrorIconStereotypeerrorIconStereotypestatic java.lang.StringFATALICON_STEREOTYPEDeprecated.use FatalIconStereotype.STEREOTYPE_NAMEprivate ValidationProfile.FatalIconStereotypefatalIconStereotypestatic java.lang.StringIMAGED_HIGHLIGHTCOLOR_PROPERTYDeprecated.use ImagedStereotype.HIGHLIGHTCOLORstatic java.lang.StringIMAGED_STEREOTYPEDeprecated.use ImagedStereotype.STEREOTYPE_NAMEprivate ValidationProfile.ImagedStereotypeimagedStereotypestatic java.lang.StringINFOICON_STEREOTYPEDeprecated.use InfoIconStereotype.STEREOTYPE_NAMEprivate ValidationProfile.InfoIconStereotypeinfoIconStereotypestatic java.lang.StringINVARIANT_STEREOTYPEDeprecated.use InvariantStereotype.STEREOTYPE_NAMEprivate ValidationProfile.InvariantStereotypeinvariantStereotypestatic java.lang.StringPROFILE_NAMEstatic java.lang.StringPROFILE_URIstatic java.lang.StringSEVERITYKIND_DATATYPEstatic java.lang.StringSEVERITYKIND_DEBUG_LITERALstatic java.lang.StringSEVERITYKIND_ERROR_LITERALstatic java.lang.StringSEVERITYKIND_FATAL_LITERALstatic java.lang.StringSEVERITYKIND_INFO_LITERALstatic java.lang.StringSEVERITYKIND_WARNING_LITERALprivate ValidationProfile.SeverityKindEnumerationseverityKindEnumerationstatic java.lang.StringSYSTEMVALIDATIONSUITE_STEREOTYPEDeprecated.use SystemValidationSuiteStereotype.STEREOTYPE_NAMEprivate ValidationProfile.SystemValidationSuiteStereotypesystemValidationSuiteStereotypestatic java.lang.StringVALIDATIONRULE_ABBREVIATION_PROPERTYDeprecated.use ValidationRuleStereotype.ABBREVIATIONstatic java.lang.StringVALIDATIONRULE_CONSTRAINEDELEMENTSFILTER_PROPERTYDeprecated.use ValidationRuleStereotype.CONSTRAINEDELEMENTSFILTERstatic java.lang.StringVALIDATIONRULE_ERRORMESSAGE_PROPERTYDeprecated.use ValidationRuleStereotype.ERRORMESSAGEstatic java.lang.StringVALIDATIONRULE_IMPLEMENTATION_PROPERTYstatic java.lang.StringVALIDATIONRULE_PARENTOBJECT_PROPERTYDeprecated.use ValidationRuleStereotype.PARENTOBJECTstatic java.lang.StringVALIDATIONRULE_PARENTRULE_PROPERTYDeprecated.use ValidationRuleStereotype.PARENTRULEstatic java.lang.StringVALIDATIONRULE_SEVERITY_PROPERTYDeprecated.use ValidationRuleStereotype.SEVERITYstatic java.lang.StringVALIDATIONRULE_STEREOTYPEDeprecated.use ValidationRuleStereotype.STEREOTYPE_NAMEprivate ValidationProfile.ValidationRuleStereotypevalidationRuleStereotypestatic java.lang.StringVALIDATIONSUITE_STEREOTYPEDeprecated.use ValidationSuiteStereotype.STEREOTYPE_NAMEprivate ValidationProfile.ValidationSuiteStereotypevalidationSuiteStereotypestatic java.lang.StringWARNINGICON_STEREOTYPEDeprecated.use WarningIconStereotype.STEREOTYPE_NAMEprivate ValidationProfile.WarningIconStereotypewarningIconStereotype
-
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.ActiveValidationSuiteStereotypeactiveValidationSuite()ValidationProfile.DebugIconStereotypedebugIcon()ValidationProfile.DefinitionStereotypedefinition()ValidationProfile.ErrorIconStereotypeerrorIcon()ValidationProfile.FatalIconStereotypefatalIcon()protected java.util.Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper>generatedGetAllElementWrappers()Generated method for getting all stereotype wrappers contained within this profile.protected java.util.Collection<Stereotype>generatedGetAllStereotypes()Generated method for getting all stereotypes contained within this profile.StereotypegetActiveValidationSuite()Deprecated.use getInstance(element).activeValidationSuite().getStereotype()StereotypegetDebugIcon()Deprecated.use getInstance(element).debugIcon().getStereotype()StereotypegetDefinition()Deprecated.use getInstance(element).definition().getStereotype()StereotypegetErrorIcon()Deprecated.use getInstance(element).errorIcon().getStereotype()StereotypegetFatalIcon()Deprecated.use getInstance(element).fatalIcon().getStereotype()StereotypegetImaged()Deprecated.use getInstance(element).imaged().getStereotype()StereotypegetInfoIcon()Deprecated.use getInstance(element).infoIcon().getStereotype()static ValidationProfilegetInstance(BaseElement baseElement)StereotypegetInvariant()Deprecated.use getInstance(element).invariant().getStereotype()EnumerationgetSeverityKind()StereotypegetSystemValidationSuite()Deprecated.use getInstance(element).systemValidationSuite().getStereotype()StereotypegetValidationRule()Deprecated.use getInstance(element).validationRule().getStereotype()StereotypegetValidationSuite()Deprecated.use getInstance(element).validationSuite().getStereotype()StereotypegetWarningIcon()Deprecated.use getInstance(element).warningIcon().getStereotype()ValidationProfile.ImagedStereotypeimaged()ValidationProfile.InfoIconStereotypeinfoIcon()ValidationProfile.InvariantStereotypeinvariant()static booleanisActiveValidationSuite(Element element)Deprecated.use ActiveValidationSuiteStereotype.isInstance(element)static booleanisDebugIcon(Element element)Deprecated.use DebugIconStereotype.isInstance(element)static booleanisDefinition(Element element)Deprecated.use DefinitionStereotype.isInstance(element)static booleanisErrorIcon(Element element)Deprecated.use ErrorIconStereotype.isInstance(element)static booleanisFatalIcon(Element element)Deprecated.use FatalIconStereotype.isInstance(element)static booleanisImaged(Element element)Deprecated.use ImagedStereotype.isInstance(element)static booleanisInfoIcon(Element element)Deprecated.use InfoIconStereotype.isInstance(element)static booleanisInvariant(Element element)Deprecated.use InvariantStereotype.isInstance(element)static booleanisSystemValidationSuite(Element element)Deprecated.use SystemValidationSuiteStereotype.isInstance(element)static booleanisValidationRule(Element element)Deprecated.use ValidationRuleStereotype.isInstance(element)static booleanisValidationSuite(Element element)Deprecated.use ValidationSuiteStereotype.isInstance(element)static booleanisWarningIcon(Element element)Deprecated.use WarningIconStereotype.isInstance(element)ValidationProfile.SystemValidationSuiteStereotypesystemValidationSuite()ValidationProfile.ValidationRuleStereotypevalidationRule()ValidationProfile.ValidationSuiteStereotypevalidationSuite()ValidationProfile.WarningIconStereotypewarningIcon()-
Methods inherited from class com.nomagic.profiles.ProfileImplementation
clearCache, getAllStereotypes, getCache, getDataType, getProfile, getStereotype, isTypeOf, isTypeOf, valueFromString
-
-
-
-
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
-
activeValidationSuiteStereotype
private final ValidationProfile.ActiveValidationSuiteStereotype activeValidationSuiteStereotype
-
debugIconStereotype
private final ValidationProfile.DebugIconStereotype debugIconStereotype
-
definitionStereotype
private final ValidationProfile.DefinitionStereotype definitionStereotype
-
errorIconStereotype
private final ValidationProfile.ErrorIconStereotype errorIconStereotype
-
fatalIconStereotype
private final ValidationProfile.FatalIconStereotype fatalIconStereotype
-
imagedStereotype
private final ValidationProfile.ImagedStereotype imagedStereotype
-
infoIconStereotype
private final ValidationProfile.InfoIconStereotype infoIconStereotype
-
invariantStereotype
private final ValidationProfile.InvariantStereotype invariantStereotype
-
systemValidationSuiteStereotype
private final ValidationProfile.SystemValidationSuiteStereotype systemValidationSuiteStereotype
-
validationRuleStereotype
private final ValidationProfile.ValidationRuleStereotype validationRuleStereotype
-
validationSuiteStereotype
private final ValidationProfile.ValidationSuiteStereotype validationSuiteStereotype
-
warningIconStereotype
private final ValidationProfile.WarningIconStereotype warningIconStereotype
-
severityKindEnumeration
private final ValidationProfile.SeverityKindEnumeration severityKindEnumeration
-
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)
-
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()
Description copied from class:ProfileImplementationGenerated method for getting all stereotype wrappers contained within this profile.- Returns:
- gets all stereotype wrappers contained within this profile.
-
generatedGetAllStereotypes
protected java.util.Collection<Stereotype> generatedGetAllStereotypes()
Description copied from class:ProfileImplementationGenerated method for getting all stereotypes contained within this profile.- Returns:
- gets all stereotypes contained within this profile.
-
-