org.melati.poem.generated
Class GroupCapabilityBase

Package class diagram package 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:
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:
TableDef

Field Summary
protected  Integer capability
          capability - The capability
protected  Integer group
          group - The Group which has the capability
protected  Integer id
          id - The Table Row Object ID
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
GroupCapabilityBase()
           
 
Method Summary
 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.
 Integer getCapabilityTroid()
          Retrieves the Table Row Object ID.
 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.
 Integer getGroupTroid()
          Retrieves the Table Row Object ID.
 Integer getId_unsafe()
          Retrieves the Id value, without locking, for this GroupCapability Persistent.
 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(Integer cooked)
          Sets the Capability value directly, without checking, for this GroupCapability Persistent.
 void setCapability(Capability cooked)
          Set the Capability.
 void setCapabilityTroid(Integer raw)
          Sets the Table Row Object ID.
 void setGroup_unsafe(Integer cooked)
          Sets the Group value directly, without checking, for this GroupCapability Persistent.
 void setGroup(Group cooked)
          Set the Group.
 void setGroupTroid(Integer raw)
          Sets the Table Row Object ID.
 void setId_unsafe(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(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 Integer id
id - The Table Row Object ID


group

protected Integer group
group - The Group which has the capability


capability

protected 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:
TableDef

getGroupCapabilityTable

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

Returns:
the GroupCapabilityTable
See Also:
TableDef

getId_unsafe

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

Returns:
the Integer id
See Also:
FieldDef

setId_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
FieldDef

getId

public 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(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:
FieldDef

getGroup_unsafe

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

Returns:
the Integer group
See Also:
FieldDef

setGroup_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
FieldDef

getGroupTroid

public 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(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:
FieldDef

getCapability_unsafe

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

Returns:
the Integer capability
See Also:
FieldDef

setCapability_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
FieldDef

getCapabilityTroid

public 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(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:
FieldDef


Copyright © 2000-2010 PanEris. All Rights Reserved.