Class PlayerIdMapper
- java.lang.Object
-
- be.yildizgames.common.mapping.model.PlayerIdMapper
-
- All Implemented Interfaces:
be.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.PlayerId>
public class PlayerIdMapper extends Object implements be.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.PlayerId>
- Author:
- Grégory Van den Borre
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description be.yildizgames.common.model.PlayerIdfrom(String s)static PlayerIdMappergetInstance()Stringto(be.yildizgames.common.model.PlayerId playerId)
-
-
-
Method Detail
-
getInstance
public static PlayerIdMapper getInstance()
-
from
public be.yildizgames.common.model.PlayerId from(String s) throws be.yildizgames.common.mapping.MappingException
- Specified by:
fromin interfacebe.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.PlayerId>- Throws:
be.yildizgames.common.mapping.MappingException
-
to
public String to(be.yildizgames.common.model.PlayerId playerId)
- Specified by:
toin interfacebe.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.PlayerId>
-
-