org.melati.poem
Class GroupMembership

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

public class GroupMembership
extends GroupMembershipBase

A record of a User's belonging to a Group. Melati POEM generated, programmer modifiable stub for a Persistent GroupMembership object.

Description: A record that a given user is a member of a given group.

Field summary for SQL table GroupMembership
NameTypeDescription
id Integer The Table Row Object ID
user User The user who belongs to the group
group Group The group to which the user belongs

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

Field Summary
 
Fields inherited from class org.melati.poem.generated.GroupMembershipBase
group, id, user
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
GroupMembership()
          Constructor for a Persistent GroupMembership object.
GroupMembership(Integer user, Integer group)
          Constructor for a Persistent GroupMembership object.
GroupMembership(User user, Group group)
          Constructor for a Persistent GroupMembership object.
 
Method Summary
 
Methods inherited from class org.melati.poem.generated.GroupMembershipBase
getGroup_unsafe, getGroup, getGroupField, getGroupMembershipTable, getGroupTroid, getId_unsafe, getId, getIdField, getPoemDatabaseTables, getUser_unsafe, getUser, getUserField, getUserTroid, setGroup_unsafe, setGroup, setGroupTroid, setId_unsafe, setId, setId, setUser_unsafe, setUser, setUserTroid
 
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
 

Constructor Detail

GroupMembership

public GroupMembership()
Constructor for a Persistent GroupMembership object.

Description: A record that a given user is a member of a given group.

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

GroupMembership

public GroupMembership(User user,
                       Group group)
Constructor for a Persistent GroupMembership object.

Description: A record that a given user is a member of a given group.

Parameters:
user - a User
group - a Group

GroupMembership

public GroupMembership(Integer user,
                       Integer group)
Constructor for a Persistent GroupMembership object.

Description: A record that a given user is a member of a given group.

Parameters:
user - a raw troid value representing a User
group - a raw troid value representing a Group


Copyright © 2000-2010 PanEris. All Rights Reserved.