@Override
 public boolean hasMaximum() {
   return getMaximum() != null
       && !NONE.equals(getMaximum())
       && !(getMaximum().getUnit() == null || getMaximum().getValue() == null);
 }