org.melati.poem
Class TableCategory

Package class diagram package TableCategory
java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.melati.poem.generated.TableCategoryBase
              extended by org.melati.poem.TableCategory
All Implemented Interfaces:
Cloneable, Persistable, Persistent, Treeable

public class TableCategory
extends TableCategoryBase

A grouping into which a Table can be assigned, eg Data or System. Melati POEM generated, programmer modifiable stub for a Persistent TableCategory object.

Description: A category under which a table can be classified.

Field summary for SQL table TableCategory
NameTypeDescription
id Integer The Table Row Object ID
name String A human-readable name for the category

Generator
org.melati.poem.prepro.TableDef#generateMainJava

Field Summary
 
Fields inherited from class org.melati.poem.generated.TableCategoryBase
id, name
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
TableCategory()
          Constructor for a Persistent TableCategory object.
TableCategory(String name)
          Constructor for a Persistent TableCategory object.
 
Method Summary
 void assertCanRead(AccessToken token)
          Allow this object to be read by anyone.
 
Methods inherited from class org.melati.poem.generated.TableCategoryBase
getId_unsafe, getId, getIdField, getName_unsafe, getName, getNameField, getPoemDatabaseTables, getTableCategoryTable, setId_unsafe, setId, setId, setName_unsafe, setName
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLock
 
Methods inherited from class org.melati.poem.transaction.Transactioned
markValid, reset, setTransactionPool, transactionPool, unSee
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableCategory

public TableCategory()
Constructor for a Persistent TableCategory object.

Description: A category under which a table can be classified.

Generator
org.melati.poem.prepro.TableDef#generateMainJava

TableCategory

public TableCategory(String name)
Constructor for a Persistent TableCategory object.

Description: A category under which a table can be classified.

Parameters:
name - the name of a TableCategory to create.
Method Detail

assertCanRead

public void assertCanRead(AccessToken token)
Allow this object to be read by anyone.

Specified by:
assertCanRead in interface Persistent
Overrides:
assertCanRead in class JdbcPersistent
Parameters:
token - any AccessToken
See Also:
Persistent.assertCanRead(org.melati.poem.AccessToken)


Copyright © 2000-2010 PanEris. All Rights Reserved.