com.hack23.cia.model.external.worldbank.topic.impl
Class TopicsElement

Package class diagram package TopicsElement
java.lang.Object
  extended by com.hack23.cia.model.external.worldbank.topic.impl.TopicsElement
All Implemented Interfaces:
ModelObject, Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

@Entity(name="TopicsElement")
public class TopicsElement
extends Object
implements Serializable, ModelObject, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://topic.worldbank.external.model.cia.hack23.com/impl}topic" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="pages" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="per_page" type="{http://www.w3.org/2001/XMLSchema}integer" />
       <attribute name="total" type="{http://www.w3.org/2001/XMLSchema}integer" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Long hjid
           
protected  BigInteger page
           
protected  BigInteger pages
           
protected  BigInteger perPage
           
protected  List<TopicElement> topic
           
protected  BigInteger total
           
 
Constructor Summary
TopicsElement()
           
 
Method Summary
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 Long getHjid()
          Gets the value of the hjid property.
 BigInteger getPage()
          Gets the value of the page property.
 BigInteger getPages()
          Gets the value of the pages property.
 BigInteger getPerPage()
          Gets the value of the perPage property.
 List<TopicElement> getTopic()
          Gets the value of the topic property.
 BigInteger getTotal()
          Gets the value of the total property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setHjid(Long value)
          Sets the value of the hjid property.
 void setPage(BigInteger value)
          Sets the value of the page property.
 void setPages(BigInteger value)
          Sets the value of the pages property.
 void setPerPage(BigInteger value)
          Sets the value of the perPage property.
 void setTopic(List<TopicElement> topic)
           
 void setTotal(BigInteger value)
          Sets the value of the total property.
 TopicsElement withPage(BigInteger value)
           
 TopicsElement withPages(BigInteger value)
           
 TopicsElement withPerPage(BigInteger value)
           
 TopicsElement withTopic(Collection<TopicElement> values)
           
 TopicsElement withTopic(List<TopicElement> topic)
           
 TopicsElement withTopic(TopicElement... values)
           
 TopicsElement withTotal(BigInteger value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topic

protected List<TopicElement> topic

page

protected BigInteger page

pages

protected BigInteger pages

perPage

protected BigInteger perPage

total

protected BigInteger total

hjid

protected Long hjid
Constructor Detail

TopicsElement

public TopicsElement()
Method Detail

getTopic

public List<TopicElement> getTopic()
Gets the value of the topic 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 topic property.

For example, to add a new item, do as follows:

    getTopic().add(newItem);
 

Objects of the following type(s) are allowed in the list TopicElement


setTopic

public void setTopic(List<TopicElement> topic)

getPage

public BigInteger getPage()
Gets the value of the page property.

Returns:
possible object is BigInteger

setPage

public void setPage(BigInteger value)
Sets the value of the page property.

Parameters:
value - allowed object is BigInteger

getPages

public BigInteger getPages()
Gets the value of the pages property.

Returns:
possible object is BigInteger

setPages

public void setPages(BigInteger value)
Sets the value of the pages property.

Parameters:
value - allowed object is BigInteger

getPerPage

public BigInteger getPerPage()
Gets the value of the perPage property.

Returns:
possible object is BigInteger

setPerPage

public void setPerPage(BigInteger value)
Sets the value of the perPage property.

Parameters:
value - allowed object is BigInteger

getTotal

public BigInteger getTotal()
Gets the value of the total property.

Returns:
possible object is BigInteger

setTotal

public void setTotal(BigInteger value)
Sets the value of the total property.

Parameters:
value - allowed object is BigInteger

withTopic

public TopicsElement withTopic(TopicElement... values)

withTopic

public TopicsElement withTopic(Collection<TopicElement> values)

withTopic

public TopicsElement withTopic(List<TopicElement> topic)

withPage

public TopicsElement withPage(BigInteger value)

withPages

public TopicsElement withPages(BigInteger value)

withPerPage

public TopicsElement withPerPage(BigInteger value)

withTotal

public TopicsElement withTotal(BigInteger value)

getHjid

public Long getHjid()
Gets the value of the hjid property.

Returns:
possible object is Long

setHjid

public void setHjid(Long value)
Sets the value of the hjid property.

Parameters:
value - allowed object is Long

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.