models.ebean
Class ScalarBox2d

java.lang.Object
  extended by com.avaje.ebeaninternal.server.type.ScalarTypeBase<T>
      extended by com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar<Box2d>
          extended by models.ebean.ScalarBox2d
All Implemented Interfaces:
com.avaje.ebean.text.StringFormatter, com.avaje.ebean.text.StringParser, com.avaje.ebeaninternal.server.type.ScalarDataReader<Box2d>, com.avaje.ebeaninternal.server.type.ScalarType<Box2d>

public class ScalarBox2d
extends com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar<Box2d>


Field Summary
 
Fields inherited from class com.avaje.ebeaninternal.server.type.ScalarTypeBase
jdbcNative, jdbcType, type
 
Constructor Summary
ScalarBox2d()
           
 
Method Summary
 Box2d convertFromDbString(java.lang.String dbValue)
           
 java.lang.String convertToDbString(Box2d beanValue)
           
 java.lang.String formatValue(Box2d box2d)
           
 Box2d parse(java.lang.String value)
           
 
Methods inherited from class com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar
bind, format, isDateTimeCapable, jsonFromString, jsonWrite, parseDateTime, read, readData, toBeanType, toJdbcType, toJsonString, writeData
 
Methods inherited from class com.avaje.ebeaninternal.server.type.ScalarTypeBase
accumulateScalarTypes, getDbNullValue, getJdbcType, getLength, getType, isDbNull, isJdbcNative, jsonToString, loadIgnore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalarBox2d

public ScalarBox2d()
Method Detail

formatValue

public java.lang.String formatValue(Box2d box2d)
Specified by:
formatValue in interface com.avaje.ebeaninternal.server.type.ScalarType<Box2d>
Specified by:
formatValue in class com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar<Box2d>

parse

public Box2d parse(java.lang.String value)
Specified by:
parse in interface com.avaje.ebean.text.StringParser
Specified by:
parse in interface com.avaje.ebeaninternal.server.type.ScalarType<Box2d>
Specified by:
parse in class com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar<Box2d>

convertFromDbString

public Box2d convertFromDbString(java.lang.String dbValue)
Specified by:
convertFromDbString in class com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar<Box2d>

convertToDbString

public java.lang.String convertToDbString(Box2d beanValue)
Specified by:
convertToDbString in class com.avaje.ebeaninternal.server.type.ScalarTypeBaseVarchar<Box2d>