TaggedValue is a property and value you can add to models. This feature is available in Astah Professional only.
tag.id_001.name=creator1
tag.id_001.target=Class
tag.id_001.stereotype=stereotype0
tag.id_001.defaultvalue=Dendy
tag.id_001.definition=The creator of a model
tag.id_002.name=creator2
tag.id_002.target=UseCase,Package
tag.id_002.stereotype=stereotype1
tag.id_002.defaultvalue=Tony
tag.id_002.definition=The creator of a model
tag.id_002.name=creator3
tag.id_002.target=Object
tag.id_002.stereotype=
tag.id_002.defaultvalue=
tag.id_002.definition=
With this sample, when “stereotype0” is added to a Class, a “creator1” TaggedValue named “Dendy” will be added to the Class. And when “stereotype1” is added to UseCases and Packages, a “creator2” TaggedValue named “Tony” will be added to those models.
You can see TaggedValues in the [TaggedValue] tab in the models’ property view.
When you don’ have values for all the keys, make it empty. You still need the key in the file to import the property file.
Use this format to define TaggedValue name, Target Models types, Target Stereotype, Default Value, and definition. All five keys are required in the file but values can be empty except for Target Model.
Object | Key | Value |
---|---|---|
Name | tag.xxx.name | |
Target Model | tag.xxx.target | This is a required property. Please refer to the String list in a table below. You can add multiple target models. Astah fails to import if it contains invalid strings. |
Target Stereotype | tag.xxx.stereotype | Optional You cannot have multiple Stereotypes. |
Default Value | tag.xxx.defaultvalue | Optional |
Definition | tag.xxx.definition | Optional |
Model Name | String to set for “tag.xxx.target” |
---|---|
Model | Model |
Subsystem | Subsystem |
Package | Package |
Class Diagram | ClassDiagram |
Class | Class |
Attribute | Attribute |
Operation | Method |
Association | Association |
Association Role | AssociationRole |
Association Class | AssociationClass |
Generalization | Generalization |
Interface | Interface |
Dependency | Dependency |
Entity | Entity |
Boundary | Boundary |
Control | Control |
Instance Specification | Object |
Link (Object/Communication Diagram) | Link |
UseCase Diagram | UseCaseDiagram |
Actor | Actor |
UseCase | UseCase |
Extend | Extend |
Include | Include |
Statemachine Diagram | StatemachineDiagram |
State | State |
Submachine State | SubmachineState |
Stub State | StubState |
Activity Diagram | ActivityDiagram |
Partition | Partition |
CallBehavior Action | CallBehaviorAction |
Transition | Transition |
Object Node | ObjectNode |
Sequence Diagram | SequenceDiagram |
Lifeline (Sequence, Communication Diagram) | LifeLine |
Message (Sequence Diagram) | Message |
Create Message | CreateMessage |
Destroy Message | DestroyMessage |
Reply Message | ReturnMessage |
Combined Fragment | CombinedFragment |
Interaction Use | InteractionUse |
StateInvariant | StateInvariant |
Communication Diagram | CommunicationDiagram |
Message (Communication Diagram) | MessageCL |
Component Diagram | ComponentDiagram |
Component | Component |
Artifact | Artifact |
Deployment Diagram | DeploymentDiagram |
Node | Node |
Node Instance | NodeInstance |
Component Instance | ComponentInstance |
Note | Comment |
Flowchart | Flowchart |
Flow Element | FlowElement |
Data Flow Diagram (DFD) | DataFlowDiagram |
External Entity | ExternalEntity |
Data Store | DataStore |
Dataflow | DataFlow |
Anchor | Anchor |
ER Diagram | ERDiagram |
ER Entity | EREntity |
ER Attribute | ERAttribute |
Domain | Domain |
Relationship | ERRelationship |
Many to Many Relationship | ManyToManyRelationship |
Subtype | Subtype |
CRUD | CRUD |
Requirement Diagram | RequirementDiagram |
Requirement Table | RequirementTable |
Requirement | Requirement |
TestCase | TestCase |
Traceability Map | TraceabilityMap |