|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.intabulas.sandler.elements.impl.AbstractEntryElement
public class AbstractEntryElement
AbstractEntryElement
| Field Summary | |
|---|---|
protected Person |
_author
|
protected List |
_contributorList
|
protected String |
_id
|
protected List |
_linksList
|
protected Date |
_modified
|
protected Content |
_summary
|
protected Content |
_title
|
| Constructor Summary | |
|---|---|
AbstractEntryElement()
|
|
| Method Summary | |
|---|---|
void |
addContributor(int index,
Person contributor)
|
boolean |
addContributor(Person contributor)
|
void |
addLink(int index,
Link link)
|
boolean |
addLink(Link link)
|
Person |
getAuthor()
Returns the Entries Author |
Person |
getContributor(int index)
|
int |
getContributorCount()
|
String |
getId()
Returns the Entries ID |
Link |
getLink(int index)
|
int |
getLinkCount()
|
Date |
getModified()
Returns the date the entry was last modified |
Content |
getSummary()
Returns the Entries Summary |
Content |
getTitle()
Returns the Entries Title |
void |
loadDocument(org.xmlpull.v1.XmlPullParser parser)
Extract relevant content from the parser stream |
void |
removeContributor(int index)
|
boolean |
removeContributor(Person contributor)
|
void |
removeLink(int index)
|
boolean |
removeLink(Link link)
|
void |
setAuthor(Person author)
Set's the entries Author |
void |
setId(String id)
Set's the Entries ID |
void |
setModified(Date date)
Set's the date the entry was last modified |
void |
setSummary(Content summary)
Set's the Entries Summary |
void |
setSummary(String summary)
Set's the Entries Summary |
void |
setTitle(Content title)
Set's the Entries Title |
void |
setTitle(String title)
Set's the Entries Title |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Content _title
protected Content _summary
protected Date _modified
protected String _id
protected Person _author
protected List _contributorList
protected List _linksList
| Constructor Detail |
|---|
public AbstractEntryElement()
| Method Detail |
|---|
public Content getSummary()
getSummary in interface SandlerEntrypublic void setSummary(Content summary)
setSummary in interface SandlerEntrysummary - a Content representing the Summarypublic void setSummary(String summary)
setSummary in interface SandlerEntrysummary - a String representing the Summarypublic Content getTitle()
getTitle in interface SandlerEntrypublic void setTitle(Content title)
setTitle in interface SandlerEntrytitle - a String representing the Titlepublic void setTitle(String title)
setTitle in interface SandlerEntrytitle - a String representing the Titlepublic Date getModified()
getModified in interface SandlerEntrypublic void setModified(Date date)
setModified in interface SandlerEntrydate - a Date representing the last time the entry was modifiedpublic String getId()
getId in interface SandlerEntrypublic void setId(String id)
setId in interface SandlerEntryid - a String representing the Entry IDpublic Person getAuthor()
getAuthor in interface SandlerEntrypublic void setAuthor(Person author)
setAuthor in interface SandlerEntryauthor - a Person representing the Entry Authorpublic boolean removeContributor(Person contributor)
removeContributor in interface SandlerEntrycontributor - a Person representing a Contributor to the Entry
public boolean addContributor(Person contributor)
addContributor in interface SandlerEntrycontributor - a Person representing a Contributor to the Entrypublic int getContributorCount()
getContributorCount in interface SandlerEntrypublic void removeContributor(int index)
removeContributor in interface SandlerEntryindex - an int indicating which contributor in the list to removepublic Person getContributor(int index)
getContributor in interface SandlerEntryindex -
public void addContributor(int index,
Person contributor)
addContributor in interface SandlerEntryindex - contributor - public boolean addLink(Link link)
addLink in interface SandlerEntrylink - a Link representing a Link to the Entry
public void addLink(int index,
Link link)
addLink in interface SandlerEntryindex - an int indiciating where in the contributor list to insert this contributorlink - a Link representing a Link to the Entrypublic Link getLink(int index)
getLink in interface SandlerEntryindex -
public int getLinkCount()
getLinkCount in interface SandlerEntrypublic boolean removeLink(Link link)
removeLink in interface SandlerEntrylink - a Contributor representing a Link to the Entry
public void removeLink(int index)
removeLink in interface SandlerEntryindex - an int indicating which Link in the list to remove
public void loadDocument(org.xmlpull.v1.XmlPullParser parser)
throws org.xmlpull.v1.XmlPullParserException
loadDocument in interface ParseableEntityparser - the XML Pull Parser instabce
org.xmlpull.v1.XmlPullParserException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||