public class EventMappings extends Object
Events in a JSF
page.| Modifier and Type | Method and Description |
|---|---|
static String |
getIconFor(es.uvigo.esei.dgss.letta.domain.entities.Event.Category type)
Returns a
String representing the path to the corresponding
Event.Category icon image. |
public static String getIconFor(es.uvigo.esei.dgss.letta.domain.entities.Event.Category type) throws IllegalArgumentException, NullPointerException
String representing the path to the corresponding
Event.Category icon image.type - The Event.Category to be translated into an icon path.String holding the path to the icon associated to the
received Event.Category.IllegalArgumentException - If the received Event.Category does
not have an associated icon.NullPointerException - If the received Event.Category is null.Copyright © 2017. All rights reserved.