code: public List<ItemState> getAllStates()
     {
        List<ItemState> states = new ArrayList<ItemState>();
        for (PlainChangesLog changesLog : changesLogs)
        {
           for (ItemState state : changesLog.getAllStates())
           {
              states.add(state);
           }
        }
        return states;
     }
docs: {@inheritDoc}