Package software.xdev.sessionize.model
Class CategoryAll
java.lang.Object
software.xdev.sessionize.model.CategoryAll
CategoryAll
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem(CategoryItemAll itemsItem) booleangetId()Get idgetItems()Get itemsgetSort()Get sortgetTitle()Get titlegetType()Get typeinthashCode()items(List<CategoryItemAll> items) voidvoidsetItems(List<CategoryItemAll> items) voidvoidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_SORT
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_ITEMS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CategoryAll
public CategoryAll()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
sort
-
getSort
Get sort- Returns:
- sort
-
setSort
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
items
-
addItemsItem
-
getItems
Get items- Returns:
- items
-
setItems
-
type
-
getType
Get type- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-