Define TaggedValue

  1. Create [astah_customproperty_def.properties] file.
  2. Save this file in USERHOME/.astah/professional directory.

TaggedValue Definition Sample

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

TaggedValue Format

TaggedValue name, Target Models types, Target Stereotype, Default Value and definition can be set by using the format below.

Object

Key

 
Nametag.xxx.name
Target Modeltag.xxx.target
This is required.
String list can be found in another table on this page.
Allow to set multiple Target Models.
If this contains invalid strings, Astah will fail to import.
Target Stereotypetag.xxx.stereotype
Only one stereotype can be set.
This is optional.
Default Valuetag.xxx.defaultvalue
Optional
Definitiontag.xxx.definition
Optional

Model Name

String to set for “tag.xxx.target”

ModelModel
SubsystemSubsystem
PackagePackage
Class DiagramClassDiagram
ClassClass
AttributeAttribute
OperationMethod
AssociationAssociation
Association RoleAssociationRole
Association ClassAssociationClass
GeneralizationGeneralization
InterfaceInterface
DependencyDependency
EntityEntity
BoundaryBoundary
ControlControl
Instance SpecificationObject
Link (Object/Communication Diagram)Link
UseCase DiagramUseCaseDiagram
ActorActor
UseCaseUseCase
ExtendExtend
IncludeInclude
Statemachine DiagramStatemachineDiagram
StateState
Submachine StateSubmachineState
Stub StateStubState
Activity DiagramActivityDiagram
PartitionPartition
CallBehavior ActionCallBehaviorAction
TransitionTransition
Object NodeObjectNode
Sequence DiagramSequenceDiagram
Lifeline (Sequence, Communication Diagram)LifeLine
Message (Sequence Diagram)Message
Create MessageCreateMessage
Destroy MessageDestroyMessage
Reply MessageReturnMessage
Combined FragmentCombinedFragment
Interaction UseInteractionUse
StateInvariantStateInvariant
Communication DiagramCommunicationDiagram
Message (Communication Diagram)MessageCL
Component DiagramComponentDiagram
ComponentComponent
ArtifactArtifact
Deployment DiagramDeploymentDiagram
NodeNode
Node InstanceNodeInstance
Component InstanceComponentInstance
NoteComment
FlowchartFlowchart
Flow ElementFlowElement
Data Flow Diagram (DFD)DataFlowDiagram
External EntityExternalEntity
Data StoreDataStore
DataflowDataFlow
AnchorAnchor
ER DiagramERDiagram
ER EntityEREntity
ER AttributeERAttribute
DomainDomain
RelationshipERRelationship
Many to Many RelationshipManyToManyRelationship
SubtypeSubtype
CRUDCRUD
Requirement DiagramRequirementDiagram
Requirement TableRequirementTable
RequirementRequirement
TestCaseTestCase
Traceability MapTraceabilityMap

Import TaggedValues

  • Go to [Tools] – [Import User Defined TaggedValue].
    Defined TaggedValues in the astah_customproperty_def.properties file would be imported.
  • Once the project file has imported User Defined TaggeValue, the TaggeValue will be added automatically when creating new models.