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

Hibernate example source code file (Componentizable.java)

This example Hibernate source code file (Componentizable.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

component, component, componentizable, componentizable, integer, integer, string, string

The Hibernate Componentizable.java source code

//$Id: Componentizable.java 4599 2004-09-26 05:18:27Z oneovthafew $
package org.hibernate.test.legacy;


/**
 * contains components
 * 
 * @author emmanuel
 */
public class Componentizable {
	/** surrogate id */
	private Integer _id;
    
    public String _nickName;
	
	/** component */
    private Component _component;

    /**
     * @return
     */
    public Integer getId() {
        return _id;
    }

    /**
     * @param integer
     */
    public void setId(Integer integer) {
        _id = integer;
    }

    /**
     * @return
     */
    public Component getComponent() {
        return _component;
    }

    /**
     * @param component
     */
    public void setComponent(Component component) {
        _component = component;
    }

    /**
     * @return
     */
    public String getNickName() {
        return _nickName;
    }

    /**
     * @param string
     */
    public void setNickName(String string) {
        _nickName = string;
    }

}

Other Hibernate examples (source code examples)

Here is a short list of links related to this Hibernate Componentizable.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.