com.konakart.json.app
Class J_Category

java.lang.Object
  extended by com.konakart.json.app.J_Category
All Implemented Interfaces:
java.io.Serializable

public class J_Category
extends java.lang.Object
implements java.io.Serializable

Describes a category of products. A product may belong to more than one category.

See Also:
Serialized Form

Constructor Summary
J_Category()
           
 
Method Summary
 J_Category[] getChildren()
           
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 java.lang.String getDescription()
           
 int getId()
           
 java.lang.String getImage()
           
 int getLevel()
          Top level = 0.
 J_MiscItem[] getMiscItems()
          Returns the array of Miscellaneous Items associated with this category.
 java.lang.String getName()
           
 int getNumberOfProducts()
           
 J_Category getParent()
           
 int getParentId()
           
 int getSortOrder()
           
 boolean isInvisible()
          When invisible, a category is not returned in the category tree.
 boolean isSelected()
           
 void setChildren(J_Category[] _children)
           
 void setCustom1(java.lang.String _custom1)
           
 void setCustom2(java.lang.String _custom2)
           
 void setCustom3(java.lang.String _custom3)
           
 void setDescription(java.lang.String _description)
           
 void setId(int _id)
           
 void setImage(java.lang.String _image)
           
 void setInvisible(boolean _invisible)
          When invisible, a category is not returned in the category tree.
 void setLevel(int _level)
          Top level = 0.
 void setMiscItems(J_MiscItem[] _miscItems)
           
 void setName(java.lang.String _name)
           
 void setNumberOfProducts(int _numberOfProducts)
           
 void setParent(J_Category _parent)
           
 void setParentId(int _parentId)
           
 void setSelected(boolean _selected)
           
 void setSortOrder(int _sortOrder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_Category

public J_Category()
Method Detail

getChildren

public J_Category[] getChildren()
Returns:
Returns the children.

setChildren

public void setChildren(J_Category[] _children)
Parameters:
_children - The children to set.

getId

public int getId()
Returns:
Returns the id.

setId

public void setId(int _id)
Parameters:
_id - The id to set.

getImage

public java.lang.String getImage()
Returns:
Returns the image.

setImage

public void setImage(java.lang.String _image)
Parameters:
_image - The image to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

setName

public void setName(java.lang.String _name)
Parameters:
_name - The name to set.

getNumberOfProducts

public int getNumberOfProducts()
Returns:
Returns the numberOfProducts.

setNumberOfProducts

public void setNumberOfProducts(int _numberOfProducts)
Parameters:
_numberOfProducts - The numberOfProducts to set.

getParentId

public int getParentId()
Returns:
Returns the parentId.

setParentId

public void setParentId(int _parentId)
Parameters:
_parentId - The parentId to set.

getSortOrder

public int getSortOrder()
Returns:
Returns the sortOrder.

setSortOrder

public void setSortOrder(int _sortOrder)
Parameters:
_sortOrder - The sortOrder to set.

getParent

public J_Category getParent()
Returns:
Returns the parent.

setParent

public void setParent(J_Category _parent)
Parameters:
_parent - The parent to set.

isSelected

public boolean isSelected()
Returns:
Returns the selected.

setSelected

public void setSelected(boolean _selected)
Parameters:
_selected - The selected to set.

getLevel

public int getLevel()
Top level = 0.

Returns:
Returns the level.

setLevel

public void setLevel(int _level)
Top level = 0.

Parameters:
_level - The level to set.

getCustom1

public java.lang.String getCustom1()
Returns:
Returns the custom1.

setCustom1

public void setCustom1(java.lang.String _custom1)
Parameters:
_custom1 - The custom1 to set.

getCustom2

public java.lang.String getCustom2()
Returns:
Returns the custom2.

setCustom2

public void setCustom2(java.lang.String _custom2)
Parameters:
_custom2 - The custom2 to set.

getCustom3

public java.lang.String getCustom3()
Returns:
Returns the custom3.

setCustom3

public void setCustom3(java.lang.String _custom3)
Parameters:
_custom3 - The custom3 to set.

isInvisible

public boolean isInvisible()
When invisible, a category is not returned in the category tree.

Returns:
the invisible

setInvisible

public void setInvisible(boolean _invisible)
When invisible, a category is not returned in the category tree.

Parameters:
_invisible - the invisible to set

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String _description)
Parameters:
_description - the description to set

getMiscItems

public J_MiscItem[] getMiscItems()
Returns the array of Miscellaneous Items associated with this category.

Returns:
the miscItems associated with this product.

setMiscItems

public void setMiscItems(J_MiscItem[] _miscItems)
Parameters:
_miscItems - the miscItems to set


Copyright © 2011 DS Data Systems UK Ltd.