Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UML for a Role

5 views
Skip to first unread message

thiago...@petrobras.com.br

unread,
Jan 10, 2013, 12:50:29 PM1/10/13
to mo...@perl.org

Hi there.
I'm new at mo...@perl.org and just like to know how you use to represent a
Moose::Role in a UML diagram? Just like an ordinary class and <<type>>?
________________________________________
Thiago Glauco Sanchez
Tec. Telecom. Pl. - Petrobras SA
ITIL, MCSO, ECS ( Routing, Wireless, Switching )
tel: 55 11 3523-9756
rota: http://ltp.petrobras.com.br

"Blaming the network is easy. The network touches everything. Businesses
assume that the network will work perfectly and make decisions accordingly.
A user can’t open that 900MB Excel spreadsheet on the file server on
another
continent from his 20th-century PC? Network problem. A website in
Farawayistan
is slow? Network problem. A user can’t get a faster response over a
33.6Kbps modem? Network problem."
"O emitente desta mensagem é responsável por seu conteúdo e endereçamento. Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida autorização, a divulgação, a reprodução, a distribuição ou qualquer outra ação em desconformidade com as normas internas do Sistema Petrobras são proibidas e passíveis de sanção disciplinar, cível e criminal."

"The sender of this message is responsible for its content and addressing. The receiver shall take proper care of it. Without due authorization, the publication, reproduction, distribution or the performance of any other action not conforming to Petrobras System internal policies and procedures is forbidden and liable to disciplinary, civil or criminal sanctions."

"El emisor de este mensaje es responsable por su contenido y direccionamiento. Cabe al destinatario darle el tratamiento adecuado. Sin la debida autorización, su divulgación, reproducción, distribución o cualquier otra acción no conforme a las normas internas del Sistema Petrobras están prohibidas y serán pasibles de sanción disciplinaria, civil y penal."

Jeff Hallock

unread,
Jan 10, 2013, 12:59:24 PM1/10/13
to thiago...@petrobras.com.br, mo...@perl.org
I represent it using an interface.

Fields, Christopher J

unread,
Jan 10, 2013, 1:40:55 PM1/10/13
to <thiagoglauco@petrobras.com.br>, mo...@perl.org
Not sure if this helps, but there is a SO post about how to represent roles/traits/etc in UML.

http://stackoverflow.com/questions/2690249/how-do-i-represent-a-mixin-role-trait-with-uml-properly

chris

On Jan 10, 2013, at 12:32 PM, <thiago...@petrobras.com.br>
wrote:

> Thanks Jeff.
>
> Besides a Role does Moose have other thing near an abstract class? (I know roles are not abstract classes)
> I'm writing a doc about rational methodology and Moose, that is why I'm asking.
>
> <graycol.gif>Jeff Hallock ---10/01/2013 16:00:25---I represent it using an interface. -----Original Message-----
0 new messages