com.ibm.ram.internal.jaxb
Class Topic

java.lang.Object
  extended by com.ibm.ram.internal.jaxb.Topic

public class Topic
extends java.lang.Object

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

subject

protected java.lang.String subject

body

protected java.lang.String body

submitter

protected Link<User> submitter

posts

protected java.util.List<Link<Post>> posts

lastModified

protected javax.xml.datatype.XMLGregorianCalendar lastModified

dbid

protected java.lang.Integer dbid

identifier

protected java.lang.String identifier

etag

protected java.lang.String etag

href

protected java.lang.String href

base

protected java.lang.String base

lang

protected java.lang.String lang

space

protected java.lang.String space
Constructor Detail

Topic

public Topic()
Method Detail

getSubject

public java.lang.String getSubject()
Gets the value of the subject property.

Returns:
possible object is String

setSubject

public void setSubject(java.lang.String value)
Sets the value of the subject property.

Parameters:
value - allowed object is String

getBody

public java.lang.String getBody()
Gets the value of the body property.

Returns:
possible object is String

setBody

public void setBody(java.lang.String value)
Sets the value of the body property.

Parameters:
value - allowed object is String

getSubmitter

public Link<User> getSubmitter()
Gets the value of the submitter property.

Returns:
possible object is Link

setSubmitter

public void setSubmitter(Link<User> value)
Sets the value of the submitter property.

Parameters:
value - allowed object is Link

isSetSubmitter

public boolean isSetSubmitter()

getPosts

public java.util.List<Link<Post>> getPosts()
Gets the value of the posts property.

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


isSetPosts

public boolean isSetPosts()

unsetPosts

public void unsetPosts()

getLastModified

public javax.xml.datatype.XMLGregorianCalendar getLastModified()
Gets the value of the lastModified property.

Returns:
possible object is XMLGregorianCalendar

setLastModified

public void setLastModified(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the lastModified property.

Parameters:
value - allowed object is XMLGregorianCalendar

getDbid

public int getDbid()
Gets the value of the dbid property.

Returns:
possible object is Integer

setDbid

public void setDbid(java.lang.Integer value)
Sets the value of the dbid property.

Parameters:
value - allowed object is Integer

getIdentifier

public java.lang.String getIdentifier()
Gets the value of the identifier property.

Returns:
possible object is String

setIdentifier

public void setIdentifier(java.lang.String value)
Sets the value of the identifier property.

Parameters:
value - allowed object is String

getEtag

public java.lang.String getEtag()
Gets the value of the etag property.

Returns:
possible object is String

setEtag

public void setEtag(java.lang.String value)
Sets the value of the etag property.

Parameters:
value - allowed object is String

getHref

public java.lang.String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(java.lang.String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getBase

public java.lang.String getBase()
Gets the value of the base property.

Returns:
possible object is String

setBase

public void setBase(java.lang.String value)
Sets the value of the base property.

Parameters:
value - allowed object is String

getLang

public java.lang.String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(java.lang.String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String

getSpace

public java.lang.String getSpace()
Gets the value of the space property.

Returns:
possible object is String

setSpace

public void setSpace(java.lang.String value)
Sets the value of the space property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object