code: @Override
      public void add2Where(final OneSelect _oneselect,
                            final SQLSelect _select)
      {
          try {
              if (this.addTypeClause) {
                  _select.addPart(SQLPart.AND).addColumnPart(this.tableIdx, GeneralInstance.ISTYPECOLUMN)
                      .addPart(SQLPart.IN).addPart(SQLPart.PARENTHESIS_OPEN);
                  _select.addValuePart(this.type.getId());
                  for (final Type childType : this.type.getChildTypes()) {
                      _select.addPart(SQLPart.COMMA);
                      _select.addValuePart(childType.getId());
                  }
                  _select.addPart(SQLPart.PARENTHESIS_CLOSE);
              }
          } catch (final CacheReloadException e) {
              GenInstSelectPart.LOG.error("Could not build where part for General Instance: {}", this);
          }
      }
docs: {@inheritDoc}