free web templates

Column

Unique name and type

Daobab Column is a base interface, represented DataBase column, which is a part of table.

The name and context of this library depends on column name and type.

Each column, identified by name and type has own interface created.

Interface may be inherited in every Entity representing database table contained such column.

This construction recreates relations between tables

Interface collects informations as follows:

  1. DataBase column name
    to communicate with database
  2. Java field name
    A key into Entity map
  3. Object Type
    Class Type for column values
  4. Relation to Entity
    Which Entity contains the column.
    This information is generic, provided through Class type during Entity initialisation.

FAQ

Another interface is being created, with a unique name.

Reverse Engineering inherits column with whole package to separate those classes.

Interface can be modified either manually or be recreated by generator.

Yes, you can change to similar objects, for example Integer to BigDecimal or any other Number base class. Also changing Timestamp to Date is possible.
For obvious reason, changing String to Date for example, could bring some problems.

© Copyright 2020 Elephant Software Klaudiusz Wojtkowiak 
e-mail: contact@daobab.io