|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (MODELLO-120) Model#getModelClass() doesn't use interfaceModel#getModelClass() doesn't use interface
------------------------------------------- Key: MODELLO-120 URL: http://jira.codehaus.org/browse/MODELLO-120 Project: Modello Issue Type: Bug Components: modello-core Reporter: Vincent Siveton snippet {code:xml} <model> ... <interfaces> <interface> <name>MyInterface</name> <description>XXX</description> <version>1.0.0</version> </interface> </interfaces> <classes> <class> <name>MyClass</name> <description>XXX</description> <version>1.0.0</version> <fields> <field> <name>test</name> <description>The test</description> <version>1.0.0</version> <association> <type>MyInterface</type> <multiplicity>*</multiplicity> <identifier>true</identifier> </association> <identifier>true</identifier> </field> </fields> </class> </classes> </model> {code} Exception: {noformat} org.codehaus.modello.ModelloRuntimeException: There is no class 'MyInterface' in the version range '1.0.0'. at org.codehaus.modello.model.Model.getClass(Model.java:176) at org.codehaus.modello.model.ModelAssociation.validateElement(ModelAssociation.java:128) ... {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-120) Model#getModelClass() doesn't use interface[ http://jira.codehaus.org/browse/MODELLO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy updated MODELLO-120: ---------------------------------- Fix Version/s: 1.0 > Model#getModelClass() doesn't use interface > ------------------------------------------- > > Key: MODELLO-120 > URL: http://jira.codehaus.org/browse/MODELLO-120 > Project: Modello > Issue Type: Bug > Components: modello-core > Reporter: Vincent Siveton > Fix For: 1.0 > > > snippet > {code:xml} > <model> > ... > <interfaces> > <interface> > <name>MyInterface</name> > <description>XXX</description> > <version>1.0.0</version> > </interface> > </interfaces> > <classes> > <class> > <name>MyClass</name> > <description>XXX</description> > <version>1.0.0</version> > <fields> > <field> > <name>test</name> > <description>The test</description> > <version>1.0.0</version> > <association> > <type>MyInterface</type> > <multiplicity>*</multiplicity> > <identifier>true</identifier> > </association> > <identifier>true</identifier> > </field> > </fields> > </class> > </classes> > </model> > {code} > Exception: > {noformat} > org.codehaus.modello.ModelloRuntimeException: There is no class 'MyInterface' in the version range '1.0.0'. > at org.codehaus.modello.model.Model.getClass(Model.java:176) > at org.codehaus.modello.model.ModelAssociation.validateElement(ModelAssociation.java:128) > ... > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-120) can't have an association to an interface instead of a class[ http://jira.codehaus.org/browse/MODELLO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy updated MODELLO-120: ---------------------------------- Fix Version/s: (was: 1.0.1) 1.1 Summary: can't have an association to an interface instead of a class (was: Model#getModelClass() doesn't use interface) > can't have an association to an interface instead of a class > ------------------------------------------------------------ > > Key: MODELLO-120 > URL: http://jira.codehaus.org/browse/MODELLO-120 > Project: Modello > Issue Type: Bug > Components: modello-core > Reporter: Vincent Siveton > Fix For: 1.1 > > > snippet > {code:xml} > <model> > ... > <interfaces> > <interface> > <name>MyInterface</name> > <description>XXX</description> > <version>1.0.0</version> > </interface> > </interfaces> > <classes> > <class> > <name>MyClass</name> > <description>XXX</description> > <version>1.0.0</version> > <fields> > <field> > <name>test</name> > <description>The test</description> > <version>1.0.0</version> > <association> > <type>MyInterface</type> > <multiplicity>*</multiplicity> > <identifier>true</identifier> > </association> > <identifier>true</identifier> > </field> > </fields> > </class> > </classes> > </model> > {code} > Exception: > {noformat} > org.codehaus.modello.ModelloRuntimeException: There is no class 'MyInterface' in the version range '1.0.0'. > at org.codehaus.modello.model.Model.getClass(Model.java:176) > at org.codehaus.modello.model.ModelAssociation.validateElement(ModelAssociation.java:128) > ... > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MODELLO-120) can't have an association to an interface instead of a class[ http://jira.codehaus.org/browse/MODELLO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187299#action_187299 ] Herve Boutemy commented on MODELLO-120: --------------------------------------- I started to work on the issue, refactored some code to prepare the feature. But now, I have a question: if java code can be generated with an association to an interface, what code to generate for XML readers/writers? then xdoc and xsd? Does it make sense to only generate java code but nothing about XML? > can't have an association to an interface instead of a class > ------------------------------------------------------------ > > Key: MODELLO-120 > URL: http://jira.codehaus.org/browse/MODELLO-120 > Project: Modello > Issue Type: Bug > Components: modello-core > Reporter: Vincent Siveton > Fix For: 1.1 > > > snippet > {code:xml} > <model> > ... > <interfaces> > <interface> > <name>MyInterface</name> > <description>XXX</description> > <version>1.0.0</version> > </interface> > </interfaces> > <classes> > <class> > <name>MyClass</name> > <description>XXX</description> > <version>1.0.0</version> > <fields> > <field> > <name>test</name> > <description>The test</description> > <version>1.0.0</version> > <association> > <type>MyInterface</type> > <multiplicity>*</multiplicity> > <identifier>true</identifier> > </association> > <identifier>true</identifier> > </field> > </fields> > </class> > </classes> > </model> > {code} > Exception: > {noformat} > org.codehaus.modello.ModelloRuntimeException: There is no class 'MyInterface' in the version range '1.0.0'. > at org.codehaus.modello.model.Model.getClass(Model.java:176) > at org.codehaus.modello.model.ModelAssociation.validateElement(ModelAssociation.java:128) > ... > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (MODELLO-120) can't have an association to an interface instead of a class[ http://jira.codehaus.org/browse/MODELLO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187340#action_187340 ] Vincent Siveton commented on MODELLO-120: ----------------------------------------- make sense to generate nothing IMHO > can't have an association to an interface instead of a class > ------------------------------------------------------------ > > Key: MODELLO-120 > URL: http://jira.codehaus.org/browse/MODELLO-120 > Project: Modello > Issue Type: Bug > Components: modello-core > Reporter: Vincent Siveton > Fix For: 1.1 > > > snippet > {code:xml} > <model> > ... > <interfaces> > <interface> > <name>MyInterface</name> > <description>XXX</description> > <version>1.0.0</version> > </interface> > </interfaces> > <classes> > <class> > <name>MyClass</name> > <description>XXX</description> > <version>1.0.0</version> > <fields> > <field> > <name>test</name> > <description>The test</description> > <version>1.0.0</version> > <association> > <type>MyInterface</type> > <multiplicity>*</multiplicity> > <identifier>true</identifier> > </association> > <identifier>true</identifier> > </field> > </fields> > </class> > </classes> > </model> > {code} > Exception: > {noformat} > org.codehaus.modello.ModelloRuntimeException: There is no class 'MyInterface' in the version range '1.0.0'. > at org.codehaus.modello.model.Model.getClass(Model.java:176) > at org.codehaus.modello.model.ModelAssociation.validateElement(ModelAssociation.java:128) > ... > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (MODELLO-120) can't have an association to an interface instead of a class[ http://jira.codehaus.org/browse/MODELLO-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy updated MODELLO-120: ---------------------------------- Fix Version/s: (was: 1.1) > can't have an association to an interface instead of a class > ------------------------------------------------------------ > > Key: MODELLO-120 > URL: http://jira.codehaus.org/browse/MODELLO-120 > Project: Modello > Issue Type: Bug > Components: modello-core > Reporter: Vincent Siveton > > snippet > {code:xml} > <model> > ... > <interfaces> > <interface> > <name>MyInterface</name> > <description>XXX</description> > <version>1.0.0</version> > </interface> > </interfaces> > <classes> > <class> > <name>MyClass</name> > <description>XXX</description> > <version>1.0.0</version> > <fields> > <field> > <name>test</name> > <description>The test</description> > <version>1.0.0</version> > <association> > <type>MyInterface</type> > <multiplicity>*</multiplicity> > <identifier>true</identifier> > </association> > <identifier>true</identifier> > </field> > </fields> > </class> > </classes> > </model> > {code} > Exception: > {noformat} > org.codehaus.modello.ModelloRuntimeException: There is no class 'MyInterface' in the version range '1.0.0'. > at org.codehaus.modello.model.Model.getClass(Model.java:176) > at org.codehaus.modello.model.ModelAssociation.validateElement(ModelAssociation.java:128) > ... > {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |