com.ibm.broker.config.appdev

Class GenericNode.GenericNodePropertyTable

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    GenericNode


    public class GenericNode.GenericNodePropertyTable
    extends NodePropertyTable
    GenericNodePropertyTable instance contains GenericRow rows You can use GenericPropertyTables when you know the internal structure of the tables for your node.
     
            GenericNode wsrrTestNode = new GenericNode("SRRetrieveEntity.msgnode");
                    wsrrTestNode.setNodeName("Test Complex Property Table");
                    Vector genericTables = wsrrTestNode.getNodePropertyTables();
                    GenericNodePropertyTable genericTable = wsrrTestNode.new GenericNodePropertyTable("userPropertiesTable");
    
                    GenericNodePropertyRow genericRow = genericTable.createRow();
                    
                    NodeProperty prop1 = new NodeProperty("propertyName", Usage.OPTIONAL, Type.STRING, "");
                    prop1.setPropertyValue("NewPropertyName");
    
                    NodeProperty prop2 = new NodeProperty("propertyValue", Usage.OPTIONAL, Type.STRING, "");
                    prop2.setPropertyValue("NewPropertyValue");
    
                    genericRow.add(prop1);
                    genericRow.add(prop2);
                    
                    genericTable.addRow(genericRow);
                    
                    genericTables.add(genericTable);
                    mf.addNode(wsrrTestNode);
    
     
    See Also:
    Serialized Form