/*
     * (non-Javadoc)
     * @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
     */
    @Override
    public Boolean isExported() {

      if (typeMapping == null) {
        return false;
      }

      return !typeMapping.isExported() ? false : annotation == null ? true : annotation.exported();
    }
 /*
  * (non-Javadoc)
  * @see org.springframework.data.rest.core.mapping.ResourceMapping#isExported()
  */
 @Override
 public Boolean isExported() {
   return annotation == null ? Modifier.isPublic(type.getModifiers()) : annotation.exported();
 }