@Test public void testGetItemId() { assertEquals(123l, item.getItemId()); item = new JPAContainerItem<Person>(container, entity, null, true); assertNull(item.getItemId()); }
public Object getItemId() { return itemId; }
JPAContainerItem implements EntityItem<T> { public Object getItemId() { return itemId; } }
JPAContainerItem implements EntityItem<T> { public Object getItemId() { return itemId; } JPAContainerItem(JPAContainer<T> container, T entity);   JPAContainerItem(JPAContainer<T> container, T entity, Object itemId,
            boolean persistent); }
JPAContainerItem implements EntityItem<T> { public Object getItemId() { return itemId; } JPAContainerItem(JPAContainer<T> container, T entity);   JPAContainerItem(JPAContainer<T> container, T entity, Object itemId,
            boolean persistent); Object getItemId(); boolean addItemProperty(Object id, Property property); void addNestedContainerProperty(String nestedProperty); EntityItemProperty getItemProperty(Object id); Collection<String> getItemPropertyIds(); boolean removeItemProperty(Object id); boolean isModified(); boolean isDirty(); boolean isPersistent(); boolean isDeleted(); EntityContainer<T> getContainer(); T getEntity(); void commit(); void discard(); boolean isReadThrough(); boolean isWriteThrough(); void setReadThrough(boolean readThrough); void setWriteThrough(boolean writeThrough); void addListener(ValueChangeListener listener); void removeListener(ValueChangeListener listener); void addValueChangeListener(ValueChangeListener listener); void removeValueChangeListener(ValueChangeListener listener); @Override String toString(); @SuppressWarnings("serial") void refresh(); void setBuffered(boolean buffered); boolean isBuffered(); }
JPAContainerItem implements EntityItem<T> { public Object getItemId() { return itemId; } JPAContainerItem(JPAContainer<T> container, T entity);   JPAContainerItem(JPAContainer<T> container, T entity, Object itemId,
            boolean persistent); Object getItemId(); boolean addItemProperty(Object id, Property property); void addNestedContainerProperty(String nestedProperty); EntityItemProperty getItemProperty(Object id); Collection<String> getItemPropertyIds(); boolean removeItemProperty(Object id); boolean isModified(); boolean isDirty(); boolean isPersistent(); boolean isDeleted(); EntityContainer<T> getContainer(); T getEntity(); void commit(); void discard(); boolean isReadThrough(); boolean isWriteThrough(); void setReadThrough(boolean readThrough); void setWriteThrough(boolean writeThrough); void addListener(ValueChangeListener listener); void removeListener(ValueChangeListener listener); void addValueChangeListener(ValueChangeListener listener); void removeValueChangeListener(ValueChangeListener listener); @Override String toString(); @SuppressWarnings("serial") void refresh(); void setBuffered(boolean buffered); boolean isBuffered();  }