|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.transaction.Transactioned
org.melati.poem.JdbcPersistent
org.melati.example.contacts.generated.ContactBase
public abstract class ContactBase
Melati POEM generated abstract base class for a Persistent
Contact Object.
TableDef| Field Summary | |
|---|---|
protected String |
address
address - Contact Address |
protected Integer |
id
id |
protected Date |
lastupdated
lastupdated - When was this last updated? |
protected Integer |
lastupdateuser
lastupdateuser - Who last updated this? |
protected String |
name
name - Contact Name |
protected Integer |
owner
owner - Contact who owns this contact |
protected Integer |
updates
updates - How many times has this record been updated? |
| Fields inherited from class org.melati.poem.transaction.Transactioned |
|---|
valid |
| Constructor Summary | |
|---|---|
ContactBase()
|
|
| Method Summary | |
|---|---|
String |
getAddress_unsafe()
Retrieves the Address value, without locking,
for this Contact Persistent. |
String |
getAddress()
Retrieves the Address value, with locking, for this Contact Persistent. |
Field |
getAddressField()
Retrieves the Address value as a Field
from this Contact Persistent. |
ContactsDatabaseTables |
getContactsDatabaseTables()
Retrieves the Database object. |
ContactTable |
getContactTable()
Retrieves the ContactTable table
which this Persistent is from. |
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this Contact Persistent. |
Integer |
getId()
Retrieves the Id value, with locking, for this Contact Persistent. |
Field |
getIdField()
Retrieves the Id value as a Field
from this Contact Persistent. |
Date |
getLastupdated_unsafe()
Retrieves the Lastupdated value, without locking,
for this Contact Persistent. |
Date |
getLastupdated()
Retrieves the Lastupdated value, with locking, for this Contact Persistent. |
Field |
getLastupdatedField()
Retrieves the Lastupdated value as a Field
from this Contact Persistent. |
Integer |
getLastupdateuser_unsafe()
Retrieves the Lastupdateuser value, without locking,
for this Contact Persistent. |
User |
getLastupdateuser()
Retrieves the Lastupdateuser object referred to. |
Field |
getLastupdateuserField()
Retrieves the Lastupdateuser value as a Field
from this Contact Persistent. |
Integer |
getLastupdateuserTroid()
Retrieves the Table Row Object ID. |
String |
getName_unsafe()
Retrieves the Name value, without locking,
for this Contact Persistent. |
String |
getName()
Retrieves the Name value, with locking, for this Contact Persistent. |
Field |
getNameField()
Retrieves the Name value as a Field
from this Contact Persistent. |
Integer |
getOwner_unsafe()
Retrieves the Owner value, without locking,
for this Contact Persistent. |
Contact |
getOwner()
Retrieves the Owner object referred to. |
Field |
getOwnerField()
Retrieves the Owner value as a Field
from this Contact Persistent. |
Integer |
getOwnerTroid()
Retrieves the Table Row Object ID. |
Integer |
getUpdates_unsafe()
Retrieves the Updates value, without locking,
for this Contact Persistent. |
Integer |
getUpdates()
Retrieves the Updates value, with locking, for this Contact Persistent. |
Field |
getUpdatesField()
Retrieves the Updates value as a Field
from this Contact Persistent. |
void |
setAddress_unsafe(String cooked)
Sets the Address value directly, without checking,
for this Contact Persistent. |
void |
setAddress(String cooked)
Sets the Address value, with checking, for this
Contact Persistent. |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this Contact Persistent. |
void |
setId(int cooked)
Sets the Id value, with checking, for this
Contact Persistent. |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
Contact Persistent. |
void |
setLastupdated_unsafe(Date cooked)
Sets the Lastupdated value directly, without checking,
for this Contact Persistent. |
void |
setLastupdated(Date cooked)
Sets the Lastupdated value, with checking, for this
Contact Persistent. |
void |
setLastupdateuser_unsafe(Integer cooked)
Sets the Lastupdateuser value directly, without checking,
for this Contact Persistent. |
void |
setLastupdateuser(User cooked)
Set the Lastupdateuser. |
void |
setLastupdateuserTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setName_unsafe(String cooked)
Sets the Name value directly, without checking,
for this Contact Persistent. |
void |
setName(String cooked)
Sets the Name value, with checking, for this
Contact Persistent. |
void |
setOwner_unsafe(Integer cooked)
Sets the Owner value directly, without checking,
for this Contact Persistent. |
void |
setOwner(Contact cooked)
Set the Owner. |
void |
setOwnerTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setUpdates_unsafe(Integer cooked)
Sets the Updates value directly, without checking,
for this Contact Persistent. |
void |
setUpdates(int cooked)
Sets the Updates value, with checking, for this
Contact Persistent. |
void |
setUpdates(Integer cooked)
Sets the Updates value, with checking, for this
Contact 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 Integer owner
protected String address
protected Integer updates
protected Date lastupdated
protected Integer lastupdateuser
| Constructor Detail |
|---|
public ContactBase()
| Method Detail |
|---|
public ContactsDatabaseTables getContactsDatabaseTables()
TableDefpublic ContactTable getContactTable()
ContactTable table
which this Persistent is from.
TableDefpublic Integer getId_unsafe()
Id value, without locking,
for this Contact Persistent.
FieldDefpublic void setId_unsafe(Integer cooked)
Id value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public Integer getId()
throws AccessPoemException
Contact Persistent.
Id for this
Contact Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setId(Integer cooked)
throws AccessPoemException,
ValidationPoemException
Id value, with checking, for this
Contact Persistent.
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public final void setId(int cooked)
throws AccessPoemException,
ValidationPoemException
Id value, with checking, for this
Contact Persistent.
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getIdField()
throws AccessPoemException
Id value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDefpublic String getName_unsafe()
Name value, without locking,
for this Contact Persistent.
FieldDefpublic void setName_unsafe(String cooked)
Name value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public String getName()
throws AccessPoemException
Contact Persistent.
Field description:
Contact Name
getName in interface TreeablegetName in class JdbcPersistentName for this
Contact Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setName(String cooked)
throws AccessPoemException,
ValidationPoemException
Name value, with checking, for this
Contact Persistent.
Field description:
Contact Name
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getNameField()
throws AccessPoemException
Name value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDefpublic Integer getOwner_unsafe()
Owner value, without locking,
for this Contact Persistent.
FieldDefpublic void setOwner_unsafe(Integer cooked)
Owner value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public Integer getOwnerTroid()
throws AccessPoemException
Integer
AccessPoemException - if the current AccessToken
does not confer read access rights
public void setOwnerTroid(Integer raw)
throws AccessPoemException
raw - a Table Row Object Id
AccessPoemException - if the current AccessToken
does not confer write access rights
public Contact getOwner()
throws AccessPoemException,
NoSuchRowPoemException
Owner object referred to.
Owner as a Contact
AccessPoemException - if the current AccessToken
does not confer read access rights
NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID
public void setOwner(Contact cooked)
throws AccessPoemException
cooked - a validated Contact
AccessPoemException - if the current AccessToken
does not confer write access rights
public Field getOwnerField()
throws AccessPoemException
Owner value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDefpublic String getAddress_unsafe()
Address value, without locking,
for this Contact Persistent.
FieldDefpublic void setAddress_unsafe(String cooked)
Address value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public String getAddress()
throws AccessPoemException
Contact Persistent.
Field description:
Contact Address
Address for this
Contact Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setAddress(String cooked)
throws AccessPoemException,
ValidationPoemException
Address value, with checking, for this
Contact Persistent.
Field description:
Contact Address
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getAddressField()
throws AccessPoemException
Address value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDefpublic Integer getUpdates_unsafe()
Updates value, without locking,
for this Contact Persistent.
FieldDefpublic void setUpdates_unsafe(Integer cooked)
Updates value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public Integer getUpdates()
throws AccessPoemException
Contact Persistent.
Field description:
How many times has this record been updated?
Updates for this
Contact Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setUpdates(Integer cooked)
throws AccessPoemException,
ValidationPoemException
Updates value, with checking, for this
Contact Persistent.
Field description:
How many times has this record been updated?
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public final void setUpdates(int cooked)
throws AccessPoemException,
ValidationPoemException
Updates value, with checking, for this
Contact Persistent.
Field description:
How many times has this record been updated?
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getUpdatesField()
throws AccessPoemException
Updates value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDefpublic Date getLastupdated_unsafe()
Lastupdated value, without locking,
for this Contact Persistent.
FieldDefpublic void setLastupdated_unsafe(Date cooked)
Lastupdated value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public Date getLastupdated()
throws AccessPoemException
Contact Persistent.
Field description:
When was this last updated?
Lastupdated for this
Contact Persistent
AccessPoemException - if the current AccessToken
does not confer write access rights
public void setLastupdated(Date cooked)
throws AccessPoemException,
ValidationPoemException
Lastupdated value, with checking, for this
Contact Persistent.
Field description:
When was this last updated?
cooked - a validated int
AccessPoemException - if the current AccessToken
does not confer write access rights
ValidationPoemException - if the value is not valid
public Field getLastupdatedField()
throws AccessPoemException
Lastupdated value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDefpublic Integer getLastupdateuser_unsafe()
Lastupdateuser value, without locking,
for this Contact Persistent.
FieldDefpublic void setLastupdateuser_unsafe(Integer cooked)
Lastupdateuser value directly, without checking,
for this Contact Persistent.
cooked - the pre-validated value to setFieldDef
public Integer getLastupdateuserTroid()
throws AccessPoemException
Integer
AccessPoemException - if the current AccessToken
does not confer read access rights
public void setLastupdateuserTroid(Integer raw)
throws AccessPoemException
raw - a Table Row Object Id
AccessPoemException - if the current AccessToken
does not confer write access rights
public User getLastupdateuser()
throws AccessPoemException,
NoSuchRowPoemException
Lastupdateuser object referred to.
Lastupdateuser as a User
AccessPoemException - if the current AccessToken
does not confer read access rights
NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID
public void setLastupdateuser(User cooked)
throws AccessPoemException
cooked - a validated User
AccessPoemException - if the current AccessToken
does not confer write access rights
public Field getLastupdateuserField()
throws AccessPoemException
Lastupdateuser value as a Field
from this Contact Persistent.
AccessPoemException - if the current AccessToken
does not confer write access rightsFieldDef
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||