01: /*
02: * Generated by Cougaar QoS FrameGen
03: * from c:\marla\mmon\cougaar\HEAD\qos\src\org\cougaar\core\qos\frame\topology\cougaar-topology-protos.xml
04: * at Mar 14, 2007 4:18:10 PM
05: *
06: * Copyright BBN Technologies 2006
07: *
08: */
09: package org.cougaar.core.qos.frame.topology;
10:
11: import org.cougaar.core.qos.frame.DataFrame;
12: import org.cougaar.core.qos.frame.FrameSet;
13: import org.cougaar.core.util.UID;
14:
15: public class AgentInNode extends Contains {
16: static {
17: org.cougaar.core.qos.frame.FrameMaker __fm = new org.cougaar.core.qos.frame.FrameMaker() {
18: public DataFrame makeFrame(FrameSet frameSet, UID uid) {
19: return new AgentInNode(frameSet, uid);
20: }
21: };
22: DataFrame.registerFrameMaker(
23: "org.cougaar.core.qos.frame.topology", "AgentInNode",
24: __fm);
25: }
26:
27: public AgentInNode(UID uid) {
28: this (null, uid);
29: }
30:
31: public AgentInNode(FrameSet frameSet, UID uid) {
32: super (frameSet, uid);
33: }
34:
35: public String getKind() {
36: return "AgentInNode";
37: }
38:
39: public String getParentPrototype() {
40: return "node";
41: }
42:
43: public String getChildPrototype() {
44: return "agent";
45: }
46:
47: protected void collectSlotNames(java.util.Set<String> slots) {
48: super.collectSlotNames(slots);
49: }
50: }
|