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

cb.petal.Visibility Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2001 Markus Dahm
 * Copyright (C) 2015-2018 BITPlan GmbH http://www.bitplan.com
 *
 * This source is part of
 * https://github.com/BITPlan/CrazyBeans
 * and the license as outlined there applies
 */
package cb.petal;

/**
 * convenience enumeration for visibilities
 * @author wf
 *
 */
public enum Visibility {

  PUBLIC("public"), PROTECTED("protected"), PRIVATE("private"), IMPLEMENTATION("implementation"), UNDEFINED(null);
  private String value;

  Visibility(String value) {
    this.value = value;
  }

  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return this.getValue();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy