|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.davesag.generica.core.AbstractDateStamped
org.davesag.generica.core.AbstractContent
org.davesag.generica.core.AbstractExtensibleContent
org.davesag.generica.core.AbstractText
This abstract AbstractText bean is the root of all textual
persistable, extensible authorable items.
| Field Summary | |
protected User |
theAuthor
the AbstractText's author |
protected String |
theText
the actual text of the AbstractText |
protected String |
theTitle
the title of this AbstractText |
| Fields inherited from class org.davesag.generica.core.AbstractExtensibleContent |
theMetaData |
| Fields inherited from class org.davesag.generica.core.AbstractContent |
theCountryCode, theLanguageCode |
| Fields inherited from class org.davesag.generica.core.AbstractDateStamped |
theCreated, theId, theLastModified |
| Constructor Summary | |
AbstractText()
null constructor required by hibernate. |
|
AbstractText(String title,
User author,
String text,
Locale loc)
constructor takes a title, author, text and iso language code. |
|
AbstractText(String title,
User author,
String text,
String lang)
constructor takes a title, author, text and iso language code. |
|
| Method Summary | |
boolean |
equals(Object o)
Tests if the supplied object is equal to this AbstractText, ie do they have the same Id? |
User |
getAuthor()
Get the author of this text. |
String |
getText()
Get the actual text of this text. |
String |
getTitle()
Get the title of this text. |
void |
setAuthor(User author)
Set the AbstractText's author. |
void |
setText(String text)
Set the text of this AbstractText. |
void |
setTitle(String title)
Set the AbstractText's title. |
| Methods inherited from class org.davesag.generica.core.AbstractExtensibleContent |
addMetaData, getMetaData, getMetaData, removeMetaData, setMetaData |
| Methods inherited from class org.davesag.generica.core.AbstractContent |
getCountryCode, getLanguageCode, getLocale, hashcode, setCountryCode, setLanguageCode, setLocale, toString |
| Methods inherited from class org.davesag.generica.core.AbstractDateStamped |
getCreated, getId, getLastModified, setCreated, setId, setLastModified, setTemplateId |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.davesag.generica.core.DateStamped |
getCreated, getLastModified, setCreated, setLastModified |
| Field Detail |
protected User theAuthor
AbstractText's author
protected String theTitle
AbstractText
protected String theText
AbstractText
| Constructor Detail |
public AbstractText()
public AbstractText(String title,
User author,
String text,
String lang)
title - The name of the AbstractText.author - The User who wrote the AbstractText.text - The actual text of the AbstractText.lang - The ISO Language Codeof the AbstractText.
public AbstractText(String title,
User author,
String text,
Locale loc)
title - The name of the AbstractText.author - The User who wrote the AbstractText.text - The actual text of the AbstractText.loc - The Locale used to determone the ISO Language Code of the
AbstractText.| Method Detail |
public User getAuthor()
getAuthor in interface Authorablepublic void setAuthor(User author)
setAuthor in interface Authorableauthor - The User who wrote this this AbstractText.public String getTitle()
public void setTitle(String title)
title - The title of this AbstractText.public String getText()
public void setText(String text)
text - The text of this AbstractText.public boolean equals(Object o)
equals in class AbstractExtensibleContento - The object to test against this AbstractText. Must also be a
AbstractText to make sense.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||