[
https://issues.apache.org/jira/browse/TORQUE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629284#comment-13629284
]
Thomas Fox commented on TORQUE-273:
-----------------------------------
The simplest example of a typed model would be classes with public fields, e.g.
public class Table {
public List<Column> columns;
public String name
...
}
The current type-free model is a generic graph where nodes have attributes and
child elements.
One big question is how to support the existing type-free model and a typed
model. The following ideas come to my mind
1) use typed model and untyped model in parallel
2) either have a typed or an untyped model at one time
1) has a problem with transformation: once we have a typed model, we want to
use it for transformations. in 1) the typed and untyped models would get out of
sync. This is not a problem with 2)
So my first try is going for 2)
> Support typed models in the generator
> -------------------------------------
>
> Key: TORQUE-273
> URL: https://issues.apache.org/jira/browse/TORQUE-273
> Project: Torque
> Issue Type: Improvement
> Components: Generator
> Affects Versions: 4.0
> Reporter: Thomas Fox
> Assignee: Thomas Fox
>
> Apart from the generic graph model, the generator should be able to fill a
> user-supplied model with the graph information and use this in tranformer and
> templates
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]