public ElementDefinition setMaxLength(int value) { 
        if (this.maxLength == null)
          this.maxLength = new IntegerType();
        this.maxLength.setValue(value);
      return this;
    }
public ElementDefinition setMaxLength ( int value ) { if ( this . maxLength == null ) this . maxLength = new IntegerType ( ) ; this . maxLength . setValue ( value ) ; return this ; }
@param value Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element.