@Test public void testAddStatusData() { builder.addStatusData(); final Structure structure = builder.build(); validateField(structure, "status_data", DataType.RECORD); final Structure statusDataStructure = structure.getField("status_data").getStructure(); validateCharacterField(statusDataStructure, "status", 1); validateFixedList(statusDataStructure, "subeventstatus", 1); final Structure subeventStructure = statusDataStructure.getField("subeventstatus").getStructure(); validateCharacterField(subeventStructure, "operationName", 25); validateCharacterField(subeventStructure, "operationStatus", 1); validateCharacterField(subeventStructure, "targetObjectName", 25); validateField(subeventStructure, "targetObjectValue", DataType.VC); }
public abstract StructureBuilder addStatusData();
StructureBuilder { public abstract StructureBuilder addStatusData(); }
StructureBuilder { public abstract StructureBuilder addStatusData();  }
StructureBuilder { public abstract StructureBuilder addStatusData();  static StructureBuilder getBuilder(); static StructureBuilder getBuilder(final Structure existingStructure); abstract Structure build(); abstract StructureBuilder addChar(String name, int length); abstract StructureBuilder addDQ8(String name); abstract StructureBuilder addDynamicList(String name, Structure structure); abstract StructureBuilder addF8(String name); abstract StructureBuilder addI2(String name); abstract StructureBuilder addI4(String name); abstract StructureBuilder addList(String name, Structure structure, int size); abstract StructureBuilder addRecord(String name, Structure structure); abstract StructureBuilder addStatusData(); abstract StructureBuilder addVC(String name); }
StructureBuilder { public abstract StructureBuilder addStatusData();  static StructureBuilder getBuilder(); static StructureBuilder getBuilder(final Structure existingStructure); abstract Structure build(); abstract StructureBuilder addChar(String name, int length); abstract StructureBuilder addDQ8(String name); abstract StructureBuilder addDynamicList(String name, Structure structure); abstract StructureBuilder addF8(String name); abstract StructureBuilder addI2(String name); abstract StructureBuilder addI4(String name); abstract StructureBuilder addList(String name, Structure structure, int size); abstract StructureBuilder addRecord(String name, Structure structure); abstract StructureBuilder addStatusData(); abstract StructureBuilder addVC(String name);  }