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:04 EDT 2007 from /u01/builds/cougaar/B12_4/B12_4/070927151721/src/albbn/src/org/cougaar/logistics/ldm/asset/consumer_assets.def - DO NOT HAND EDIT */
28: package org.cougaar.logistics.ldm.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: import org.cougaar.glm.ldm.asset.*;
39:
40: public class Level2BulkPOL extends BulkPOL {
41:
42: public Level2BulkPOL() {
43: }
44:
45: public Level2BulkPOL(Level2BulkPOL prototype) {
46: super (prototype);
47: }
48:
49: /** For infrastructure only - use org.cougaar.core.domain.Factory.copyInstance instead. **/
50: public Object clone() throws CloneNotSupportedException {
51: Level2BulkPOL _thing = (Level2BulkPOL) super .clone();
52: return _thing;
53: }
54:
55: /** create an instance of the right class for copy operations **/
56: public Asset instanceForCopy() {
57: return new Level2BulkPOL();
58: }
59:
60: /** create an instance of this prototype **/
61: public Asset createInstance() {
62: return new Level2BulkPOL(this );
63: }
64:
65: protected void fillAllPropertyGroups(Vector v) {
66: super .fillAllPropertyGroups(v);
67: }
68:
69: // beaninfo support
70: private static PropertyDescriptor properties[];
71: static {
72: properties = new PropertyDescriptor[0];
73: }
74:
75: public PropertyDescriptor[] getPropertyDescriptors() {
76: PropertyDescriptor[] pds = super .getPropertyDescriptors();
77: PropertyDescriptor[] ps = new PropertyDescriptor[pds.length + 0];
78: System.arraycopy(pds, 0, ps, 0, pds.length);
79: System.arraycopy(properties, 0, ps, pds.length, 0);
80: return ps;
81: }
82: }
|