alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Hibernate example source code file (Role.java)

This example Hibernate source code file (Role.java) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Hibernate tags/keywords

hashset, hashset, list, list, role, role, set, set, util

The Hibernate Role.java source code

package org.hibernate.test.legacy;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
 * @author hbm2java
 */
public class Role {

   long id;
   java.lang.String name;
   Set interventions = new HashSet();
private List bunchOfStrings;

  long getId() {
    return id;
  }

  void  setId(long newValue) {
    id = newValue;
  }

  java.lang.String getName() {
    return name;
  }

  void  setName(java.lang.String newValue) {
    name = newValue;
  }

  public Set getInterventions() {
  	return interventions;
  }
  
  public void setInterventions(Set iv) {
  	interventions = iv;
  }

  List getBunchOfStrings() {
  	return bunchOfStrings;
  }
  
  void setBunchOfStrings(List s) {
  	bunchOfStrings = s;
  }
}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate Role.java source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.