01: /*
02: * <copyright>
03: *
04: * Copyright 1997-2004 BBNT Solutions, LLC
05: * under sponsorship of the Defense Advanced Research Projects
06: * Agency (DARPA).
07: *
08: * You can redistribute this software and/or modify it under the
09: * terms of the Cougaar Open Source License as published on the
10: * Cougaar Open Source Website (www.cougaar.org).
11: *
12: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
13: * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
14: * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
15: * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
16: * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
17: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
18: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23: *
24: * </copyright>
25: */
26:
27: /* @generated Thu Sep 27 15:26:43 EDT 2007 from /u01/builds/cougaar/B12_4/B12_4/070927151721/src/pizza/src/org/cougaar/pizza/asset/pizza_assets.def - DO NOT HAND EDIT */
28: package org.cougaar.pizza.asset;
29:
30: import org.cougaar.planning.ldm.asset.*;
31: import java.io.ObjectOutputStream;
32: import java.io.ObjectInputStream;
33: import java.io.IOException;
34: import java.util.Vector;
35: import java.beans.PropertyDescriptor;
36: import java.beans.IndexedPropertyDescriptor;
37: import java.beans.IntrospectionException;
38:
39: /** Representation of a Pizza Provider's Kitchen **/
40:
41: public class KitchenAsset extends org.cougaar.pizza.asset.AssetSkeleton {
42:
43: public KitchenAsset() {
44: }
45:
46: public KitchenAsset(KitchenAsset prototype) {
47: super (prototype);
48: }
49:
50: /** For infrastructure only - use org.cougaar.core.domain.Factory.copyInstance instead. **/
51: public Object clone() throws CloneNotSupportedException {
52: KitchenAsset _thing = (KitchenAsset) super .clone();
53: return _thing;
54: }
55:
56: /** create an instance of the right class for copy operations **/
57: public Asset instanceForCopy() {
58: return new KitchenAsset();
59: }
60:
61: /** create an instance of this prototype **/
62: public Asset createInstance() {
63: return new KitchenAsset(this );
64: }
65:
66: protected void fillAllPropertyGroups(Vector v) {
67: super .fillAllPropertyGroups(v);
68: }
69:
70: // beaninfo support
71: private static PropertyDescriptor properties[];
72: static {
73: properties = new PropertyDescriptor[0];
74: }
75:
76: public PropertyDescriptor[] getPropertyDescriptors() {
77: PropertyDescriptor[] pds = super .getPropertyDescriptors();
78: PropertyDescriptor[] ps = new PropertyDescriptor[pds.length + 0];
79: System.arraycopy(pds, 0, ps, 0, pds.length);
80: System.arraycopy(properties, 0, ps, pds.length, 0);
81: return ps;
82: }
83: }
|