org.paneris.melati.site.model.generated
Class DivBase

java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.paneris.melati.site.model.generated.DivBase
All Implemented Interfaces:
java.lang.Cloneable, org.melati.poem.Persistable, org.melati.poem.Persistent, org.melati.poem.Treeable
Direct Known Subclasses:
Div

public abstract class DivBase
extends org.melati.poem.JdbcPersistent

Melati POEM generated abstract base class for a Persistent Div Object.

See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

Field Summary
protected  java.lang.String content
          content - The HTML content
protected  java.lang.Integer displayorder
          Display order - A rank determining where the div appears in a page
protected  java.lang.Integer id
          id
protected  java.lang.Integer image
          Image - Image associated with this div
protected  java.lang.Integer page
          page - The Page to which this fragment belongs
protected  java.lang.Integer style
          style - The name of the CSS class for this DIV
protected  java.lang.String title
          title - The HTML title
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
DivBase()
           
 
Method Summary
 java.lang.String getContent_unsafe()
          Retrieves the Content value, without locking, for this Div Persistent.
 java.lang.String getContent()
          Retrieves the Content value, with locking, for this Div Persistent.
 org.melati.poem.Field getContentField()
          Retrieves the Content value as a Field from this Div Persistent.
 java.lang.Integer getDisplayorder_unsafe()
          Retrieves the Displayorder value, without locking, for this Div Persistent.
 java.lang.Integer getDisplayorder()
          Retrieves the Displayorder value, with locking, for this Div Persistent.
 org.melati.poem.Field getDisplayorderField()
          Retrieves the Displayorder value as a Field from this Div Persistent.
 DivTable getDivTable()
          Retrieves the DivTable table which this Persistent is from.
 java.lang.Integer getId_unsafe()
          Retrieves the Id value, without locking, for this Div Persistent.
 java.lang.Integer getId()
          Retrieves the Id value, with locking, for this Div Persistent.
 org.melati.poem.Field getIdField()
          Retrieves the Id value as a Field from this Div Persistent.
 java.lang.Integer getImage_unsafe()
          Retrieves the Image value, without locking, for this Div Persistent.
 UploadedImage getImage()
          Retrieves the Image object referred to.
 org.melati.poem.Field getImageField()
          Retrieves the Image value as a Field from this Div Persistent.
 java.lang.Integer getImageTroid()
          Retrieves the Table Row Object ID.
 java.lang.Integer getPage_unsafe()
          Retrieves the Page value, without locking, for this Div Persistent.
 Page getPage()
          Retrieves the Page object referred to.
 org.melati.poem.Field getPageField()
          Retrieves the Page value as a Field from this Div Persistent.
 java.lang.Integer getPageTroid()
          Retrieves the Table Row Object ID.
 SiteDatabaseTables getSiteDatabaseTables()
          Retrieves the Database object.
 java.lang.Integer getStyle_unsafe()
          Retrieves the Style value, without locking, for this Div Persistent.
 Style getStyle()
          Retrieves the Style object referred to.
 org.melati.poem.Field getStyleField()
          Retrieves the Style value as a Field from this Div Persistent.
 java.lang.Integer getStyleTroid()
          Retrieves the Table Row Object ID.
 java.lang.String getTitle_unsafe()
          Retrieves the Title value, without locking, for this Div Persistent.
 java.lang.String getTitle()
          Retrieves the Title value, with locking, for this Div Persistent.
 org.melati.poem.Field getTitleField()
          Retrieves the Title value as a Field from this Div Persistent.
 void setContent_unsafe(java.lang.String cooked)
          Sets the Content value directly, without checking, for this Div Persistent.
 void setContent(java.lang.String cooked)
          Sets the Content value, with checking, for this Div Persistent.
 void setDisplayorder_unsafe(java.lang.Integer cooked)
          Sets the Displayorder value directly, without checking, for this Div Persistent.
 void setDisplayorder(int cooked)
          Sets the Displayorder value, with checking, for this Div Persistent.
 void setDisplayorder(java.lang.Integer cooked)
          Sets the Displayorder value, with checking, for this Div Persistent.
 void setId_unsafe(java.lang.Integer cooked)
          Sets the Id value directly, without checking, for this Div Persistent.
 void setId(int cooked)
          Sets the Id value, with checking, for this Div Persistent.
 void setId(java.lang.Integer cooked)
          Sets the Id value, with checking, for this Div Persistent.
 void setImage_unsafe(java.lang.Integer cooked)
          Sets the Image value directly, without checking, for this Div Persistent.
 void setImage(UploadedImage cooked)
          Set the Image.
 void setImageTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setPage_unsafe(java.lang.Integer cooked)
          Sets the Page value directly, without checking, for this Div Persistent.
 void setPage(Page cooked)
          Set the Page.
 void setPageTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setStyle_unsafe(java.lang.Integer cooked)
          Sets the Style value directly, without checking, for this Div Persistent.
 void setStyle(Style cooked)
          Set the Style.
 void setStyleTroid(java.lang.Integer raw)
          Sets the Table Row Object ID.
 void setTitle_unsafe(java.lang.String cooked)
          Sets the Title value directly, without checking, for this Div Persistent.
 void setTitle(java.lang.String cooked)
          Sets the Title value, with checking, for this Div Persistent.
 
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
 

Field Detail

id

protected java.lang.Integer id
id


page

protected java.lang.Integer page
page - The Page to which this fragment belongs


displayorder

protected java.lang.Integer displayorder
Display order - A rank determining where the div appears in a page


style

protected java.lang.Integer style
style - The name of the CSS class for this DIV


title

protected java.lang.String title
title - The HTML title


content

protected java.lang.String content
content - The HTML content


image

protected java.lang.Integer image
Image - Image associated with this div

Constructor Detail

DivBase

public DivBase()
Method Detail

getSiteDatabaseTables

public SiteDatabaseTables getSiteDatabaseTables()
Retrieves the Database object.

Returns:
the database
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getDivTable

public DivTable getDivTable()
Retrieves the DivTable table which this Persistent is from.

Returns:
the DivTable
See Also:
org.melati.poem.prepro.TableDef#generatePersistentBaseJava

getId_unsafe

public java.lang.Integer getId_unsafe()
Retrieves the Id value, without locking, for this Div Persistent.

Returns:
the Integer id
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setId_unsafe

public void setId_unsafe(java.lang.Integer cooked)
Sets the Id value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getId

public java.lang.Integer getId()
                        throws org.melati.poem.AccessPoemException
Retrieves the Id value, with locking, for this Div Persistent.

Returns:
the value of the field Id for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setId

public void setId(java.lang.Integer cooked)
           throws org.melati.poem.AccessPoemException,
                  org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Div Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setId

public final void setId(int cooked)
                 throws org.melati.poem.AccessPoemException,
                        org.melati.poem.ValidationPoemException
Sets the Id value, with checking, for this Div Persistent.

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getIdField

public org.melati.poem.Field getIdField()
                                 throws org.melati.poem.AccessPoemException
Retrieves the Id value as a Field from this Div Persistent.

Returns:
the Integer id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getPage_unsafe

public java.lang.Integer getPage_unsafe()
Retrieves the Page value, without locking, for this Div Persistent.

Returns:
the Integer page
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setPage_unsafe

public void setPage_unsafe(java.lang.Integer cooked)
Sets the Page value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getPageTroid

public java.lang.Integer getPageTroid()
                               throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setPageTroid

public void setPageTroid(java.lang.Integer raw)
                  throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPage

public Page getPage()
             throws org.melati.poem.AccessPoemException,
                    org.melati.poem.NoSuchRowPoemException
Retrieves the Page object referred to.

Returns:
the Page as a Page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setPage

public void setPage(Page cooked)
             throws org.melati.poem.AccessPoemException
Set the Page.

Parameters:
cooked - a validated Page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getPageField

public org.melati.poem.Field getPageField()
                                   throws org.melati.poem.AccessPoemException
Retrieves the Page value as a Field from this Div Persistent.

Returns:
the Integer page
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getDisplayorder_unsafe

public java.lang.Integer getDisplayorder_unsafe()
Retrieves the Displayorder value, without locking, for this Div Persistent.

Returns:
the Integer displayorder
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setDisplayorder_unsafe

public void setDisplayorder_unsafe(java.lang.Integer cooked)
Sets the Displayorder value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getDisplayorder

public java.lang.Integer getDisplayorder()
                                  throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value, with locking, for this Div Persistent. Field description: A rank determining where the div appears in a page

Returns:
the value of the field Displayorder for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setDisplayorder

public void setDisplayorder(java.lang.Integer cooked)
                     throws org.melati.poem.AccessPoemException,
                            org.melati.poem.ValidationPoemException
Sets the Displayorder value, with checking, for this Div Persistent. Field description: A rank determining where the div appears in a page

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

setDisplayorder

public final void setDisplayorder(int cooked)
                           throws org.melati.poem.AccessPoemException,
                                  org.melati.poem.ValidationPoemException
Sets the Displayorder value, with checking, for this Div Persistent. Field description: A rank determining where the div appears in a page

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getDisplayorderField

public org.melati.poem.Field getDisplayorderField()
                                           throws org.melati.poem.AccessPoemException
Retrieves the Displayorder value as a Field from this Div Persistent.

Returns:
the Integer displayorder
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getStyle_unsafe

public java.lang.Integer getStyle_unsafe()
Retrieves the Style value, without locking, for this Div Persistent.

Returns:
the Integer style
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setStyle_unsafe

public void setStyle_unsafe(java.lang.Integer cooked)
Sets the Style value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getStyleTroid

public java.lang.Integer getStyleTroid()
                                throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setStyleTroid

public void setStyleTroid(java.lang.Integer raw)
                   throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getStyle

public Style getStyle()
               throws org.melati.poem.AccessPoemException,
                      org.melati.poem.NoSuchRowPoemException
Retrieves the Style object referred to.

Returns:
the Style as a Style
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setStyle

public void setStyle(Style cooked)
              throws org.melati.poem.AccessPoemException
Set the Style.

Parameters:
cooked - a validated Style
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getStyleField

public org.melati.poem.Field getStyleField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Style value as a Field from this Div Persistent.

Returns:
the Integer style
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getTitle_unsafe

public java.lang.String getTitle_unsafe()
Retrieves the Title value, without locking, for this Div Persistent.

Returns:
the String title
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setTitle_unsafe

public void setTitle_unsafe(java.lang.String cooked)
Sets the Title value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getTitle

public java.lang.String getTitle()
                          throws org.melati.poem.AccessPoemException
Retrieves the Title value, with locking, for this Div Persistent. Field description: The HTML title

Returns:
the value of the field Title for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setTitle

public void setTitle(java.lang.String cooked)
              throws org.melati.poem.AccessPoemException,
                     org.melati.poem.ValidationPoemException
Sets the Title value, with checking, for this Div Persistent. Field description: The HTML title

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getTitleField

public org.melati.poem.Field getTitleField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Title value as a Field from this Div Persistent.

Returns:
the String title
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getContent_unsafe

public java.lang.String getContent_unsafe()
Retrieves the Content value, without locking, for this Div Persistent.

Returns:
the String content
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setContent_unsafe

public void setContent_unsafe(java.lang.String cooked)
Sets the Content value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getContent

public java.lang.String getContent()
                            throws org.melati.poem.AccessPoemException
Retrieves the Content value, with locking, for this Div Persistent. Field description: The HTML content

Returns:
the value of the field Content for this Div Persistent
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

setContent

public void setContent(java.lang.String cooked)
                throws org.melati.poem.AccessPoemException,
                       org.melati.poem.ValidationPoemException
Sets the Content value, with checking, for this Div Persistent. Field description: The HTML content

Parameters:
cooked - a validated int
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
org.melati.poem.ValidationPoemException - if the value is not valid

getContentField

public org.melati.poem.Field getContentField()
                                      throws org.melati.poem.AccessPoemException
Retrieves the Content value as a Field from this Div Persistent.

Returns:
the String content
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator

getImage_unsafe

public java.lang.Integer getImage_unsafe()
Retrieves the Image value, without locking, for this Div Persistent.

Returns:
the Integer image
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

setImage_unsafe

public void setImage_unsafe(java.lang.Integer cooked)
Sets the Image value directly, without checking, for this Div Persistent.

Parameters:
cooked - the pre-validated value to set
See Also:
org.melati.poem.prepro.FieldDef#generateBaseMethods

getImageTroid

public java.lang.Integer getImageTroid()
                                throws org.melati.poem.AccessPoemException
Retrieves the Table Row Object ID.

Returns:
the TROID as an Integer
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights

setImageTroid

public void setImageTroid(java.lang.Integer raw)
                   throws org.melati.poem.AccessPoemException
Sets the Table Row Object ID.

Parameters:
raw - a Table Row Object Id
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getImage

public UploadedImage getImage()
                       throws org.melati.poem.AccessPoemException,
                              org.melati.poem.NoSuchRowPoemException
Retrieves the Image object referred to.

Returns:
the Image as a UploadedImage
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer read access rights
org.melati.poem.NoSuchRowPoemException - if the Persistent has yet to be allocated a TROID

setImage

public void setImage(UploadedImage cooked)
              throws org.melati.poem.AccessPoemException
Set the Image.

Parameters:
cooked - a validated UploadedImage
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights

getImageField

public org.melati.poem.Field getImageField()
                                    throws org.melati.poem.AccessPoemException
Retrieves the Image value as a Field from this Div Persistent.

Returns:
the Integer image
Throws:
org.melati.poem.AccessPoemException - if the current AccessToken does not confer write access rights
See Also:
org.melati.poem.prepro.FieldDef#generateFieldCreator


Copyright © 1997-2008 PanEris. All Rights Reserved.