Re: Hibernate Plugin Issue

Mark Russell <[email protected]> Thu, 09 Aug 2007 21:58:32 -0400
Newsgroups gmane.comp.java.xdoclet-plugins
Organization Instantiations, Inc.
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Konstantin Priblouda wrote:
>> I'm using 1.0.3 how do I get 1.0.4-SNAPSHOT?
> 
> you can get full bundle from here:
> http://dist.codehaus.org/xdoclet-plugins/tar.gzs/
> 
> or just a plugin from:
> http://dist.codehaus.org/xdoclet-plugins/jars/
> 
> regards,
> 
> ----[ Konstantin Pribluda http://www.pribluda.de ]----------------
> JTec quality components: http://www.pribluda.de/projects/Here is my whole Java file
> 
> 
>        
> ____________________________________________________________________________________
> Yahoo! oneSearch: Finally, mobile search 
> that gives answers, not web links. 
> http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> 

Here is my whole Java file:
/**
 * Copyright 2006,2007 Instantiations, INC.
 * all rights reserver
 */
package com.instantiations.hb.test;




/**
 * transport class to manipulate the data in the database
 * @author Mark Russell
 * @hibernate.class table="app_info"
 *
 */
public class AppInfo {
	/**
	 * @author Mark Russell
	 * @since 1.0
	 */

	private static final long serialVersionUID = -3852695637684349154L;
	private long id = 0;
	private String authorName = null;
	private String authorTitle = null;
	private String authorEmail = null;
	private String companyName = null;
	private String companyURL = null;
//	private Object authorCompanyLogo = null;
	
	private String applicationName = null;
	private String applicationURL = null;
	private String applicationDescription = null;
//	private Object applicationLogo = null;
//	private Object applicationScreenshot = null;

	public AppInfo() {
		// zero arg constructor
	}

	/**
	 *
	 * @return
	 * @hibernate.property not-null="true"
	 */
	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	/**
	 *
	 * @return
	 * @hibernate.property  access="property" not-null="true"
	 */
	public String getAuthorTitle() {
		return authorTitle;
	}

	public void setAuthorTitle(String authorTitle) {
		this.authorTitle = authorTitle;
	}

	/**
	 *
	 * @return
	 * @hibernate.property access="property"
	 */
	public String getAuthorEmail() {
		return authorEmail;
	}

	public void setAuthorEmail(String authorEmail) {
		this.authorEmail = authorEmail;
	}

	/**
	 *
	 * @return
	 * @hibernate.property access="property"
	 */
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	/**
	 *
	 * @return
	 * @hibernate.property access="property"
	 */
	public String getCompanyURL() {
		return companyURL;
	}

	public void setCompanyURL(String companyURL) {
		this.companyURL = companyURL;
	}

	/**
	 *
	 * @return
	 * @hibernate.property access="property"  not-null="true"
	 */
	public String getApplicationName() {
		return applicationName;
	}

	public void setApplicationName(String applicationName) {
		this.applicationName = applicationName;
	}

	/**
	 *
	 * @return
	 * @hibernate.property access="property"
	 */
	public String getApplicationURL() {
		return applicationURL;
	}

	public void setApplicationURL(String applicationURL) {
		this.applicationURL = applicationURL;
	}

	/**
	 *
	 * @return
	 * @hibernate.property access="property" not-null="true"
	 */
	public String getApplicationDescription() {
		return applicationDescription;
	}

	public void setApplicationDescription(String applicationDescription) {
		this.applicationDescription = applicationDescription;
	}

//	@Override
	public String toString() {
		StringBuffer ret = new StringBuffer();
		ret.append("id").append(getId()).
			append(" authorName = ").append(getAuthorName()).
			append(" authorTitle = ").append(getAuthorTitle()).
			append(" authorEmail = ").append(getAuthorEmail()).
			append(" companyName = ").append(getCompanyName()).
			append(" companyURL = ").append(getCompanyURL()).
			append(" appName = ").append(getApplicationName()).
			append(" appDescription = ").append(getApplicationDescription()).
			append(" appURL = ").append(getApplicationURL());
			
			return ret.toString();
	}

	/**
	 * answer the id for this application
	 * @return the appiation ID
	 * @hibernate.id  generator-class="native" access="property"
	 */
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
}


I could be doing something wrong
- --
Mark Russell
Instantiations, Inc.
724-368-3331 (land line)
http://www.instantiations.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGu8ZIyHA2ZZVyicQRAqlHAJ9raYeQ+ep4jXWV8fD2evoQubmkTACgqpQg
jySl+tmi3YXbhczx3ce7s4g=
=dbI6
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/