Skip to content

Instantly share code, notes, and snippets.

@olivermt
Created April 14, 2011 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olivermt/919157 to your computer and use it in GitHub Desktop.
Save olivermt/919157 to your computer and use it in GitHub Desktop.
package no.cipr.safari.model
enum DataSetScaleEnum {
SYSTEM_SCALE('system scale'),
DEPOSITIONAL_ELEMENTS_SCALE('depositional elements scale'),
ARCHITECTURAL_ELEMENTS_SCALE('architectural elements scale'),
FACIES_SCALE('facies scale'),
UNKNOWN('unknown'),
private final String text
DataSetScaleEnum(String text) {
this.text = text
}
public String text() { return text }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment