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

Product

public class Product extends Object implements Serializable

Fields Summary
private String
productId
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 java.lang.StringgetProductId()

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

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

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

 this.name = name; 
public voidsetProductId(java.lang.String productId)

 this.productId = productId.trim(); 
public java.lang.StringtoString()

    return getName();