Issue Details (XML | Word | Printable)

Key: JFORCE-20
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dimitri Kurashvili
Reporter: Dimitri Kurashvili
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jforce

[8 pt.] Add "ge.core.jclient.IEntity" generator

Created: 28/Jan/10 12:42 PM   Updated: 01/Feb/10 09:07 PM  Due: 01/Feb/10   Resolved: 01/Feb/10 08:58 PM
Component/s: JClient
Affects Version/s: 0.1
Fix Version/s: 0.1

Time Tracking:
Not Specified

Tags:


 Description  « Hide

Add "ge.core.jclient.IEntity" class generation from "ge.core.core.EntityType". Use templates and StringUtils from ANTLR distribution (http://www.antlr.org) for code generation.

Java class name for each entity type should be "NormalName_ec" (with "_ec" prefix).
Java package is always default (no package declaration on the first line).
Generated Java class should implement all methods of "ge.core.jclient.IEntity".



Dimitri Kurashvili added a comment - 01/Feb/10 08:58 PM

completed at rev. 69


Dimitri Kurashvili added a comment - 01/Feb/10 09:07 PM

implementation is something different from what is requested here.

First of all, IEntity is in org.jforce.core package and it have some new methods.

Generation takes place in "org.jforce.gen" package without renaming class itself.