|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.data.collection.Item
public class Item
Represents a data item.
Constructor Summary | |
---|---|
Item()
Constructs a new item. |
|
Item(java.lang.String title,
java.lang.String contents,
java.lang.String link,
java.lang.String related,
java.util.Date date)
Constructs a new item. |
Method Summary | |
---|---|
java.lang.String |
getAlternate()
Returns the item link to an alternate web resource |
java.lang.String |
getContents()
Returns the item contents |
java.util.Date |
getDate()
Returns the item date |
java.lang.String |
getLink()
Returns the item link to a web resource |
java.lang.String |
getRelated()
Returns the item link to a related web resource |
java.lang.String |
getTitle()
Returns the item title. |
void |
setAlternate(java.lang.String alternate)
Sets the item link to an alternate web resource. |
void |
setContents(java.lang.String contents)
Sets the item contents |
void |
setDate(java.util.Date date)
Sets the item date |
void |
setLink(java.lang.String link)
Sets the item link to a web resource |
void |
setRelated(java.lang.String related)
Sets the item link to a related web resource. |
void |
setTitle(java.lang.String title)
Sets the item title. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Item()
public Item(java.lang.String title, java.lang.String contents, java.lang.String link, java.lang.String related, java.util.Date date)
title
- the item titlecontents
- the item contentslink
- the item link to a web resourcerelated
- the item link to a related web resourcedate
- the item dateMethod Detail |
---|
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the item titlepublic java.lang.String getContents()
public void setContents(java.lang.String contents)
contents
- the item contentspublic java.lang.String getLink()
public void setLink(java.lang.String link)
link
- the item link to a web resourcepublic java.lang.String getRelated()
public void setRelated(java.lang.String related)
related
- the item link to a related web resourcepublic java.lang.String getAlternate()
public void setAlternate(java.lang.String alternate)
alternate
- the item link to an alternate web resourcepublic java.util.Date getDate()
public void setDate(java.util.Date date)
date
- the item date
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |