org.schemarepo.api.converter
Class IdentityConverter

java.lang.Object
  extended by org.schemarepo.api.converter.IdentityConverter
All Implemented Interfaces:
Converter<String>

public class IdentityConverter
extends Object
implements Converter<String>

For the entities you wish to use directly as Strings, without any conversion.


Constructor Summary
IdentityConverter()
           
 
Method Summary
 String fromString(String literal)
           
 String toString(String strongType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityConverter

public IdentityConverter()
Method Detail

fromString

public String fromString(String literal)
Specified by:
fromString in interface Converter<String>

toString

public String toString(String strongType)
Specified by:
toString in interface Converter<String>


Copyright © 2015. All rights reserved.