org.schemarepo.api.converter
Class ShortConverter

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

public class ShortConverter
extends Object
implements Converter<Short>

To convert back and forth with Short. For most people this can be a reasonable choice for IDs. If anyone needs to store more than 65K schemas for a single subject, they should probably take a long hard look at how they're using the schema repo.


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

Constructor Detail

ShortConverter

public ShortConverter()
Method Detail

fromString

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

toString

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


Copyright © 2015. All rights reserved.