za.org.coefficient.modules.category
Class CategoryDisplayData

java.lang.Object
  extended by za.org.coefficient.modules.category.CategoryDisplayData
All Implemented Interfaces:
java.io.Serializable

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

used for displaying information only - not persisted at all

See Also:
Serialized Form

Field Summary
(package private)  java.util.List children
           
(package private)  java.lang.String description
           
(package private)  java.lang.Long id
           
(package private)  java.lang.String name
           
(package private)  boolean open
           
(package private)  java.lang.Long parentId
           
(package private)  int projectCount
           
 
Constructor Summary
CategoryDisplayData()
           
 
Method Summary
 void addChild(Category child)
           
 boolean areThereChildren()
           
 java.util.List getChildren()
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
           
 java.lang.String getName()
           
 boolean getOpen()
           
 java.lang.Long getParentId()
           
 int getProjectCount()
           
 boolean isClosed()
           
 boolean isOpen()
           
 void setChildren(java.util.List argChildren)
           
 void setDescription(java.lang.String argDescription)
           
 void setId(java.lang.Long argId)
           
 void setName(java.lang.String argName)
           
 void setOpen(boolean o)
           
 void setParentId(java.lang.Long argId)
           
 void setProjectCount(int cnt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

java.util.List children

id

java.lang.Long id

parentId

java.lang.Long parentId

description

java.lang.String description

name

java.lang.String name

open

boolean open

projectCount

int projectCount
Constructor Detail

CategoryDisplayData

public CategoryDisplayData()
Method Detail

setChildren

public void setChildren(java.util.List argChildren)

getChildren

public java.util.List getChildren()

isClosed

public boolean isClosed()

setDescription

public void setDescription(java.lang.String argDescription)

getDescription

public java.lang.String getDescription()

setId

public void setId(java.lang.Long argId)

getId

public java.lang.Long getId()

setName

public void setName(java.lang.String argName)

getName

public java.lang.String getName()

setOpen

public void setOpen(boolean o)

getOpen

public boolean getOpen()

isOpen

public boolean isOpen()

setParentId

public void setParentId(java.lang.Long argId)

getParentId

public java.lang.Long getParentId()

setProjectCount

public void setProjectCount(int cnt)

getProjectCount

public int getProjectCount()

addChild

public void addChild(Category child)

areThereChildren

public boolean areThereChildren()


Copyright CSIR. All Rights Reserved.