Forum Index - Topic Index How to use of Astah (Pro/SysML/GSN/Com) enum |
Threaded | Newest First | Previous Topic | Next Topic | Bottom |
Poster | Thread |
---|---|
Bummibaer | Posted on: 2010/5/7 17:15 |
Just popping in Joined: 2007/9/6 From: Posts: 2 |
enum Hello,
Is it possible to model an enumeration? Attibute Kind := { red,blue,green} thanks, Steffen |
Joba | Posted on: 2010/5/11 17:29 |
Developer Joined: 2006/6/6 From: Posts: 969 |
Re: enum Hello Steffen,
Yes its possible to do so with astah* professional or astah* UML. 1. Go to the property of the project and check the language you want to model with in the [Project Setting] tab 2. Create a Class "Color" 3. Go to the property of the Class and check <<enum>> in the [Language] tab (In the sample figures, we have selected Java) 4. Create an attribute "red", and go to the attribute's property and select <<enum constant>> from its [Language] tab 5. Create an attribute "blue" and do the same as above 6. Create an attribute "green" and do the same Hope it helps. If you don't have an astah* professional or astah* UML, free evaluation license is available! Read the [Evaluate] in the page below. http://astah.change-vision.com/en/shopping/steps.html Cheers, Satomi |
Threaded | Newest First | Previous Topic | Next Topic | Top |