za.org.coefficient.core
Class Category

java.lang.Object
  extended by za.org.coefficient.core.Category
All Implemented Interfaces:
java.io.Serializable

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

Title: Project Engine Description: Copyright: Copyright (c) 2003 Company: icomtek CSIR

Version:
1.0
Author:
Krishendran Rangappa
See Also:
Serialized Form

Field Summary
private  java.lang.String description
           
private  java.lang.Long id
           
private  java.lang.String name
           
private  Category parentCategory
           
private  long version
           
 
Constructor Summary
Category()
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getDescription()
           
 java.lang.Long getId()
          Gets the value of id
 java.lang.String getName()
           
 Category getParentCategory()
           
 long getVersion()
          Gets the value of version
 void setDescription(java.lang.String description)
           
 void setId(java.lang.Long argId)
          Sets the value of id
 void setName(java.lang.String name)
           
 void setParentCategory(Category parentCategory)
           
 void setVersion(long version)
          Sets the value of version
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parentCategory

private Category parentCategory

id

private java.lang.Long id

description

private java.lang.String description

name

private java.lang.String name

version

private long version
Constructor Detail

Category

public Category()
Method Detail

setDescription

public void setDescription(java.lang.String description)

getDescription

public java.lang.String getDescription()

setId

public void setId(java.lang.Long argId)
Sets the value of id

Parameters:
argId - Value to assign to this.id

getId

public java.lang.Long getId()
Gets the value of id

Returns:
the value of id

setName

public void setName(java.lang.String name)

getName

public java.lang.String getName()

setParentCategory

public void setParentCategory(Category parentCategory)

getParentCategory

public Category getParentCategory()

setVersion

public void setVersion(long version)
Sets the value of version

Parameters:
version - Value to assign to this.version

getVersion

public long getVersion()
Gets the value of version

Returns:
the value of version

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright CSIR. All Rights Reserved.