{
            if (resourceAttributes == null)
            {
              resourceAttributes = resource.getResourceAttributes();
            }
            resourceAttributes.setHidden(hidden);
          }