@Test(expected = UnsupportedOperationException.class) public void addItemAtInt_normal_isUnsupported() throws SQLException { SQLContainer container = new SQLContainer(new FreeformQuery( "SELECT * FROM people", connectionPool, "ID")); container.addItemAt(2); }
@Override public Item addItemAt(int index, Object newItemId) throws UnsupportedOperationException { throw new UnsupportedOperationException(); }
SQLContainer implements Container, Container.Filterable,
        Container.Indexed, Container.Sortable, Container.ItemSetChangeNotifier { @Override public Item addItemAt(int index, Object newItemId) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } }
SQLContainer implements Container, Container.Filterable,
        Container.Indexed, Container.Sortable, Container.ItemSetChangeNotifier { @Override public Item addItemAt(int index, Object newItemId) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } @SuppressWarnings("unused") private  SQLContainer();  SQLContainer(QueryDelegate delegate); }
SQLContainer implements Container, Container.Filterable,
        Container.Indexed, Container.Sortable, Container.ItemSetChangeNotifier { @Override public Item addItemAt(int index, Object newItemId) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } @SuppressWarnings("unused") private  SQLContainer();  SQLContainer(QueryDelegate delegate); @Override Object addItem(); @Override boolean containsId(Object itemId); @Override Property getContainerProperty(Object itemId, Object propertyId); @Override Collection<?> getContainerPropertyIds(); @Override Item getItem(Object itemId); Item getItemUnfiltered(Object itemId); @Override Collection<?> getItemIds(); @Override Class<?> getType(Object propertyId); @Override int size(); @Override boolean removeItem(Object itemId); @Override boolean removeAllItems(); @Override void addContainerFilter(Filter filter); @Override void removeContainerFilter(Filter filter); void addContainerFilter(Object propertyId, String filterString,
            boolean ignoreCase, boolean onlyMatchPrefix); void removeContainerFilters(Object propertyId); @Override void removeAllContainerFilters(); boolean hasContainerFilters(); @Override Collection<Filter> getContainerFilters(); @Override int indexOfId(Object itemId); @Override Object getIdByIndex(int index); @Override List<Object> getItemIds(int startIndex, int numberOfIds); @Override Object nextItemId(Object itemId); @Override Object prevItemId(Object itemId); @Override Object firstItemId(); @Override Object lastItemId(); @Override boolean isFirstId(Object itemId); @Override boolean isLastId(Object itemId); @Override void sort(Object[] propertyId, boolean[] ascending); @Override Collection<?> getSortableContainerPropertyIds(); void refresh(); boolean isModified(); void setAutoCommit(boolean autoCommitEnabled); boolean isAutoCommit(); int getPageLength(); void setPageLength(int pageLength); void addOrderBy(OrderBy orderBy); void commit(); void rollback(); @Override boolean addContainerProperty(Object propertyId, Class<?> type,
            Object defaultValue); @Override boolean removeContainerProperty(Object propertyId); @Override Item addItem(Object itemId); @Override Item addItemAfter(Object previousItemId, Object newItemId); @Override Item addItemAt(int index, Object newItemId); @Override Object addItemAt(int index); @Override Object addItemAfter(Object previousItemId); @Override void addItemSetChangeListener(
            Container.ItemSetChangeListener listener); @Override void removeItemSetChangeListener(
            Container.ItemSetChangeListener listener); void addRowIdChangeListener(RowIdChangeListener listener); void removeRowIdChangeListener(RowIdChangeListener listener); void enableCacheFlushNotifications(); void addReference(SQLContainer refdCont, String refingCol,
            String refdCol); boolean removeReference(SQLContainer refdCont); boolean setReferencedItem(Object itemId, Object refdItemId,
            SQLContainer refdCont); Object getReferencedItemId(Object itemId, SQLContainer refdCont); Item getReferencedItem(Object itemId, SQLContainer refdCont); }
SQLContainer implements Container, Container.Filterable,
        Container.Indexed, Container.Sortable, Container.ItemSetChangeNotifier { @Override public Item addItemAt(int index, Object newItemId) throws UnsupportedOperationException { throw new UnsupportedOperationException(); } @SuppressWarnings("unused") private  SQLContainer();  SQLContainer(QueryDelegate delegate); @Override Object addItem(); @Override boolean containsId(Object itemId); @Override Property getContainerProperty(Object itemId, Object propertyId); @Override Collection<?> getContainerPropertyIds(); @Override Item getItem(Object itemId); Item getItemUnfiltered(Object itemId); @Override Collection<?> getItemIds(); @Override Class<?> getType(Object propertyId); @Override int size(); @Override boolean removeItem(Object itemId); @Override boolean removeAllItems(); @Override void addContainerFilter(Filter filter); @Override void removeContainerFilter(Filter filter); void addContainerFilter(Object propertyId, String filterString,
            boolean ignoreCase, boolean onlyMatchPrefix); void removeContainerFilters(Object propertyId); @Override void removeAllContainerFilters(); boolean hasContainerFilters(); @Override Collection<Filter> getContainerFilters(); @Override int indexOfId(Object itemId); @Override Object getIdByIndex(int index); @Override List<Object> getItemIds(int startIndex, int numberOfIds); @Override Object nextItemId(Object itemId); @Override Object prevItemId(Object itemId); @Override Object firstItemId(); @Override Object lastItemId(); @Override boolean isFirstId(Object itemId); @Override boolean isLastId(Object itemId); @Override void sort(Object[] propertyId, boolean[] ascending); @Override Collection<?> getSortableContainerPropertyIds(); void refresh(); boolean isModified(); void setAutoCommit(boolean autoCommitEnabled); boolean isAutoCommit(); int getPageLength(); void setPageLength(int pageLength); void addOrderBy(OrderBy orderBy); void commit(); void rollback(); @Override boolean addContainerProperty(Object propertyId, Class<?> type,
            Object defaultValue); @Override boolean removeContainerProperty(Object propertyId); @Override Item addItem(Object itemId); @Override Item addItemAfter(Object previousItemId, Object newItemId); @Override Item addItemAt(int index, Object newItemId); @Override Object addItemAt(int index); @Override Object addItemAfter(Object previousItemId); @Override void addItemSetChangeListener(
            Container.ItemSetChangeListener listener); @Override void removeItemSetChangeListener(
            Container.ItemSetChangeListener listener); void addRowIdChangeListener(RowIdChangeListener listener); void removeRowIdChangeListener(RowIdChangeListener listener); void enableCacheFlushNotifications(); void addReference(SQLContainer refdCont, String refingCol,
            String refdCol); boolean removeReference(SQLContainer refdCont); boolean setReferencedItem(Object itemId, Object refdItemId,
            SQLContainer refdCont); Object getReferencedItemId(Object itemId, SQLContainer refdCont); Item getReferencedItem(Object itemId, SQLContainer refdCont); static final int DEFAULT_PAGE_LENGTH; static final int CACHE_RATIO; }