|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.internal.jaxb.Topic
public class Topic
Java class for Topic complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Topic">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="body" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="submitter" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" minOccurs="0"/>
<element name="post" type="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}Link" maxOccurs="unbounded" minOccurs="0"/>
<element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
</sequence>
<attGroup ref="{http://jazz.net/xmlns/ecalm/ram/internal/v7.2}resourceAttrs"/>
<attribute name="dbid" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
<attribute name="identifier" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.lang.String |
base
|
protected java.lang.String |
body
|
protected java.lang.Integer |
dbid
|
protected java.lang.String |
etag
|
protected java.lang.String |
href
|
protected java.lang.String |
identifier
|
protected java.lang.String |
lang
|
protected javax.xml.datatype.XMLGregorianCalendar |
lastModified
|
protected java.util.List<Link<Post>> |
posts
|
protected java.lang.String |
space
|
protected java.lang.String |
subject
|
protected Link<User> |
submitter
|
| Constructor Summary | |
|---|---|
Topic()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getBase()
Gets the value of the base property. |
java.lang.String |
getBody()
Gets the value of the body property. |
int |
getDbid()
Gets the value of the dbid property. |
java.lang.String |
getEtag()
Gets the value of the etag property. |
java.lang.String |
getHref()
Gets the value of the href property. |
java.lang.String |
getIdentifier()
Gets the value of the identifier property. |
java.lang.String |
getLang()
Gets the value of the lang property. |
javax.xml.datatype.XMLGregorianCalendar |
getLastModified()
Gets the value of the lastModified property. |
java.util.List<Link<Post>> |
getPosts()
Gets the value of the posts property. |
java.lang.String |
getSpace()
Gets the value of the space property. |
java.lang.String |
getSubject()
Gets the value of the subject property. |
Link<User> |
getSubmitter()
Gets the value of the submitter property. |
boolean |
isSetPosts()
|
boolean |
isSetSubmitter()
|
void |
setBase(java.lang.String value)
Sets the value of the base property. |
void |
setBody(java.lang.String value)
Sets the value of the body property. |
void |
setDbid(java.lang.Integer value)
Sets the value of the dbid property. |
void |
setEtag(java.lang.String value)
Sets the value of the etag property. |
void |
setHref(java.lang.String value)
Sets the value of the href property. |
void |
setIdentifier(java.lang.String value)
Sets the value of the identifier property. |
void |
setLang(java.lang.String value)
Sets the value of the lang property. |
void |
setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastModified property. |
void |
setSpace(java.lang.String value)
Sets the value of the space property. |
void |
setSubject(java.lang.String value)
Sets the value of the subject property. |
void |
setSubmitter(Link<User> value)
Sets the value of the submitter property. |
java.lang.String |
toString()
|
void |
unsetPosts()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String subject
protected java.lang.String body
protected Link<User> submitter
protected java.util.List<Link<Post>> posts
protected javax.xml.datatype.XMLGregorianCalendar lastModified
protected java.lang.Integer dbid
protected java.lang.String identifier
protected java.lang.String etag
protected java.lang.String href
protected java.lang.String base
protected java.lang.String lang
protected java.lang.String space
| Constructor Detail |
|---|
public Topic()
| Method Detail |
|---|
public java.lang.String getSubject()
Stringpublic void setSubject(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBody()
Stringpublic void setBody(java.lang.String value)
value - allowed object is
Stringpublic Link<User> getSubmitter()
Linkpublic void setSubmitter(Link<User> value)
value - allowed object is
Linkpublic boolean isSetSubmitter()
public java.util.List<Link<Post>> getPosts()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the posts property.
For example, to add a new item, do as follows:
getPosts().add(newItem);
Objects of the following type(s) are allowed in the list
Link
public boolean isSetPosts()
public void unsetPosts()
public javax.xml.datatype.XMLGregorianCalendar getLastModified()
XMLGregorianCalendarpublic void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic int getDbid()
Integerpublic void setDbid(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.String getIdentifier()
Stringpublic void setIdentifier(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getEtag()
Stringpublic void setEtag(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getHref()
Stringpublic void setHref(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBase()
Stringpublic void setBase(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLang()
Stringpublic void setLang(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSpace()
Stringpublic void setSpace(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||