Class TopicsElement
java.lang.Object
com.hack23.cia.model.external.worldbank.topic.impl.TopicsElement
- All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject,Serializable
@Entity(name="TopicsElement")
public class TopicsElement
extends Object
implements com.hack23.cia.model.common.api.ModelObject
The Class TopicsElement.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected LongThe hjid.protected BigIntegerThe page.protected BigIntegerThe pages.protected BigIntegerThe per page.protected List<TopicElement>The topic.protected BigIntegerThe total. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHjid()Gets the hjid.getPage()Gets the page.getPages()Gets the pages.Gets the per page.getTopic()Gets the topic.getTotal()Gets the total.final inthashCode()voidSets the hjid.voidsetPage(BigInteger value) Sets the page.voidsetPages(BigInteger value) Sets the pages.voidsetPerPage(BigInteger value) Sets the per page.voidsetTopic(List<TopicElement> topic) Sets the topic.voidsetTotal(BigInteger value) Sets the total.final StringtoString()withPage(BigInteger value) With page.withPages(BigInteger value) With pages.withPerPage(BigInteger value) With per page.withTopic(List<TopicElement> topic) With topic.withTotal(BigInteger value) With total.
-
Field Details
-
topic
The topic. -
page
The page. -
pages
The pages. -
perPage
The per page. -
total
The total. -
hjid
The hjid.
-
-
Constructor Details
-
TopicsElement
public TopicsElement()
-
-
Method Details
-
getTopic
Gets the topic.- Returns:
- the topic
-
setTopic
Sets the topic.- Parameters:
topic- the new topic
-
getPage
Gets the page.- Returns:
- the page
-
setPage
Sets the page.- Parameters:
value- the new page
-
getPages
Gets the pages.- Returns:
- the pages
-
setPages
Sets the pages.- Parameters:
value- the new pages
-
getPerPage
Gets the per page.- Returns:
- the per page
-
setPerPage
Sets the per page.- Parameters:
value- the new per page
-
getTotal
Gets the total.- Returns:
- the total
-
setTotal
Sets the total.- Parameters:
value- the new total
-
withTopic
With topic.- Parameters:
topic- the topic- Returns:
- the topics element
-
withPage
With page.- Parameters:
value- the value- Returns:
- the topics element
-
withPages
With pages.- Parameters:
value- the value- Returns:
- the topics element
-
withPerPage
With per page.- Parameters:
value- the value- Returns:
- the topics element
-
withTotal
With total.- Parameters:
value- the value- Returns:
- the topics element
-
toString
-
getHjid
Gets the hjid.- Returns:
- the hjid
-
setHjid
Sets the hjid.- Parameters:
value- the new hjid
-
equals
-
hashCode
public final int hashCode()
-