Package com.ads.api.beans.csm
Class Category
java.lang.Object
com.ads.api.beans.common.Node
com.ads.api.beans.csm.Category
The category class contains several useful class fields and methods related to
category and sub categories. These methods used for setting data to the
current object and getting data from the current object .
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThese ENUM constants are used to specify the CategoryType as ENTERPRISE_CODESETS, CODESET_MAPPINGS.Nested classes/interfaces inherited from class com.ads.api.beans.common.Node
Node.Depth, Node.InputDataType, Node.NodeType, Node.ReturnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the auditHistory details of the category.Returns the list of categories.Returns the categoryType of the categoryReturns the list of codesetsReturns the description of the category.intgetId()Returns the id of the category.getName()Returns the name of the category.intReturns the parentId of the category.voidsetAuditHistory(AuditHistory auditHistory) Sets the auditHistory details of category as specifiedvoidsetCategories(List<Category> categories) Sets the list of categoriesvoidsetCategoryType(Category.Type categoryType) Sets the categoryType of category as specified.voidsetCodesets(List<Codeset> codesets) Sets the list of codesets to the category object as specified.voidsetDescription(String description) Sets the name of category as specifiedvoidsetId(int id) Sets the id of category.voidSets the name of category as specifiedvoidsetParentId(int parentId) Sets the parentId of categorytoString()Methods inherited from class com.ads.api.beans.common.Node
addChildNode, getChildNodes, getEndPointType, getNodeId, getNodeType, getObjectTypeId, setChildNodes, setEndPointType, setNodeId, setNodeType, setObjectTypeId
-
Constructor Details
-
Category
public Category()
-
-
Method Details
-
getId
public int getId()Returns the id of the category.- Returns:
- id int
-
setId
public void setId(int id) Sets the id of category.- Parameters:
id- int
-
getName
Returns the name of the category.- Returns:
- name String
-
setName
Sets the name of category as specified- Parameters:
name- String
-
getParentId
public int getParentId()Returns the parentId of the category.- Returns:
- parentId int
-
setParentId
public void setParentId(int parentId) Sets the parentId of category- Parameters:
parentId- int
-
getDescription
Returns the description of the category.- Returns:
- description String
-
setDescription
Sets the name of category as specified- Parameters:
description- String
-
getAuditHistory
Returns the auditHistory details of the category.- Returns:
- auditHistory AuditHistory
-
setAuditHistory
Sets the auditHistory details of category as specified- Parameters:
auditHistory- AuditHistory
-
getCategories
Returns the list of categories.- Returns:
- categories List
-
setCategories
Sets the list of categories- Parameters:
categories- List
-
getCodesets
Returns the list of codesets- Returns:
- codesets List
-
setCodesets
Sets the list of codesets to the category object as specified.- Parameters:
codesets- List
-
getCategoryType
Returns the categoryType of the category- Returns:
- categoryType Type
-
setCategoryType
Sets the categoryType of category as specified.- Parameters:
categoryType- Type
-
toString
-