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.EventType type)
Returns a
String representing the path to the corresponding
EventType icon image. |
public static String getIconFor(es.uvigo.esei.dgss.letta.domain.entities.EventType type) throws IllegalArgumentException, NullPointerException
String representing the path to the corresponding
EventType icon image.type - The EventType to be translated into an icon path.String holding the path to the icon associated to the
received EventType.IllegalArgumentException - If the received EventType does
not have an associated icon.NullPointerException - If the received EventType is null.Copyright © 2015. All rights reserved.