com.googlecode.mobilityrpc.protocol.converters.components
Class UuidComponentConverter

java.lang.Object
  extended by com.googlecode.mobilityrpc.protocol.converters.components.UuidComponentConverter
All Implemented Interfaces:
ComponentConverter<UUID,ComponentUuid.UUID,ComponentUuid.UUID.Builder>

public class UuidComponentConverter
extends Object
implements ComponentConverter<UUID,ComponentUuid.UUID,ComponentUuid.UUID.Builder>

Author:
Niall Gallagher

Constructor Summary
UuidComponentConverter()
           
 
Method Summary
 UUID convertFromProtobuf(ComponentUuid.UUID uuid)
           
 ComponentUuid.UUID.Builder convertToProtobuf(UUID javaObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UuidComponentConverter

public UuidComponentConverter()
Method Detail

convertFromProtobuf

public UUID convertFromProtobuf(ComponentUuid.UUID uuid)
Specified by:
convertFromProtobuf in interface ComponentConverter<UUID,ComponentUuid.UUID,ComponentUuid.UUID.Builder>

convertToProtobuf

public ComponentUuid.UUID.Builder convertToProtobuf(UUID javaObject)
Specified by:
convertToProtobuf in interface ComponentConverter<UUID,ComponentUuid.UUID,ComponentUuid.UUID.Builder>


Copyright © 2016. All rights reserved.