[XDoclet-JIRA] Created: (XDT-1705) Ability to get Class Tag value from a field that is another class (and has tag)

Glauber Magalhães Pires (JIRA) <[email protected]> Wed, 13 Jul 2011 09:18:27 -0500 (CDT)
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Ability to get Class Tag value from a field that is another class (and has =
tag)
---------------------------------------------------------------------------=
----

                 Key: XDT-1705
                 URL: http://xdoclet.onjira.com/browse/XDT-1705
             Project: XDoclet
          Issue Type: Improvement
          Components: XDoclet Module
    Affects Versions: 1.2.3
         Environment: All
            Reporter: Glauber Magalh=E3es Pires
            Assignee: xdoclet-devel (Use for new issues)


Hi,

I need some way to get a tag value from a class when it is a field of anoth=
er class.

Let me explain better, suppose you have two classes
--------------File =3D Class1 ----------
\**
* tag1 "value1"
*/
public class Class1
{
}
--------------File =3D Class2 ----------
public class Class2
{
     Class1 class1;
}
--------------------

How can I access the the class1 Class tags when I'm in the <XDtField:forAll=
Fields> of Class2?

It would be good if there is a function in the Field handler like <XDtField=
:ifHasClassFieldTag tagName=3D"tag1"> and a <XDtField:getClassFieldTag tagN=
ame=3D"tag1"> =


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       =


---------------------------------------------------------------------------=
---
AppSumo Presents a FREE Video for the SourceForge Community by Eric =

Ries, the creator of the Lean Startup Methodology on "Lean Startup =

Secrets Revealed." This video shows you how to validate your ideas, =

optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev