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: /** Dummy major end item asset representing all MEIs for a given organization **/
41:
42: public class Level2MEIAsset extends ClassVIIMajorEndItem {
43:
44: public Level2MEIAsset() {
45: }
46:
47: public Level2MEIAsset(Level2MEIAsset prototype) {
48: super (prototype);
49: }
50:
51: /** For infrastructure only - use org.cougaar.core.domain.Factory.copyInstance instead. **/
52: public Object clone() throws CloneNotSupportedException {
53: Level2MEIAsset _thing = (Level2MEIAsset) super .clone();
54: return _thing;
55: }
56:
57: /** create an instance of the right class for copy operations **/
58: public Asset instanceForCopy() {
59: return new Level2MEIAsset();
60: }
61:
62: /** create an instance of this prototype **/
63: public Asset createInstance() {
64: return new Level2MEIAsset(this );
65: }
66:
67: protected void fillAllPropertyGroups(Vector v) {
68: super .fillAllPropertyGroups(v);
69: }
70:
71: // beaninfo support
72: private static PropertyDescriptor properties[];
73: static {
74: properties = new PropertyDescriptor[0];
75: }
76:
77: public PropertyDescriptor[] getPropertyDescriptors() {
78: PropertyDescriptor[] pds = super .getPropertyDescriptors();
79: PropertyDescriptor[] ps = new PropertyDescriptor[pds.length + 0];
80: System.arraycopy(pds, 0, ps, 0, pds.length);
81: System.arraycopy(properties, 0, ps, pds.length, 0);
82: return ps;
83: }
84: }
|