docs: @Override
      public void setPrimaryItemName( String name ) throws ConstraintViolationException {
          if (name == null || name.trim().length() == 0) {
              this.primaryItemName = null;
          } else {
              try {
                  this.primaryItemName = context.getValueFactories().getNameFactory().create(name);
              } catch (ValueFormatException vfe) {
                  throw new ConstraintViolationException(vfe);
              }
          }
      }