AFAIK, the @ejb.value-object tags are for use with the <valueobject> task, yet you're 
generating *data-objects*. DOs were replaced with VOs, however the session fa�ades 
still use DOs. I'm not using either anymore, but that's at least a place to begin your 
investigation.

David Harkness
Sony Pictures Digital Networks
(310) 482-4756


-----Original Message-----
From: Mauricio De Diana [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 22, 2003 12:48 PM
To: xdoclet-user
Subject: [Xdoclet-user] Error generating value objects


Hi all,

I�m trying to generate two VOs for my bean.
Xdoclet generates the complete VO (GroupTO), but
doesn�t generate the other (GroupLightTO).

My code is: 

/**
 * @ejb:bean                        name="Group"
 *           view-type="both"
 *           type="CMP"
 * @ejb:value-object
 *   name="GroupLight"
 *   match="light"
 */
public abstract class GroupBean implements EntityBean
{
  /**
   * @ejb.value-object match="light"
   * @ejb:interface-method
   */
  public abstract void setName(String name);

  /**
   * @ejb:interface-method
   */
  public abstract void setParent(String parent);

  /**
   * @ejb.interface-method
   */
  public abstract GroupLightTO getGroupLightTO();

  /**
   * @ejb.value-object match="light"
   * @ejb:interface-method
   * @ejb:pk-field
   * @ejb:persistent-field
   */
  public abstract String getName();

  /**
   * @ejb:interface-method
   * @ejb:persistent-field
   */
  public abstract String getParent();
}

My Xdoclet tag for VOs is <dataobject
pattern="{0}TO"/>.

Can anyone shed some light on this?

Thanks in advance,

Mauricio

_______________________________________________________________________
Desafio AntiZona - Um emocionante desafio de perguntas e respostas que te d� um 
Renault Clio, kits de eletr�nicos, computadores, notebooks e 
mochilas. Cadastre-se, participe e concorra! www.cade.com.br/antizona


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT 
REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial 
click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to