Skip to main content



      Home
Home » Modeling » Papyrus » RESTful model with Papyrus
RESTful model with Papyrus [message #1786528] Sat, 05 May 2018 13:20 Go to next message
Eclipse UserFriend
Hello,
I'm new in the modelling world and I need to create a simple class diagram of a RESTful application.
I found a tutorial to do this on IBM Rational but I need to do it in Eclipse (https://firstinfinity.wordpress.com/modeling_rest_web_services/).

I don't know how to create the edges with the stereotype to express the URI path (in the tutorial it's called <<ResorucePath>> ) and I don't know how to create a class tagged with a custom stereotype neither (like <<Resource>> in the tutorial) .

I need to create a model that represents this behaviour:
an user could do a request to the application in this way
GET /office/{roomID}/{sensorID}
and the application have to reply with the value of the sensor returned by the method readData(sensorID).

I attach my class diagram.

Thank you in advance.
Dim
Re: RESTful model with Papyrus [message #1786535 is a reply to message #1786528] Sun, 06 May 2018 08:35 Go to previous message
Eclipse UserFriend
Hi Dim,

you can do that with Papyrus.

But, off course Papyrus does not support IBM Rational proprietary features.

But Papyrus other than IBM Rational Rhapsody supports the UML 2.5.x specification. According to the UML 2.5.x specification an DeployedArtifact[Abstract Class] features a location. The location specifies where the artifact is deployed. As DeployedArtifact is an abstract class, you have to use a non-abstract derivative (i.e: Artifact) in your UML model.

/pica
Previous Topic:Improve FunctionBehavior editor?
Next Topic:Papyrus Coding Day 2018 at Toulouse
Goto Forum:
  


Current Time: Mon Jul 21 05:59:04 EDT 2025

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

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

Back to the top