|
Hibernate example source code file (Product.java)
The Hibernate Product.java source code//$Id: Product.java 4806 2004-11-25 14:37:00Z steveebersole $ package org.hibernate.test.cid; import java.math.BigDecimal; /** * @author Gavin King */ public class Product { private String productId; private String description; private BigDecimal price; private int numberAvailable; private int numberOrdered; /** * @return Returns the description. */ public String getDescription() { return description; } /** * @param description The description to set. */ public void setDescription(String description) { this.description = description; } /** * @return Returns the numberAvailable. */ public int getNumberAvailable() { return numberAvailable; } /** * @param numberAvailable The numberAvailable to set. */ public void setNumberAvailable(int numberAvailable) { this.numberAvailable = numberAvailable; } /** * @return Returns the numberOrdered. */ public int getNumberOrdered() { return numberOrdered; } /** * @param numberOrdered The numberOrdered to set. */ public void setNumberOrdered(int numberOrdered) { this.numberOrdered = numberOrdered; } /** * @return Returns the productId. */ public String getProductId() { return productId; } /** * @param productId The productId to set. */ public void setProductId(String productId) { this.productId = productId; } /** * @return Returns the price. */ public BigDecimal getPrice() { return price; } /** * @param price The price to set. */ public void setPrice(BigDecimal price) { this.price = price; } } Other Hibernate examples (source code examples)Here is a short list of links related to this Hibernate Product.java source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.