|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectcom.nurelm.nucontent.model.Content
A Content object represents one piece of text content within
Page or RepeatItem objects.
Corresponds to the tag
| Constructor Summary | |
|---|---|
protected |
Content()
Does nothing, used nowhere, but eliminates JDO complie-time warning about not having a zero-args constructor. |
|
Content(java.lang.String contentId,
java.lang.String text)
Creates a new Content object. |
|
Content(java.lang.String contentId,
java.lang.String text,
java.lang.String type)
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
Overrides Object's compareTo method, and
works in the same way. |
java.lang.String |
getContentId()
Returns this object's contentId. |
java.lang.String |
getText()
Returns this object's text. |
java.lang.String |
getType()
Indicates what type of content object this is. |
void |
setContentId(java.lang.String contentId)
Sets this object's contentId field. |
void |
setText(java.lang.String text)
Sets this object's text field. |
void |
setType(java.lang.String type)
Sets this object's text field. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Content()
public Content(java.lang.String contentId,
java.lang.String text)
Content object.
contentId - A text identifier for this piece of content. Must be
unique within the current Page or RepeatItem.text - This content's text.
public Content(java.lang.String contentId,
java.lang.String text,
java.lang.String type)
| Method Detail |
public int compareTo(java.lang.Object o)
Object's compareTo method, and
works in the same way.
compareTo in interface java.lang.Comparableo - Another Content object.
public java.lang.String getContentId()
contentId.
contentId identifier.public void setContentId(java.lang.String contentId)
contentId field.
contentId - This object's contentId identifier.public java.lang.String getText()
text.
text field.public void setText(java.lang.String text)
text field.
text - This object's text field.public java.lang.String getType()
type field.public void setType(java.lang.String type)
text field.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||