Method Summary |
|
public Column | addColumn(Column column) Adds a column. |
public void | addEntityListener(EntityListener listener) |
public void | addIdColumn(Column column) Adds an id column. |
void | addIncomingLink(LinkColumns link) Adds an incoming link. |
void | addOutgoingLink(LinkColumns link) Adds an outgoing link. |
public void | beforeEntityDelete(AmberConnection aConn, Entity entity) Called before the entity is deleted. |
public Column | createColumn(String name, Type type) Creates a column. |
public void | createDatabaseTable(AmberPersistenceUnit amberPersistenceUnit) Creates the table if missing. |
public ForeignColumn | createForeignColumn(String name, Column key) Creates a foreign column. |
protected ConfigException | error(String msg, Throwable e) |
protected RuntimeException | error(Throwable e) |
public AmberPersistenceUnit | getAmberManager() Returns the amber manager. |
public long | getCacheTimeout() Returns the cache timeout. |
public ArrayList<Column> | getColumns() Returns the columns. |
public AmberCompletion | getDeleteCompletion() Returns the table's invalidation. |
public LinkColumns | getDependentIdLink() Gets the id link for a dependent table. |
public ArrayList<Column> | getIdColumns() Returns the id columns. |
public ArrayList<LinkColumns> | getIncomingLinks() |
public AmberCompletion | getInvalidateCompletion() Returns the table's invalidation. |
public String | getLocation() Returns the location. |
public String | getName() Gets the sql table name. |
public ArrayList<LinkColumns> | getOutgoingLinks() |
public RelatedType | getType() Gets the entity type. |
public AmberCompletion | getUpdateCompletion() Returns the table's invalidation. |
public boolean | hasListeners() Returns true if there are any listeners. |
public boolean | isCascadeDelete() Returns true if any deletes of this object are cascaded. |
public boolean | isReadOnly() |
public boolean | removeColumn(Column column) Remove a given column. |
public void | setCacheTimeout(long timeout) Sets the cache timeout. |
public void | setConfigLocation(String location) Sets the config location. |
public void | setDependentIdLink(LinkColumns link) Sets the id link for a dependent table. |
public void | setReadOnly(boolean isReadOnly) |
public void | setType(RelatedType type) Sets the entity type. |
public String | toString() Printable version of the entity. |
public void | validateDatabaseTable(AmberPersistenceUnit amberPersistenceUnit) Creates the table if missing. |