Anomalie #1732

Cannot compile with N multiplicity to an enumeration

Added by Arnaud Thimel over 1 year ago. Updated over 1 year ago.

Status:RésoluStart date:09/05/2011
Priority:NormalDue date:
Assignee:Tony Chemit% Done:

100%

Category:generationEstimated time:1.00 hour
Target version:2.6.2Spent time:1.00 hour

Description

When generating the following model :
Contact --[1]----------[1..*]--> ContactType

Compilation fails in ContactAbstract on :

@Override
public ContactType getContactTypeByTopiaId(String topiaId) {
return TopiaEntityHelper.getEntityByTopiaId(contactType, topiaId);
}

when ContactType is an enum, not a TopiaEntity

Attached is a sample project for this bug.

topia-test-multienum.tgz (5.8 KB) Arnaud Thimel, 09/05/2011 11:11 am

History

#1 Updated by Tony Chemit over 1 year ago

  • Status changed from Nouveau to Assigné
  • Assignee set to Tony Chemit
  • Estimated time set to 1.00

#2 Updated by Tony Chemit over 1 year ago

  • Status changed from Assigné to Résolu
  • % Done changed from 0 to 100

Fixed in r2336.

Also available in: Atom PDF