public IntegerType getMaxValueIntegerType() throws FHIRException { 
      if (this.maxValue == null)
        return null;
      if (!(this.maxValue instanceof IntegerType))
        throw new FHIRException("Type mismatch: the type IntegerType was expected, but "+this.maxValue.getClass().getName()+" was encountered");
      return (IntegerType) this.maxValue;
    }
public IntegerType getMaxValueIntegerType ( ) throws FHIRException { if ( this . maxValue == null ) return null ; if ( ! ( this . maxValue instanceof IntegerType ) ) throw new FHIRException ( "Type mismatch: the type IntegerType was expected, but " + this . maxValue . getClass ( ) . getName ( ) + " was encountered" ) ; return ( IntegerType ) this . maxValue ; }
@return {@link #maxValue} (The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.)