Class WbsField

java.lang.Object
wbs.utils.util.database.WbsField

public class WbsField extends Object
  • Constructor Details

  • Method Details

    • prepare

      public void prepare(PreparedStatement statement, int index, Object value) throws SQLException
      Throws:
      SQLException
    • getFieldName

      public String getFieldName()
    • getType

      public WbsFieldType getType()
    • getCreationPhrase

      public String getCreationPhrase()
    • setPrimaryKey

      public WbsField setPrimaryKey(boolean primaryKey)
    • setNotNull

      public WbsField setNotNull(boolean notNull)
    • isPrimaryKey

      public boolean isPrimaryKey()
    • requiresNotNull

      public boolean requiresNotNull()
    • getDefaultValue

      @NotNull public @NotNull Object getDefaultValue()
    • setDefaultValue

      public void setDefaultValue(Object defaultValue)