public <F> void updateProfileField(ProfileField<F, ?> field, F value) {
		if (field.isSingle()) {
			getResourceFactory()
					.getApiResource("/user/profile/" + field.getName())
					.entity(new ProfileFieldSingleValue<F>(value),
							MediaType.APPLICATION_JSON_TYPE).put();
		} else {
			getResourceFactory()
					.getApiResource("/user/profile/" + field.getName())
					.entity(new ProfileFieldMultiValue<F>(value),
							MediaType.APPLICATION_JSON_TYPE).put();
		}
	}
public < F > void updateProfileField ( ProfileField < F , ? > field , F value ) { if ( field . isSingle ( ) ) { getResourceFactory ( ) . getApiResource ( "/user/profile/" + field . getName ( ) ) . entity ( new ProfileFieldSingleValue < F > ( value ) , MediaType . APPLICATION_JSON_TYPE ) . put ( ) ; } else { getResourceFactory ( ) . getApiResource ( "/user/profile/" + field . getName ( ) ) . entity ( new ProfileFieldMultiValue < F > ( value ) , MediaType . APPLICATION_JSON_TYPE ) . put ( ) ; } }
Updates a single field on the profile of the user

@param field
The field that should be updated
@param value
The new value of the field