Supported model / Presentation list
A part of the class structure of Astah API is different from the one of UML metamodel.
Astah API has a simplified structure. Some of abstract model elements in the UML metamodel inheritance structure are eliminated because they would not be instantiated as model elements. See Structure details: All Diagrams in Javadoc
Supported Models
This is a list of Astah models corresponding to UML model.
Class Diagram
Model |
Class |
Get |
Edit |
Create Method |
Class Diagram |
IClassDiagram |
○ |
○ |
createClassDiagram(INamedElement, String) |
Package |
IPackage |
○ |
○ |
createPackage(IPackage, String) |
Model |
IModel |
○ |
○ |
createModel(IPackage, String) |
SubSystem |
ISubsystem |
○ |
○ |
createSubsystem(IPackage, String) |
Interface |
<<Interface>> IClass |
○ |
○ |
createInterface(IClass, String), createInterface(IPackage, String) |
Class |
IClass |
○ |
○ |
createClass(IClass,String), createClass(IPackage, String) |
Attribute |
IAttribute |
○ |
○ |
createAttribute(IClass,String,String), createAttribute(IClass,String,IClass) |
Operation |
IOperation |
○ |
○ |
createOperation(IClass,String,String), createOperation(IClass,String,IClass) |
Parameter |
IParameter |
○ |
○ |
createParameter(IOperation,String,String), createParameter(IOperation,String,IClass) |
Association |
IAssociation |
○ |
○ |
createAssociation(IClass,IClass,String,String,String) |
Association End |
IAttribute |
○ |
○ |
It will be created with association |
Association Class |
IAssociationClass |
○ |
○ |
createAssociationClass(IClass,IClass,String,String,String) |
Generalization |
IGeneralization |
○ |
○ |
createGeneralization(IClass,IClass,String) |
Realization |
IRealization |
○ |
○ |
createRealization(IClass,IClass,String), createRealization(IPort,String) |
Dependency |
IDependency |
○ |
○ |
createDependency(INamedElement,INamedElement,String) |
Usage |
IUsage |
○ |
○ |
createUsage(IClass,IClass,String), createUsage(IPort,String) |
Qualifier |
IAttribute |
○ |
○ |
createQualifier(IAttribute,String,IClass) |
Template Parameter |
IClassifierTemplateParameter |
○ |
○ |
createTemplateParameter(IClass,String,String,Object), createTemplateParameter(IClass,String,IClass,Object) |
Template Binding |
ITemplateBinding |
○ |
○ |
createTemplateBinding(IClass,IClass) |
Instance Specification |
IInstanceSpecification |
○ |
○ |
Will be automatically created when the presentation is created |
Link End |
ILinkEnd |
○ |
○ |
- |
Slot |
ISlot |
○ |
○ |
- |
UseCase Diagram
Model |
Class |
Get |
Edit |
Create Method |
UseCase Diagram |
IUseCaseDiagram |
○ |
○ |
createUseCaseDiagram(INamedElement,String) |
Actor |
<<actor>> IClass |
○ |
○ |
createActor(IPackage,String) |
UseCase |
IUseCase |
○ |
○ |
createUseCase(IPackage,String) |
Extend |
IExtend |
○ |
○ |
createExtend(IUseCase,IUseCase,String) |
ExtensionPoint |
IExtentionPoint |
○ |
○ |
createExtensionPoint(IUseCase,String) |
Include |
IInclude |
○ |
○ |
createInclude(IUseCase,IUseCase,String) |
TaggedValue |
ITaggedValue |
○ |
○ |
createTaggedValue(IElement,String,String) |
Constraint |
IConstraint |
○ |
○ |
createConstraint(INamedElement,String) |
Multiplicity |
IMultiplicityRange |
○ |
○ |
setMultiplicity(int[][]), setMultiplicityStrings(String[][]) |
Comment |
IComment |
○ |
○ |
Will be automatically created when a presentation is created. |
Statemachine Diagram
Activity Diagram
Model |
Class |
Get |
Edit |
Create Method |
Activity Diagram |
IActivityDiagram && ! isFlowChart() |
○ |
○ |
createActivityDiagram(INamedElement,String) |
Activity |
IActivity |
○ |
○ |
It is created at diagram creation |
Partition |
IPartition |
○ |
○ |
Will be automatically created when the presentation is created |
Initial Node |
IControlNode && isInitialNode() |
○ |
○ |
Will be automatically created when the presentation is created |
Action |
IAction |
○ |
○ |
Will be automatically created when the presentation is created |
Activity Final |
IControlNode && isFinalNode() |
○ |
○ |
Will be automatically created when the presentation is created |
Flow Final Node |
IControlNode && isFlowFinalNode() |
○ |
○ |
Will be automatically created when the presentation is created |
Control Flow / Object Flow |
IFlow |
○ |
○ |
Will be automatically created when the presentation is created |
Decision Node / Merge Node |
IControlNode && isDecisionMergeNode() |
○ |
○ |
Will be automatically created when the presentation is created |
Fork Node |
IControlNode && isForkNode() |
○ |
○ |
Will be automatically created when the presentation is created |
Join Node |
IControlNode && isJoinNode() |
○ |
○ |
Will be automatically created when the presentation is created |
Input Pin |
IInputPin |
○ |
○ |
Will be automatically created when the presentation is created |
Output Pin |
IOutputPin |
○ |
○ |
Will be automatically created when the presentation is created |
Object Node |
IObjectNode |
○ |
○ |
Will be automatically created when the presentation is created |
Activity Parameter Node |
IActivityParameterNode |
○ |
○ |
Will be automatically created when the presentation is created |
Send Signal Action |
<<signal sending>> IAction |
○ |
○ |
Will be automatically created when the presentation is created |
Accept Event Action |
<<signal receipt>> IAction |
○ |
○ |
Will be automatically created when the presentation is created |
Accept Time Event Action |
<<accept_time_event>> IAction |
○ |
○ |
Will be automatically created when the presentation is created |
Process |
<<process>> IAction |
○ |
○ |
Will be automatically created when the presentation is created |
Connector |
IControlNode && isConnector() |
○ |
○ |
Will be automatically created when the presentation is created |
Flowchart
Only Get-API is available with Astah Professional Edition.
Sequence Diagram
Model |
Class |
Get |
Edit |
Create Method |
Sequence Diagram |
ISequenceDiagram |
○ |
○ |
createSequenceDiagram(INamedElement,String) |
Lifeline |
ILifeline |
○ |
○ |
Will be automatically created when the presentation is created |
Message |
IMessage |
○ |
○ |
Will be automatically created when the presentation is created |
State |
IState |
○ |
○ |
Will be automatically created when the presentation is created |
State Invariant |
IStateInvariant |
○ |
○ |
Will be automatically created when the presentation is created |
CombinedFragment |
ICombinedFragment |
○ |
○ |
Will be automatically created when the presentation is created |
Interaction |
IInteraction |
○ |
○ |
Will be automatically created when the presentation is created |
InteractionOperand |
IInteractionOperand |
○ |
○ |
Will be automatically created when the presentation is created |
CombinedFragment |
IInteractionFragment |
○ |
○ |
Will be automatically created when the presentation is created |
InteractionUse |
IInteractionUse |
○ |
○ |
Will be automatically created when the presentation is created |
Gate |
IGate |
○ |
○ |
Will be automatically created when the presentation is created |
TimeConstraint |
ITimeConstraint |
○ |
× |
- |
DurationConstraint |
IDurationConstraint |
○ |
× |
- |
Communication Diagram
Only Get-API is available.
Timing Diagram
Edit-API is not available.
Composite Structure Diagram
ER Diagram
Edit-API available only for Astah Professional Edition.
Model |
Class |
Get |
Edit |
Create Method |
ER Diagram |
IERDiagram |
○ |
○ |
createERDiagram(IERSchema,String) |
Model |
IERModel |
○ |
○ |
createERModel(IModel,String) |
Entity |
IEREntity |
○ |
○ |
createEREntity(IERSchema,String,String) |
Attribute |
IERAttribute |
○ |
○ |
createERAttribute(IEREntity,String,String,IERDomain), createERAttribute(IEREntity,String,String,IERDatatype) |
Index |
IERIndex |
○ |
○ |
createERIndex(String,IEREntity,boolean,boolean,IERAttribute[]) |
Data Type |
IERDatatype |
○ |
○ |
createERDatatype(IERModel,String) |
Domain |
IERDomain |
○ |
○ |
createERDomain(IERModel,IERDomain,String,String,IERDatatype) |
Identifying Relationship |
IERRelationship && isIdentifying() |
○ |
○ |
createIdentifyingRelationship(IEREntity,IEREntity,String,String,IERIndex), createIdentifyingRelationship(IEREntity,IEREntity,String,String) |
Non-identifying Relationship |
IERRelationship && isNonIdentifying() |
○ |
○ |
createNonIdentifyingRelationship(IEREntity,IEREntity,String,String,IERIndex), createNonIdentifyingRelationship(IEREntity,IEREntity,String,String) |
Multi-to-multi Relationship |
IERRelationship && isMultiToMulti() |
○ |
○ |
createMultiToMultiRelationship(IEREntity,IEREntity,String,String) |
Schema |
IERSchema |
○ |
× |
- |
Subtype |
IERSubtypeRelationship |
○ |
○ |
createSubtypeRelationship(IEREntity,IEREntity,String,String) |
DFD
Edit-API is not available.
CRUD
Edit-API is not available.
Mind Map
There are no models in Mind Maps - they are all the presentations only.
Requirement Diagram
Edit-API is available only in Astah Professional.
Requirement Table
Edit-API is not available.
Other
If there is a hyperlink which is a model, the modelID is included in the name.
type=file,name=astah_com.log,path=C:/Documents and Settings,comment= Target is a file
type=url,name=http://www.change-vision.com,path=http://,comment= Target is a web page
type=model,name=9a1411-1112fec29a5-0804d01aa6c5fb9fe2aab956b4ca593a,path=,comment= Target is a astah* model
Presentation list
This is a list of Presentation in Astah. To find out which presentation is editable or not..etc, please refer to the Astah API page.
Common Diagram Elements
Class / Composite Structure Diagram
UseCase Diagram
Statemachine Diagram
Activity Diagram
Sequence Diagram
Communication Diagram
Timing Diagram
Flowchart
DFD
Requirement Diagram
ER Diagram
Mind Map
CRUD