|
||||||||||
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.example.contacts.generated.ContactCategoryBase
public abstract class ContactCategoryBase
Melati POEM generated abstract base class for a Persistent
ContactCategory
Object.
TableDef
Field Summary | |
---|---|
protected Integer |
category
category - Category |
protected Integer |
contact
contact - Contact |
protected Integer |
id
id |
Fields inherited from class org.melati.poem.transaction.Transactioned |
---|
valid |
Constructor Summary | |
---|---|
ContactCategoryBase()
|
Method Summary | |
---|---|
Integer |
getCategory_unsafe()
Retrieves the Category value, without locking,
for this ContactCategory Persistent . |
Category |
getCategory()
Retrieves the Category object referred to. |
Field |
getCategoryField()
Retrieves the Category value as a Field
from this ContactCategory Persistent . |
Integer |
getCategoryTroid()
Retrieves the Table Row Object ID. |
Integer |
getContact_unsafe()
Retrieves the Contact value, without locking,
for this ContactCategory Persistent . |
Contact |
getContact()
Retrieves the Contact object referred to. |
ContactCategoryTable |
getContactCategoryTable()
Retrieves the ContactCategoryTable table
which this Persistent is from. |
Field |
getContactField()
Retrieves the Contact value as a Field
from this ContactCategory Persistent . |
ContactsDatabaseTables |
getContactsDatabaseTables()
Retrieves the Database object. |
Integer |
getContactTroid()
Retrieves the Table Row Object ID. |
Integer |
getId_unsafe()
Retrieves the Id value, without locking,
for this ContactCategory Persistent . |
Integer |
getId()
Retrieves the Id value, with locking, for this ContactCategory Persistent . |
Field |
getIdField()
Retrieves the Id value as a Field
from this ContactCategory Persistent . |
void |
setCategory_unsafe(Integer cooked)
Sets the Category value directly, without checking,
for this ContactCategory Persistent . |
void |
setCategory(Category cooked)
Set the Category. |
void |
setCategoryTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setContact_unsafe(Integer cooked)
Sets the Contact value directly, without checking,
for this ContactCategory Persistent . |
void |
setContact(Contact cooked)
Set the Contact. |
void |
setContactTroid(Integer raw)
Sets the Table Row Object ID. |
void |
setId_unsafe(Integer cooked)
Sets the Id value directly, without checking,
for this ContactCategory Persistent . |
void |
setId(int cooked)
Sets the Id value, with checking, for this
ContactCategory Persistent . |
void |
setId(Integer cooked)
Sets the Id value, with checking, for this
ContactCategory 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 Integer category
protected Integer contact
Constructor Detail |
---|
public ContactCategoryBase()
Method Detail |
---|
public ContactsDatabaseTables getContactsDatabaseTables()
TableDef
public ContactCategoryTable getContactCategoryTable()
ContactCategoryTable
table
which this Persistent
is from.
TableDef
public Integer getId_unsafe()
Id
value, without locking,
for this ContactCategory
Persistent
.
FieldDef
public void setId_unsafe(Integer cooked)
Id
value directly, without checking,
for this ContactCategory Persistent
.
cooked
- the pre-validated value to setFieldDef
public Integer getId() throws AccessPoemException
ContactCategory
Persistent
.
Id
for this
ContactCategory
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
ContactCategory
Persistent
.
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
ContactCategory
Persistent
.
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 ContactCategory
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef
public Integer getCategory_unsafe()
Category
value, without locking,
for this ContactCategory
Persistent
.
FieldDef
public void setCategory_unsafe(Integer cooked)
Category
value directly, without checking,
for this ContactCategory Persistent
.
cooked
- the pre-validated value to setFieldDef
public Integer getCategoryTroid() throws AccessPoemException
Integer
AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setCategoryTroid(Integer raw) throws AccessPoemException
raw
- a Table Row Object Id
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Category getCategory() throws AccessPoemException, NoSuchRowPoemException
Category
object referred to.
Category
as a Category
AccessPoemException
- if the current AccessToken
does not confer read access rights
NoSuchRowPoemException
- if the Persistent
has yet to be allocated a TROIDpublic void setCategory(Category cooked) throws AccessPoemException
cooked
- a validated Category
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Field getCategoryField() throws AccessPoemException
Category
value as a Field
from this ContactCategory
Persistent
.
AccessPoemException
- if the current AccessToken
does not confer write access rightsFieldDef
public Integer getContact_unsafe()
Contact
value, without locking,
for this ContactCategory
Persistent
.
FieldDef
public void setContact_unsafe(Integer cooked)
Contact
value directly, without checking,
for this ContactCategory Persistent
.
cooked
- the pre-validated value to setFieldDef
public Integer getContactTroid() throws AccessPoemException
Integer
AccessPoemException
- if the current AccessToken
does not confer read access rightspublic void setContactTroid(Integer raw) throws AccessPoemException
raw
- a Table Row Object Id
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Contact getContact() throws AccessPoemException, NoSuchRowPoemException
Contact
object referred to.
Contact
as a Contact
AccessPoemException
- if the current AccessToken
does not confer read access rights
NoSuchRowPoemException
- if the Persistent
has yet to be allocated a TROIDpublic void setContact(Contact cooked) throws AccessPoemException
cooked
- a validated Contact
AccessPoemException
- if the current AccessToken
does not confer write access rightspublic Field getContactField() throws AccessPoemException
Contact
value as a Field
from this ContactCategory
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 |