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