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 of column name and type.

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

Interface may be inherited by every Entity.

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. Interface may have some special suffix added in 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, can bring some problems.

Share This Page

FACEBOOK COMMENTS WILL BE SHOWN ONLY WHEN YOUR SITE IS ONLINE

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