Created
          June 24, 2011 13:23 
        
      - 
      
- 
        Save sebersole/1044751 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 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