containerA = new IndexedContainer();
containerA.addContainerProperty(property1, String.class, "");
containerA.addContainerProperty(property2, String.class, "");
containerA.addContainerProperty(property3, String.class, "");
Item itemA = containerA.addItem(new Object());
itemA.getItemProperty(property1).setValue("value1");
itemA.getItemProperty(property2).setValue("value2");
itemA.getItemProperty(property3).setValue("value3");
containerB = new IndexedContainer();
containerB.addContainerProperty(property4, String.class, "");
containerB.addContainerProperty(property3, String.class, "");
containerB.addContainerProperty(property2, String.class, "");
Item itemB = containerB.addItem(new Object());
itemB.getItemProperty(property4).setValue("value_prop4");
itemB.getItemProperty(property3).setValue("value_prop3");
itemB.getItemProperty(property2).setValue("value_prop2");
}