All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.postgresql.jdbc.AutoSave Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2005, PostgreSQL Global Development Group
 * See the LICENSE file in the project root for more information.
 */

package org.postgresql.jdbc;

import java.util.Locale;

public enum AutoSave {
  NEVER,
  ALWAYS,
  CONSERVATIVE;

  private final String value;

  AutoSave() {
    value = this.name().toLowerCase(Locale.ROOT);
  }

  public String value() {
    return value;
  }

  public static AutoSave of(String value) {
    return valueOf(value.toUpperCase(Locale.ROOT));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy