Customizing the metamodel > Keywords for USRPROPS > AND_SUBTYPES
  
AND_SUBTYPES
The AND_SUBTYPES keyword is used with symbols and properties. You can have a symbol represent a definition and its sub type, and allowing properties to reference a definition and its subtypes. For an implicit relationship, it means that the relationship also represents references from the given property name in subtypes of the source definition type.
Examples to use for symbols
Symbol represents
SYMBOL "EA Objective"
{
REPRESENTS NODE "EA Objective" AND_SUBTYPES
ASSIGN TO "EA Diagram"
DEPICTIONS { MENU "images\Rectangle.bmp" }
}
Explicit relationship
SYMBOL "Enacted By"
{
REPRESENTS EXPLICIT RELATIONSHIP "Enacted By" AND_SUBTYPES
ASSIGN TO "EA Diagram"
DEPICT LIKE "Generic Line"
}
Implicit relationship
SYMBOL "Supports Achievement Of"
{
REPRESENTS IMPLICIT RELATIONSHIP "EA Rule"."Missions" AND_SUBTYPES
ASSIGN TO "EA Diagram"
DEPICT LIKE "Generic Line"
}
Examples to use for properties
DEFINITION "Enacted By"
RELATIONSHIP LABEL "Enacted By" REVERSELABEL "Gobbledegook"
{
Browser { OMITKEY }
Chapter "From and To"
PROPERTY "Source"
{ EDIT HETEROGENEOUSONEOF "EA Mission" AND_SUBTYPES FROMDEF}
PROPERTY "Target"
{ EDIT HETEROGENEOUSONEOF "EA Vision" AND_SUBTYPES TODEF}
}
See also
REPRESENTS
Keywords for USRPROPS