Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Model Validation Rules
Errors are indicated by an error code of the format MVRxxnnnn where:
· | xx is 80 by default (if the MDG Technology for UPDM is the only Add-In that you have installed) but could be some other number, and |
· | nnnn is a hexadecimal number from 0001 to 0013 as described here |
MVRxx0001 - activity
Error Message: The action has a missing or invalid activity (Required stereotype: <stereotypeList>)
The validation rule checks that stereotyped Action elements are owned by an Activity with the required stereotype. In this table, the first column lists the Action stereotypes and the second column lists the Activity stereotypes.
FunctionAction |
Function |
OperationalActivityAction |
OperationalActivity |
ServiceOperationAction |
Function |
ServiceOperationAction |
ServiceFunction |
Solution: Locate the Action in the Project Browser, locate an Activity with one of the named stereotypes (or their specializations) or create a new one, and drag the Action to the Activity.
MVRxx0002 - annotatedElement
Error Message: The note has an invalid annotated element (Required stereotype: <stereotype>)
This validation rule checks that stereotyped Note elements are attached (by a NoteLink connector) to an element with the required stereotype. In this table, the first column lists the Note stereotypes and the second column lists the annotated element stereotypes.
Alias |
UPDMElement |
ArchitectureMetadata |
ArchitecturalDescription |
Definition |
UPDMElement |
StandardConfiguration |
CapabilityConfiguration |
StereotypeExtension |
UPDMElement |
Solution: Attach the Note to an element with the named stereotype (or one of its specializations). You can do this by either dragging the opposite end of the NoteLink connector, or deleting the NoteLink connector and creating a new one with the Quicklinker.
MVRxx0003 - behavior
Error Message: The action has a missing or invalid behavior (Required stereotype: <stereotype>)
This validation rule checks that stereotyped CallBehaviorAction elements call a Behavior with the required stereotype. In this table, the first column lists the Action stereotypes and the second column lists the Behavior stereotypes.
OperationalActivityAction |
OperationalActivity |
ServiceFunctionAction |
ServiceFunction |
Solution: Right-click on the Action and select Advanced | Set Behavioral Classifier, or press Ctrl+L, and select a behavior element with the named stereotype (or one of its specializations).
MVRxx0004 - class
Error Message: The object does not have a valid owning class (Permitted values: <stereotypeList>)
This validation rule checks that stereotyped Property elements (Parts or attributes) are owned by a Class with the required stereotype. In this table, the first column lists the Property stereotypes and the second column lists the Class stereotypes.
Equipment |
OrganizationalResource |
HostedSoftware |
ResourceArtifact |
HumanResource |
CapabilityConfiguration |
NodeChild |
NodeParent |
NodeRole |
Node |
Part |
ResourceArtifact |
PostRole |
Organization |
ProblemDomain |
LogicalArchitecture |
ProtocolLayer |
Protocol |
ResourceComponent |
CapabilityConfiguration |
ResourceRole |
Resource |
StructuralPart |
EnterprisePhase |
SubOrganization |
Organization |
TemporalPart |
EnterprisePhase |
UsedConfiguration |
CapabilityConfiguration |
Solution: Locate the property in the Project Browser, locate a Class with one of the named stereotypes (or their specializations) or create a new one, and drag the property to the Class.
MVRxx0005 - classifier
Error Message: The object does not have a valid classifier (Permitted value: <stereotype>)
This validation rule checks that stereotyped instance elements (objects) are classified by elements with the required stereotypes. In this table, the first column lists the Object stereotypes and the second column lists the Classifier stereotypes.
ActualMeasurementSet |
MeasurementSet |
ActualOrganization |
Organization |
ActualPerson |
Person |
ActualPost |
Post |
ActualProject |
Project |
ActualProjectMilestone |
ProjectMilestoneType |
FieldedCapability |
CapabilityConfiguration |
Solution: Select the object, right-click it and select Advanced | Instance Classifier, or press Ctrl+L, and select a classifier element with the named stereotype (or one of its specializations).
MVRxx0006 - client
Error Message: The relationship does not have a valid client (Permitted values: <stereotypeList>)
This validation rule checks that, for stereotyped Dependency or Realization relationships, their client (source) elements have the required stereotypes. In this table, the first column lists the relationship stereotypes and the second column lists the client element stereotypes.
ArbitraryRelationship |
HighLevelOperationalConcept |
ArchitecturalReference |
ArchitecturalDescription |
CompatibleWith |
Node |
DefinesArchitecture |
ArchitecturalDescription |
ExhibitsCapability |
Node |
Expose |
ServiceInterface |
FillsPost |
ActualPerson |
Forecast |
SubjectOfForecast |
ImplementsOperational |
SystemsElement |
MapsToCapability |
StandardOperationalActivity |
MilestoneSequence |
ActualProjectMilestone |
OwnsProcess |
ActualOrganizationalResource |
Performs |
Performer |
ProjectSequence |
ActualProject |
ProvidesCompetence |
Resource |
RealizesCapability |
Resource |
RealizesCapability |
ServiceInterface |
RequiresCompetence |
ResourceRole |
SameAs |
UPDMElement |
SupportsOperationalActivity |
ServiceInterface |
Solution: Drag the end of the relationship without the arrowhead to an element with the named stereotype (or one of its specializations).
MVRxx0007 - constrainedElement
Error Message: The constraint has an invalid constrained element (Required stereotype: %s)
This validation rule checks that stereotyped Constraint elements are attached (by a NoteLink) to elements with the required stereotypes. In the following table, the first column lists the Constraint stereotypes and the second column lists the constrained element stereotypes.
OperationalConstraint |
SubjectOfOperationalConstraint |
ResourceConstraint |
SubjectOfResourceConstraint |
Solution: Attach the constraint to an element with the named stereotype (or one of its specializations). You can do this by either dragging the opposite end of the NoteLink connector, or by deleting the NoteLink connector and creating a new one using the Quicklinker.
MVRxx0008 - endRoles
Error Message: The relationship does not have a valid end role (Permitted values: <stereotypeList>)
This validation rule checks that, for stereotyped Association or Connector relationships, the elements at both ends of the relationship have the required stereotypes. In this table, the first column lists the relationship stereotypes and the second column lists the end element stereotypes.
Needline |
NodeChild |
Needline |
NodePort |
ResourceConnector |
ResourcePort |
ResourceInterface |
ResourceRole |
Solution: Drag one or both ends of the relationship to elements with the named stereotype (or one of its specializations).
MVRxx0009 - endType
Error Message: The relationship does not have a valid end type (Permitted values: <stereotypeList>)
This validation rule checks that, for stereotyped connectors, the elements (Objects or Parts) at both ends of the relationship are typed by the required stereotypes. In this table, the first column lists the connector stereotypes and the second column lists the end type stereotypes.
EntityRelationship |
EntityItem |
Needline |
Node |
ResourceInterface |
Resource |
Solution: Drag one or both ends of the relationship to elements that have types with the named stereotype (or one of its specializations).
MVRxx000a - informationSource
Error Message: The relationship does not have a valid information source (Permitted values: <stereotypeList>)
This validation rule checks that stereotyped InformationFlow relationship source elements have the required stereotypes. In this table, the first column lists the InformationFlow stereotypes and the second column lists the source element stereotypes.
ActualOrganizationRelationship |
ActualOrganizationalResource |
Commands |
OrganizationalResource |
Controls |
OrganizationalResource |
OperationalExchange |
Node |
ResourceInteraction |
Resource |
Solution: Drag the end of the information flow without the arrowhead to an element with the named stereotype (or one of its specializations).
MVRxx000b - informationTarget
Error Message: The relationship does not have a valid information target (Permitted values: <stereotypeList>)
This validation rule checks that stereotyped InformationFlow relationship target elements have the required stereotypes. In this table, the first column lists the InformationFlow stereotypes and the second column lists the target element stereotypes.
ActualOrganizationRelationship |
ActualOrganizationalResource |
Commands |
OrganizationalResource |
Controls |
OrganizationalResource |
OperationalExchange |
Node |
ResourceInteraction |
Resource |
Solution: Drag the end of the information flow with the arrowhead to an element with the named stereotype (or one of its specializations).
MVRxx000c - ownedAttribute
Error Message: The element has an invalid attribute (Required stereotype: <stereotype>)
This validation rule checks that, for stereotyped Class elements, any attributes that they own have the required stereotypes. In this table, the first column lists the Class stereotypes and the second column lists the attribute stereotypes.
EntityItem |
EntityAttribute |
Environment |
EnvironmentProperty |
HighLevelOperationalConcept |
ConceptRole |
MeasurementSet |
Measurement |
ProjectMilestoneType |
ProjectTheme |
ServiceInterface |
ServiceAttribute |
Solution: Replace the attribute with one with the named stereotype (or one of its specializations).
MVRxx000d - ownedOperation
Error Message: The element has an invalid operation (Required stereotype: %s)
This validation rule checks that, for stereotyped Class elements, any operations that they own have the required stereotypes. In this table, the first column lists the Class stereotype and the second column lists the operation stereotype.
ServiceInterface |
ServiceOperation |
Solution: Replace the operation with one with the named stereotype (or one of its specializations).
MVRxx000e - ownedParameter
Error Message: The element has an invalid activity parameter (Required stereotype: %s)
This validation rule checks that, for stereotyped Activity elements, any ActivityParameter elements that they own have the required stereotypes. In this table, the first column lists the Activity stereotypes and the second column lists the ActivityParameter stereotypes.
Function |
FunctionParameter |
OperationalActivity |
OperationalParameter |
Solution: Locate the ActivityParameter in the Project Browser and drag and drop it onto an element with the appropriate stereotype, and/or replace the ActivityParameter in its current owner with an ActivityParameter with the named stereotype.
MVRxx000f - ownedPort
Error Message: The element has an invalid port (Required stereotypes: <stereotypeList>)
This validation rule checks that, for stereotyped Class elements, any Ports that they own have the required stereotypes. In this table, the first column lists the Class stereotypes and the second column lists the Port stereotypes.
Node |
NodePort |
Node |
RequestPoint |
Node |
ServicePoint |
Resource |
RequestPoint |
Resource |
ResourcePort |
Resource |
ServicePoint |
Solution: Locate the Port in the Project Browser and drag and drop it onto an element with the appropriate stereotype, and/or replace the Port in its current owner with a Port with one of the named stereotypes.
MVRxx0010 - source
Error Message: The relationship does not have a valid source (Permitted values: <stereotypeList>)
This validation rule checks that stereotyped ActivityEdge connector source elements have the required stereotypes. In this table, the first column lists the ActivityEdge stereotypes and the second column lists the source element stereotypes.
FunctionEdge |
ServiceOperationAction |
OperationalActivityEdge |
OperationalActivityAction |
Solution: Drag the end of the relationship without the arrowhead to an element with the named stereotype (or one of its specializations).
MVRxx0011 - supplier
Error Message: The relationship does not have a valid supplier (Permitted values: <stereotypeList>)
This validation rule checks that stereotyped Dependency or Realization relationship supplier (target) elements have the required stereotypes. In this table, the first column lists the relationship stereotypes and the second column lists the supplier element stereotypes.
ArbitraryRelationship |
HighLevelOperationalConcept |
ArchitecturalReference |
ArchitecturalDescription |
CompatibleWith |
ReferredLocation |
DefinesArchitecture |
EnterprisePhase |
ExhibitsCapability |
Capability |
Expose |
Capability |
FillsPost |
ActualPost |
Forecast |
SubjectOfForecast |
ImplementsOperational |
OperationalElement |
MapsToCapability |
Capability |
MilestoneSequence |
ActualProjectMilestone |
OwnsProcess |
OperationalActivity |
Performs |
PerformedActivity |
ProjectSequence |
ActualProject |
ProvidesCompetence |
Competence |
RealizesCapability |
Capability |
RealizesCapability |
Competence |
RequiresCompetence |
ExternalIndividual |
SameAs |
ExternalType |
SupportsOperationalActivity |
OperationalActivity |
Solution: Drag the end of the relationship with the arrowhead to an element with the named stereotype (or one of its specializations).
MVRxx0012 - target
Error Message: The relationship does not have a valid target (Permitted values: <stereotypeList>)
This validation rule checks that stereotyped ActivityEdge connector target elements have the required stereotypes. In this table, the first column lists the ActivityEdge stereotypes and the second column lists the target element stereotypes.
FunctionEdge |
ServiceOperationAction |
OperationalActivityEdge |
OperationalActivityAction |
Solution: Drag the end of the relationship with the arrowhead to an element with the named stereotype (or one of its specializations).
MVRxx0013 - type
Error Message: The object does not have a valid type (Permitted value: <stereotype>)
This validation rule checks that stereotyped Property elements (Parts or attributes) have type elements with the required stereotypes. In this table, the first column lists the Property stereotypes and the second column lists the type element stereotypes.
ConceptRole |
ConceptItem |
EnvironmentProperty |
EnvironmentalType |
Equipment |
ResourceArtifact |
FunctionParameter |
ResourceInteractionItem |
HostedSoftware |
Software |
HumanResource |
OrganizationalResource |
KnownResource |
Resource |
NodePort |
OperationalExchangeItem |
NodeRole |
Node |
OperationalParameter |
OperationalExchangeItem |
Part |
ResourceArtifact |
PostRole |
Post |
ProjectTheme |
ProjectThemeStatus |
ProtocolLayer |
Protocol |
RequestPoint |
ServiceInterface |
ResourceComponent |
ResourceArtifact |
ResourcePort |
ResourceInteractionItem |
ServicePoint |
ServiceInterface |
StructuralPart |
EnterprisePhase |
SubOrganization |
Organization |
TemporalPart |
EnterprisePhase |
UsedConfiguration |
CapabilityConfiguration |
Solution: For Parts, right-click on the Part and select Advanced | Set Property Type, or press Ctrl+L, and select a type element with the named stereotype (or one of its specializations). For attributes, open the Features dialog for the attribute and select a type element with the named stereotype (or one of its specializations) in the Type field.