org.apache.ojb.tutorials
Class PBExample
java.lang.Object
org.apache.ojb.tutorials.PBExample
- public class PBExample
- extends java.lang.Object
PB-api usage examples.
- Version:
- $Id: PBExample.java,v 1.1 2003/08/19 15:35:57 arminw Exp $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PBExample
public PBExample()
storeProduct
public static void storeProduct(Product product)
storeProducts
public static void storeProducts(Product[] products)
findByTemplate
public static Product findByTemplate(Product template)
getExpensiveLowStockProducts
public static java.util.Collection getExpensiveLowStockProducts()
betterGetExpensiveLowStockProducts
public static java.util.Collection betterGetExpensiveLowStockProducts()
sellOneProduct
public static boolean sellOneProduct(Product template)
findAndDeleteProduct
public static boolean findAndDeleteProduct(Product template)
deleteProduct
public static void deleteProduct(Product product)
main
public static void main(java.lang.String[] args)
Authors: Thomas Mahler and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14