public void addOrUpdateExtensionValue(ExtensionFieldValueEntity extensionValue){
  if (extensionValue == null) {
    throw new IllegalArgumentException("extensionValue must not be null");
  }
  if (extensionFieldValues.contains(extensionValue)) {
    extensionFieldValues.remove(extensionValue);
  }
  extensionFieldValues.add(extensionValue);
}

public void addOrUpdateExtensionValue ( ExtensionFieldValueEntity extensionValue ) { if ( extensionValue == null ) { throw new IllegalArgumentException ( "extensionValue must not be null" ) ; } if ( extensionFieldValues . contains ( extensionValue ) ) { extensionFieldValues . remove ( extensionValue ) ; } extensionFieldValues . add ( extensionValue ) ; }
adds or updates an extension field value for this user . when updating , the old value of the extension field is removed from this user and the new one will be added .
