|
||||||||||
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.UserBase
public abstract class UserBase
Melati POEM generated abstract base class for a Persistent
User
Object.
TableDef.generatePersistentBaseJava(java.io.Writer)
Field Summary | |
---|---|
protected Integer |
id
id - The Table Row Object ID |
protected String |
login
login - The user's login name |
protected String |
name
Full name - The user's real name |
protected String |
password
password - The user's password |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
UserBase()
|
Method Summary | |
---|---|
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this User Persistent . |
Integer |
getId()
Retrieves the Id value, with locking, for this User Persistent . |
Field |
getIdField()
Retrieves the Id value as a Field
from this User Persistent . |
String |
getLogin_unsafe()
Retrieves the Login value, without locking,
for this User Persistent . |
String |
getLogin()
Retrieves the Login value, with locking, for this User Persistent . |
Field |
getLoginField()
Retrieves the Login value as a Field
from this User Persistent . |
String |
getName_unsafe()
Retrieves the Name value, without locking,
for this User Persistent . |
String |
getName()
Retrieves the Name value, with locking, for this User Persistent . |
Field |
getNameField()
Retrieves the Name value as a Field
from this User Persistent . |
String |
getPassword_unsafe()
Retrieves the Password value, without locking,
for this User Persistent . |
String |
getPassword()
Retrieves the Password value, with locking, for this User Persistent . |
Field |
getPasswordField()
Retrieves the Password value as a Field
from this User Persistent . |
PoemDatabaseTables |
getPoemDatabaseTables()
Retrieves the Database object. |
UserTable |
getUserTable()
Retrieves the UserTable table
which this Persistent is from. |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this User Persistent . |
void |
setId(int cooked)
Sets the Id value, with checking, for this
User Persistent . |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
User Persistent . |
void |
setLogin_unsafe(String cooked)
Sets the Login value directly, without checking,
for this User Persistent . |
void |
setLogin(String cooked)
Sets the Login value, with checking, for this
User Persistent . |
void |
setName_unsafe(String cooked)
Sets the Name value directly, without checking,
for this User Persistent . |
void |
setName(String cooked)
Sets the Name value, with checking, for this
User Persistent . |
void |
setPassword_unsafe(String cooked)
Sets the Password value directly, without checking,
for this User Persistent . |
void |
setPassword(String cooked)
Sets the Password value, with checking, for this
User Persistent . |
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 String name
protected String login
protected String password
Constructor Detail |
---|
public UserBase()
Method Detail |
---|
public PoemDatabaseTables getPoemDatabaseTables()
TableDef.generatePersistentBaseJava(java.io.Writer)
public UserTable getUserTable()
UserTable
table
which this Persistent
is from.
TableDef.generatePersistentBaseJava(java.io.Writer)
public Integer getId_unsafe()
Id
value, without locking,
for this User
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setId_unsafe(Integer cooked)
Id
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public Integer getId() throws AccessPoemException
User
Persistent
.
Field description:
The Table Row Object ID
Id
for this
User
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
User
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
User
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 User
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
public String getName_unsafe()
Name
value, without locking,
for this User
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setName_unsafe(String cooked)
Name
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getName() throws AccessPoemException
User
Persistent
.
Field description:
The user's real name
getName
in interface Treeable
getName
in class JdbcPersistent
Name
for this
User
Persistent
AccessPoemException
- if the current AccessToken
does not confer write access rightsTreeable.getName()
public void setName(String cooked) throws AccessPoemException, ValidationPoemException
Name
value, with checking, for this
User
Persistent
.
Field description:
The user's real name
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic Field getNameField() throws AccessPoemException
Name
value as a Field
from this User
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
public String getLogin_unsafe()
Login
value, without locking,
for this User
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setLogin_unsafe(String cooked)
Login
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getLogin() throws AccessPoemException
User
Persistent
.
Field description:
The user's login name
Login
for this
User
Persistent
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setLogin(String cooked) throws AccessPoemException, ValidationPoemException
Login
value, with checking, for this
User
Persistent
.
Field description:
The user's login name
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic Field getLoginField() throws AccessPoemException
Login
value as a Field
from this User
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef.generateFieldCreator(java.io.Writer)
public String getPassword_unsafe()
Password
value, without locking,
for this User
Persistent
.
FieldDef.generateBaseMethods(java.io.Writer)
public void setPassword_unsafe(String cooked)
Password
value directly, without checking,
for this User Persistent
.
cooked
- the pre-validated value to setFieldDef.generateBaseMethods(java.io.Writer)
public String getPassword() throws AccessPoemException
User
Persistent
.
Field description:
The user's password
Password
for this
User
Persistent
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic void setPassword(String cooked) throws AccessPoemException, ValidationPoemException
Password
value, with checking, for this
User
Persistent
.
Field description:
The user's password
cooked
- a validated int
AccessPoemException
- if the current AccessToken
does not confer write access rights
ValidationPoemException
- if the value is not validpublic Field getPasswordField() throws AccessPoemException
Password
value as a Field
from this User
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 |