node = new Node("STUB", new Integer(0xCAFE));
}catch(ConstructionException e){
node = null;
- }
-
+ }
+
+ nodeProps.put(node, propMap);
+
+ try{
+ node = new Node("STUB", 3366);
+ }catch(ConstructionException e){
+ node = null;
+ }
nodeProps.put(node, propMap);
+
+ try{
+ node = new Node("STUB", 4477);
+ }catch(ConstructionException e){
+ node = null;
+ }
+ nodeProps.put(node, propMap);
+
return nodeProps;
}
node = null;
}
nodeConnectorProps.put(nc, ncPropMap);
- return nodeConnectorProps;
+
+ try{
+ node = new Node("STUB", 3366);
+ nc = new NodeConnector("STUB", 12, node);
+ } catch(ConstructionException e){
+ nc = null;
+ node = null;
+ }
+ nodeConnectorProps.put(nc, ncPropMap);
+
+ try{
+ node = new Node("STUB", 4477);
+ nc = new NodeConnector("STUB", 34, node);
+ }catch(ConstructionException e){
+ nc = null;
+ node = null;
+ }
+ nodeConnectorProps.put(nc, ncPropMap);
+
+ return nodeConnectorProps;
}