Package org.webtide.demo.auction.dao

Examples of org.webtide.demo.auction.dao.CategoryDao.addItem()


        Category antiques = new Category(4,"Antiques and Collectibles","Rare collectible items");
        Category books = new Category(5,"Books, Movies and Music","Rare to find items");
        Category cloths = new Category(6,"Clothing and Accessories","Brand new signature items");
        Category coins = new Category(7,"Coins and Stamps","Rare coin and stamp collections");

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
View Full Code Here


        Category books = new Category(5,"Books, Movies and Music","Rare to find items");
        Category cloths = new Category(6,"Clothing and Accessories","Brand new signature items");
        Category coins = new Category(7,"Coins and Stamps","Rare coin and stamp collections");

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
View Full Code Here

        Category cloths = new Category(6,"Clothing and Accessories","Brand new signature items");
        Category coins = new Category(7,"Coins and Stamps","Rare coin and stamp collections");

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
View Full Code Here

        Category coins = new Category(7,"Coins and Stamps","Rare coin and stamp collections");

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
View Full Code Here

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
        dao.addItem(new Item(10,"Huge Collection of coins",coins,"Different coins from all over the world",2000D));
View Full Code Here

        dao.addItem(new Item(1,"Mona Lisa",arts,"Original painting by Leonardo da Vinci",2000000D));
        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
        dao.addItem(new Item(10,"Huge Collection of coins",coins,"Different coins from all over the world",2000D));
        dao.addItem(new Item(11,"19th Century Unused Stamps",coins,"19th Century Unused Stamps",2000D));
View Full Code Here

        dao.addItem(new Item(2,"Gold Necklace",gems,"24k gold with diamond pendant",400.5D));
        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
        dao.addItem(new Item(10,"Huge Collection of coins",coins,"Different coins from all over the world",2000D));
        dao.addItem(new Item(11,"19th Century Unused Stamps",coins,"19th Century Unused Stamps",2000D));
        dao.addItem(new Item(12,"Apple Macbook Pro",computers,"Apple MacBook Pro 2.0GHz Intel Core Duo",2500D));
View Full Code Here

        dao.addItem(new Item(3,"Sony Vaio",computers,"Intel Centrino Duo w/ 1GB RAM. 15.4 inch display",2000D));
        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
        dao.addItem(new Item(10,"Huge Collection of coins",coins,"Different coins from all over the world",2000D));
        dao.addItem(new Item(11,"19th Century Unused Stamps",coins,"19th Century Unused Stamps",2000D));
        dao.addItem(new Item(12,"Apple Macbook Pro",computers,"Apple MacBook Pro 2.0GHz Intel Core Duo",2500D));
        dao.addItem(new Item(13,"ProTrek Titanium Watch",gems,"ProTrek Titanium Triple Sensor Watch",150D));
View Full Code Here

        dao.addItem(new Item(4,"Antique Dining Table",antiques,"Antique dining table from the 18th century",15000D));
        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
        dao.addItem(new Item(10,"Huge Collection of coins",coins,"Different coins from all over the world",2000D));
        dao.addItem(new Item(11,"19th Century Unused Stamps",coins,"19th Century Unused Stamps",2000D));
        dao.addItem(new Item(12,"Apple Macbook Pro",computers,"Apple MacBook Pro 2.0GHz Intel Core Duo",2500D));
        dao.addItem(new Item(13,"ProTrek Titanium Watch",gems,"ProTrek Titanium Triple Sensor Watch",150D));
View Full Code Here

        dao.addItem(new Item(5,"Oil on canvas",arts,"Abstract oil painting on canvas",1000D));
        dao.addItem(new Item(6,"Dick Tracy Movie Storybook",books,"Dick Tracy storybook by Justine Korman",150D));
        dao.addItem(new Item(7,"1001 Magic Tricks",antiques,"A collection of different street magic tricks",100D));
        dao.addItem(new Item(8,"Authentic Leather Jacket",cloths,"Authentic leather jacket",80D));
        dao.addItem(new Item(9,"Vintage 501 Jeans",cloths,"Vintage 501 jeans",200D));
        dao.addItem(new Item(10,"Huge Collection of coins",coins,"Different coins from all over the world",2000D));
        dao.addItem(new Item(11,"19th Century Unused Stamps",coins,"19th Century Unused Stamps",2000D));
        dao.addItem(new Item(12,"Apple Macbook Pro",computers,"Apple MacBook Pro 2.0GHz Intel Core Duo",2500D));
        dao.addItem(new Item(13,"ProTrek Titanium Watch",gems,"ProTrek Titanium Triple Sensor Watch",150D));

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.