code: public long getStoreId()
      {
          final long ret;
          if (this.storeId == 0 && getParentType() != null) {
              ret = getParentType().getStoreId();
          } else {
              ret = this.storeId;
          }
          return ret;
      }
docs: Getter method for instance variable {@link #storeId}.
  
  @return value of instance variable {@link #storeId}