|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.melati.poem.generated.GroupMembershipBase
public abstract class GroupMembershipBase
Melati POEM generated abstract base class for a Persistent
GroupMembership
Object.
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.transaction.Transactioned |
---|
markValid, reset, setTransactionPool, transactionPool, unSee |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected Integer id
protected Integer user
protected Integer group
Constructor Detail |
---|
public GroupMembershipBase()
Method Detail |
---|
public PoemDatabaseTables getPoemDatabaseTables()
TableDef.generatePersistentBaseJava(java.io.Writer)
public GroupMembershipTable getGroupMembershipTable()
GroupMembershipTable
table
which this Persistent
is from.
TableDef.generatePersistentBaseJava(java.io.Writer)
public Integer getId_unsafe()
Id
value, without locking,
for this GroupMembership
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setId_unsafe(Integer cooked)
Id
value directly, without checking,
for this GroupMembership Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getId() throws AccessPoemException
GroupMembership
Persistent
.
Field description:
The Table Row Object ID
Id
for this
GroupMembership
Persistent
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setId(Integer cooked) throws AccessPoemException, ValidationPoemException
Id
value, with checking, for this
GroupMembership
Persistent
.
Field description:
The Table Row Object ID
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic final void setId(int cooked) throws AccessPoemException, ValidationPoemException
Id
value, with checking, for this
GroupMembership
Persistent
.
Field description:
The Table Row Object ID
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic Field getIdField() throws AccessPoemException
Id
value as a Field
from this GroupMembership
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
public Integer getUser_unsafe()
User
value, without locking,
for this GroupMembership
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setUser_unsafe(Integer cooked)
User
value directly, without checking,
for this GroupMembership Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getUserTroid() throws AccessPoemException
Integer
AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setUserTroid(Integer raw) throws AccessPoemException
raw
- a Table Row Object Id
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic User getUser() throws AccessPoemException, NoSuchRowPoemException
User
object referred to.
User
as a User
AccessPoemException
- if the current AccessToken
does not confer read access rights
NoSuchRowPoemException
- if the Persistent
has yet to be allocated a TROIDpublic void setUser(User cooked) throws AccessPoemException
cooked
- a validated User
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Field getUserField() throws AccessPoemException
User
value as a Field
from this GroupMembership
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
public Integer getGroup_unsafe()
Group
value, without locking,
for this GroupMembership
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setGroup_unsafe(Integer cooked)
Group
value directly, without checking,
for this GroupMembership Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getGroupTroid() throws AccessPoemException
Integer
AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setGroupTroid(Integer raw) throws AccessPoemException
raw
- a Table Row Object Id
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Group getGroup() throws AccessPoemException, NoSuchRowPoemException
Group
object referred to.
Group
as a Group
AccessPoemException
- if the current AccessToken
does not confer read access rights
NoSuchRowPoemException
- if the Persistent
has yet to be allocated a TROIDpublic void setGroup(Group cooked) throws AccessPoemException
cooked
- a validated Group
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Field getGroupField() throws AccessPoemException
Group
value as a Field
from this GroupMembership
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |