Adicionado classificaĆ§Ć£o do log conforme exemplo
[simdecs.git] / src / java / org / ufcspa / simdecs / diagram / elements / Doctor.java
1 package org.ufcspa.simdecs.diagram.elements;\r
2 \r
3 import java.util.Locale;\r
4 \r
5 public class Doctor extends SwimLane {\r
6 \r
7     public Doctor(String messageBundle, Locale locale) {\r
8         super(messageBundle, locale);\r
9     }\r
10 \r
11     @Override\r
12     public String getImage() {\r
13         if (getSex().equals("M"))\r
14             return "img/swimLanes/doctorMale.png";\r
15         else\r
16             return "img/swimLanes/doctorFemale.png";\r
17     }\r
18 \r
19     @Override\r
20     public String getType() {\r
21         return "doctor";\r
22     }\r
23 \r
24 }\r