com.konakart.bl
Class CategoryStats

java.lang.Object
  extended by com.konakart.bl.CategoryStats

public class CategoryStats
extends java.lang.Object

Used to contain the number of categories and last modified category in order to determine whether the category tre has been modified.


Constructor Summary
protected CategoryStats()
           
 
Method Summary
protected  boolean changed(java.util.Date d, int i)
          Used to check whether the category statistics have been modified.
 java.util.Date getLastModified()
           
 int getNumber()
           
 void setLastModified(java.util.Date lastModified)
           
 void setNumber(int number)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryStats

protected CategoryStats()
Method Detail

changed

protected boolean changed(java.util.Date d,
                          int i)
Used to check whether the category statistics have been modified.

Parameters:
d - The last time a category was modified or inserted
i - The number of categories present
Returns:
Returns true if the categories have been modified.

getLastModified

public java.util.Date getLastModified()
Returns:
the lastModified

setLastModified

public void setLastModified(java.util.Date lastModified)
Parameters:
lastModified - the lastModified to set

getNumber

public int getNumber()
Returns:
the number

setNumber

public void setNumber(int number)
Parameters:
number - the number to set


Copyright © 2011 DS Data Systems UK Ltd.