|
||||||||||
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 SandlerEntry
public void setSummary(Content summary)
setSummary
in interface SandlerEntry
summary
- a Content representing the Summarypublic void setSummary(String summary)
setSummary
in interface SandlerEntry
summary
- a String representing the Summarypublic Content getTitle()
getTitle
in interface SandlerEntry
public void setTitle(Content title)
setTitle
in interface SandlerEntry
title
- a String representing the Titlepublic void setTitle(String title)
setTitle
in interface SandlerEntry
title
- a String representing the Titlepublic Date getModified()
getModified
in interface SandlerEntry
public void setModified(Date date)
setModified
in interface SandlerEntry
date
- a Date representing the last time the entry was modifiedpublic String getId()
getId
in interface SandlerEntry
public void setId(String id)
setId
in interface SandlerEntry
id
- a String representing the Entry IDpublic Person getAuthor()
getAuthor
in interface SandlerEntry
public void setAuthor(Person author)
setAuthor
in interface SandlerEntry
author
- a Person representing the Entry Authorpublic boolean removeContributor(Person contributor)
removeContributor
in interface SandlerEntry
contributor
- a Person representing a Contributor to the Entry
public boolean addContributor(Person contributor)
addContributor
in interface SandlerEntry
contributor
- a Person representing a Contributor to the Entrypublic int getContributorCount()
getContributorCount
in interface SandlerEntry
public void removeContributor(int index)
removeContributor
in interface SandlerEntry
index
- an int indicating which contributor in the list to removepublic Person getContributor(int index)
getContributor
in interface SandlerEntry
index
-
public void addContributor(int index, Person contributor)
addContributor
in interface SandlerEntry
index
- contributor
- public boolean addLink(Link link)
addLink
in interface SandlerEntry
link
- a Link representing a Link to the Entrypublic void addLink(int index, Link link)
addLink
in interface SandlerEntry
index
- 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 SandlerEntry
index
-
public int getLinkCount()
getLinkCount
in interface SandlerEntry
public boolean removeLink(Link link)
removeLink
in interface SandlerEntry
link
- a Contributor representing a Link to the Entry
public void removeLink(int index)
removeLink
in interface SandlerEntry
index
- an int indicating which Link in the list to removepublic void loadDocument(org.xmlpull.v1.XmlPullParser parser) throws org.xmlpull.v1.XmlPullParserException
loadDocument
in interface ParseableEntity
parser
- 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 |