org.melati.poem.generated
Class GroupCapabilityBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.melati.poem.generated.GroupCapabilityBase
All Implemented Interfaces:
java.lang.Cloneable, Persistable, Persistent, Treeable
Direct Known Subclasses:
GroupCapability

public abstract class GroupCapabilityBase
extends JdbcPersistent

Melati POEM generated abstract base class for a Persistent GroupCapability Object.

See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Field Summary
protected  java.lang.Integer capability
          capability - The capability
protected  java.lang.Integer group
          group - The Group which has the capability
protected  java.lang.Integer id
          id - The Table Row Object ID
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
GroupCapabilityBase()
           
 
Method Summary
 java.lang.Integer getCapability_unsafe()
          Retrieves the Capability value, without locking, for this GroupCapability Persistent.
 Capability getCapability()
          Retrieves the Capability object referred to.
 Field getCapabilityField()
          Retrieves the Capability value as a Field from this GroupCapability Persistent.
 java.lang.Integer getCapabilityTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getGroup_unsafe()
          Retrieves the Group value, without locking, for this GroupCapability Persistent.
 Group getGroup()
          Retrieves the Group object referred to.
 GroupCapabilityTable getGroupCapabilityTable()
          Retrieves the GroupCapabilityTable table which this Persistent is from.
 Field getGroupField()
          Retrieves the Group value as a Field from this GroupCapability Persistent.
 java.lang.Integer getGroupTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this GroupCapability Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this GroupCapability Persistent.
 Field getIdField()
          Retrieves the Id value as a Field from this GroupCapability Persistent.
 PoemDatabaseTables getPoemDatabaseTables()
          Retrieves the Database object.
 void setCapability_unsafe(java.lang.Integer cooked)
          Sets the Capability value directly, without checking, for this GroupCapability Persistent.
 void setCapability(Capability cooked)
          Set the Capability.
 void setCapabilityTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setGroup_unsafe(java.lang.Integer cooked)
          Sets the Group value directly, without checking, for this GroupCapability Persistent.
 void setGroup(Group cooked)
          Set the Group.
 void setGroupTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this GroupCapability Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this GroupCapability Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this GroupCapability Persistent.
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, 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, getName, 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
 

Field Detail

id

protected java.lang.Integer id
id - The Table Row Object ID


group

protected java.lang.Integer group
group - The Group which has the capability


capability

protected java.lang.Integer capability
capability - The capability

Constructor Detail

GroupCapabilityBase

public GroupCapabilityBase()
Method Detail

getPoemDatabaseTables

public PoemDatabaseTables getPoemDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getGroupCapabilityTable

public GroupCapabilityTable getGroupCapabilityTable()
Retrieves the GroupCapabilityTable table which this Persistent is from.

Returns:
the GroupCapabilityTable
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this GroupCapability Persistent.

Returns:
the Integer id
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this GroupCapability Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getId

public java.lang.Integer getId()
                        throws AccessPoemException
Retrieves the Id value, with locking, for this GroupCapability Persistent. Field description: The Table Row Object ID

Returns:
the value of the field Id for this GroupCapability Persistent
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setId

public void setId(java.lang.Integer cooked)
           throws AccessPoemException,
                  ValidationPoemException
Sets the Id value, with checking, for this GroupCapability Persistent. Field description: The Table Row Object ID

Parameters:
cooked - a validated int
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.AtomFieldDef#generateBaseMethods

setId

public final void setId(int cooked)
                 throws AccessPoemException,
                        ValidationPoemException
Sets the Id value, with checking, for this GroupCapability Persistent. Field description: The Table Row Object ID

Parameters:
cooked - a validated int
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
ValidationPoemException - if the value is not valid
Generator
org.melati.poem.prepro.IntegerFieldDef#generateBaseMethods

getIdField

public Field getIdField()
                 throws AccessPoemException
Retrieves the Id value as a Field from this GroupCapability Persistent.

Returns:
the Integer id
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getGroup_unsafe

public java.lang.Integer getGroup_unsafe()
Retrieves the Group value, without locking, for this GroupCapability Persistent.

Returns:
the Integer group
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setGroup_unsafe

public void setGroup_unsafe(java.lang.Integer cooked)
Sets the Group value directly, without checking, for this GroupCapability Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getGroupTroid

public java.lang.Integer getGroupTroid()
                                throws AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
AccessPoemException - if the current AccessToken does not confer read access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setGroupTroid

public void setGroupTroid(java.lang.Integer raw)
                   throws AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getGroup

public Group getGroup()
               throws AccessPoemException,
                      NoSuchRowPoemException
Retrieves the Group object referred to.

Returns:
the Group as a Group
Throws:
AccessPoemException - if the current AccessToken does not confer read access rights
NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setGroup

public void setGroup(Group cooked)
              throws AccessPoemException
Set the Group.

Parameters:
cooked - a validated Group
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getGroupField

public Field getGroupField()
                    throws AccessPoemException
Retrieves the Group value as a Field from this GroupCapability Persistent.

Returns:
the Integer group
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getCapability_unsafe

public java.lang.Integer getCapability_unsafe()
Retrieves the Capability value, without locking, for this GroupCapability Persistent.

Returns:
the Integer capability
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setCapability_unsafe

public void setCapability_unsafe(java.lang.Integer cooked)
Sets the Capability value directly, without checking, for this GroupCapability Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getCapabilityTroid

public java.lang.Integer getCapabilityTroid()
                                     throws AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
AccessPoemException - if the current AccessToken does not confer read access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setCapabilityTroid

public void setCapabilityTroid(java.lang.Integer raw)
                        throws AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getCapability

public Capability getCapability()
                         throws AccessPoemException,
                                NoSuchRowPoemException
Retrieves the Capability object referred to.

Returns:
the Capability as a Capability
Throws:
AccessPoemException - if the current AccessToken does not confer read access rights
NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

setCapability

public void setCapability(Capability cooked)
                   throws AccessPoemException
Set the Capability.

Parameters:
cooked - a validated Capability
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
Generator
org.melati.poem.prepro.ReferenceFieldDef#generateBaseMethods

getCapabilityField

public Field getCapabilityField()
                         throws AccessPoemException
Retrieves the Capability value as a Field from this GroupCapability Persistent.

Returns:
the Integer capability
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator


Copyright © 2000-2009 PanEris. All Rights Reserved.