Class ItemInfoBuilder


  • public final class ItemInfoBuilder
    extends java.lang.Object
    Utility class providing a ItemInfoBuilder.NodeInfoBuilder for building NodeInfo. Example usage:
     ItemInfoBuilder.nodeInfoBuilder()
         .createNodeInfo("node1")
             .createPropertyInfo("prop1", "value1").build()
             .createPropertyInfo("prop2")
                 .addValue(1.2)
                 .addValue(2.3)
             .build()
         .build()
         .createNodeInfo("node2")
             .setPrimaryType(NameConstants.NT_BASE)
             .addMixin(NameConstants.MIX_LOCKABLE)
             .createPropertyInfo("prop3")
                 .setType(PropertyType.BINARY)
             .build()
         .build()
     .build();