code: @Override
      public Type<?> getIdType()
      {
          if (idAttribute != null && !isIdClass)
          {
              return idAttribute.getType();
          }
  
          return getSupertype().getIdType();
      }
docs: /*
  (non-Javadoc)
  
  @see javax.persistence.metamodel.IdentifiableType#getIdType()