org.mentabean.type
Class NowOnUpdateTimestampType

java.lang.Object
  extended by org.mentabean.type.TimestampType
      extended by org.mentabean.type.NowOnUpdateTimestampType
All Implemented Interfaces:
DBType<Date>

public class NowOnUpdateTimestampType
extends TimestampType


Constructor Summary
NowOnUpdateTimestampType()
           
 
Method Summary
 boolean canBeNull()
          Returns whether this type can be NULL in the database.
 NowOnUpdateTimestampType nullable(boolean flag)
           
 
Methods inherited from class org.mentabean.type.TimestampType
bindToStmt, getAnsiType, getFromResultSet, getFromResultSet, getTypeClass, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NowOnUpdateTimestampType

public NowOnUpdateTimestampType()
Method Detail

canBeNull

public boolean canBeNull()
Description copied from interface: DBType
Returns whether this type can be NULL in the database. This is used by the session.createTable() method.

Specified by:
canBeNull in interface DBType<Date>
Overrides:
canBeNull in class TimestampType
Returns:
true if field can be NULL in the database.

nullable

public NowOnUpdateTimestampType nullable(boolean flag)
Overrides:
nullable in class TimestampType


Copyright © 2013. All Rights Reserved.