Skip to content

Instantly share code, notes, and snippets.

@sebersole
Created June 24, 2011 13:23
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 sebersole/1044751 to your computer and use it in GitHub Desktop.
Save sebersole/1044751 to your computer and use it in GitHub Desktop.
public enum CascadeType {
UPDATE,
PERSIST,
...;
private final CascasdeStyle correspondingCascadeStyle;
CascadeType(CascasdeStyle correspondingCascadeStyle) {
this.correspondingCascadeStyle = correspondingCascadeStyle;
}
public CascasdeStyle getCorrespondingCascadeStyle() {
return correspondingCascadeStyle;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment