FileDocCategorySizeDatePackage
Category.javaAPI DocExample779Thu Dec 04 08:19:26 GMT 2003org.springframework.samples.jpetstore.domain

Category

public class Category extends Object implements Serializable

Fields Summary
private String
categoryId
private String
name
private String
description
Constructors Summary
Methods Summary
public java.lang.StringgetCategoryId()

 return categoryId; 
public java.lang.StringgetDescription()

 return description; 
public java.lang.StringgetName()

 return name; 
public voidsetCategoryId(java.lang.String categoryId)

 this.categoryId = categoryId.trim(); 
public voidsetDescription(java.lang.String description)

 this.description = description; 
public voidsetName(java.lang.String name)

 this.name = name; 
public java.lang.StringtoString()

    return getCategoryId();