org.melati.poem.generated
Class GroupMembershipBase

Package class diagram package GroupMembershipBase
java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.melati.poem.generated.GroupMembershipBase
All Implemented Interfaces:
Cloneable, Persistable, Persistent, Treeable
Direct Known Subclasses:
GroupMembership

public abstract class GroupMembershipBase
extends JdbcPersistent

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

See Also:
TableDef.generatePersistentBaseJava(java.io.Writer)

Field Summary
protected  Integer group
          Group - The group to which the user belongs
protected  Integer id
          id - The Table Row Object ID
protected  Integer user
          User - The user who belongs to the group
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
GroupMembershipBase()
           
 
Method Summary
 Integer getGroup_unsafe()
          Retrieves the Group value, without locking, for this GroupMembership Persistent.
 Group getGroup()
          Retrieves the Group object referred to.
 Field getGroupField()
          Retrieves the Group value as a Field from this GroupMembership Persistent.
 GroupMembershipTable getGroupMembershipTable()
          Retrieves the GroupMembershipTable table which this Persistent is from.
 Integer getGroupTroid()
          Retrieves the Table Row Object ID.
 Integer getId_unsafe()
          Retrieves the Id value, without locking, for this GroupMembership Persistent.
 Integer getId()
          Retrieves the Id value, with locking, for this GroupMembership Persistent.
 Field getIdField()
          Retrieves the Id value as a Field from this GroupMembership Persistent.
 PoemDatabaseTables getPoemDatabaseTables()
          Retrieves the Database object.
 Integer getUser_unsafe()
          Retrieves the User value, without locking, for this GroupMembership Persistent.
 User getUser()
          Retrieves the User object referred to.
 Field getUserField()
          Retrieves the User value as a Field from this GroupMembership Persistent.
 Integer getUserTroid()
          Retrieves the Table Row Object ID.
 void setGroup_unsafe(Integer cooked)
          Sets the Group value directly, without checking, for this GroupMembership 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 GroupMembership Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this GroupMembership Persistent.
 void setId(Integer cooked)
          Sets the Id value, with checking, for this GroupMembership Persistent.
 void setUser_unsafe(Integer cooked)
          Sets the User value directly, without checking, for this GroupMembership Persistent.
 void setUser(User cooked)
          Set the User.
 void setUserTroid(Integer raw)
          Sets the Table Row Object ID.
 
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


user

protected Integer user
User - The user who belongs to the group


group

protected Integer group
Group - The group to which the user belongs

Constructor Detail

GroupMembershipBase

public GroupMembershipBase()
Method Detail

getPoemDatabaseTables

public PoemDatabaseTables getPoemDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
TableDef.generatePersistentBaseJava(java.io.Writer)

getGroupMembershipTable

public GroupMembershipTable getGroupMembershipTable()
Retrieves the GroupMembershipTable table which this Persistent is from.

Returns:
the GroupMembershipTable
See Also:
TableDef.generatePersistentBaseJava(java.io.Writer)

getId_unsafe

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

Returns:
the Integer id
See Also:
FieldDef.generateBaseMethods(java.io.Writer)

setId_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
FieldDef.generateBaseMethods(java.io.Writer)

getId

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

Returns:
the value of the field Id for this GroupMembership 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 GroupMembership 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 GroupMembership 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 GroupMembership Persistent.

Returns:
the Integer id
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
FieldDef.generateFieldCreator(java.io.Writer)

getUser_unsafe

public Integer getUser_unsafe()
Retrieves the User value, without locking, for this GroupMembership Persistent.

Returns:
the Integer user
See Also:
FieldDef.generateBaseMethods(java.io.Writer)

setUser_unsafe

public void setUser_unsafe(Integer cooked)
Sets the User value directly, without checking, for this GroupMembership Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
FieldDef.generateBaseMethods(java.io.Writer)

getUserTroid

public Integer getUserTroid()
                     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

setUserTroid

public void setUserTroid(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

getUser

public User getUser()
             throws AccessPoemException,
                    NoSuchRowPoemException
Retrieves the User object referred to.

Returns:
the User as a User
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

setUser

public void setUser(User cooked)
             throws AccessPoemException
Set the User.

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

getUserField

public Field getUserField()
                   throws AccessPoemException
Retrieves the User value as a Field from this GroupMembership Persistent.

Returns:
the Integer user
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
FieldDef.generateFieldCreator(java.io.Writer)

getGroup_unsafe

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

Returns:
the Integer group
See Also:
FieldDef.generateBaseMethods(java.io.Writer)

setGroup_unsafe

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

Parameters:
cooked - the pre-validated value to set
See Also:
FieldDef.generateBaseMethods(java.io.Writer)

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 GroupMembership Persistent.

Returns:
the Integer group
Throws:
AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
FieldDef.generateFieldCreator(java.io.Writer)


Copyright © 2000-2010 PanEris. All Rights Reserved.