Class EntityIdMapper
- java.lang.Object
-
- be.yildizgames.common.mapping.model.EntityIdMapper
-
- All Implemented Interfaces:
be.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.EntityId>
public class EntityIdMapper extends Object implements be.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.EntityId>
- 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.EntityIdfrom(String s)static EntityIdMappergetInstance()Stringto(be.yildizgames.common.model.EntityId entityId)
-
-
-
Method Detail
-
getInstance
public static EntityIdMapper getInstance()
-
from
public be.yildizgames.common.model.EntityId from(String s) throws be.yildizgames.common.mapping.MappingException
- Specified by:
fromin interfacebe.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.EntityId>- Throws:
be.yildizgames.common.mapping.MappingException
-
to
public String to(be.yildizgames.common.model.EntityId entityId)
- Specified by:
toin interfacebe.yildizgames.common.mapping.ObjectMapper<be.yildizgames.common.model.EntityId>
-
-