cb.petal.Visibility Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.crazybeans Show documentation
Show all versions of org.crazybeans Show documentation
Java library to read, modify or create Rational Rose petal files
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();
}
}