lib/catissue/domain/user.rb
def role_id=(value)
      # value as an integer (nil is zero)
      value_i = value.to_i
      # set the Bug #66 work-around i.v.
      @role_id = value_i.zero? ? nil : value_i
      # value as a String (if non-nil)
      value_s = @role_id.to_s if @role_id
      # call Java with a String
      setRoleId(value_s)
    end
def role_id=(value)
      # value as an integer (nil is zero)
      value_i = value.to_i
      # set the Bug #66 work-around i.v.
      @role_id = value_i.zero? ? nil : value_i
      # value as a String (if non-nil)
      value_s = @role_id.to_s if @role_id
      # call Java with a String
      setRoleId(value_s)
    end
def role_id = ( value ) # value as an integer (nil is zero) value_i = value . to_i # set the Bug #66 work-around i.v. @role_id = value_i . zero? ? nil : value_i # value as a String (if non-nil) value_s = @role_id . to_s if @role_id # call Java with a String setRoleId ( value_s ) end
Sets the role id to the given value, which can be either a String or an Integer.
 An empty or zero value is converted to nil.

 @quirk caTissue caTissue API roleId is a String although the intended value domain is the
   integer csm_role.identifier.
Sets the role id to the given value which can be either a String or an Integer . An empty or zero value is converted to nil .