Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Initial/Default values
Initial/Default values [message #626391] Thu, 10 April 2008 15:17
Javi is currently offline JaviFriend
Messages: 8
Registered: July 2009
Junior Member
Is it possible to define a default/initial value for a "complex" (not
string, integer,...) type and get the code for the initialization.

I'm interested in 2 "complex" types:
- <PrimitiveType> <<eDataType>> java.util.Date
new Date(1/1/2000);
- <Class> Car
new Car(4); // wheels=4

I tried to use InstanceSpecification but get nothing.

Thank you.
Previous Topic:[Announceme] New articles added to the UML2 Wiki
Next Topic:Which Plugin Do I need to view UML graphically?
Goto Forum:
  


Current Time: Fri Apr 26 02:28:34 GMT 2024

Powered by FUDForum. Page generated in 0.03669 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top