Skip to content

Support generation of Generic Models #21

Open
@rfscholte

Description

@rfscholte

The Maven project has several steps to come to a resolved Model (inheritance, interpolation) where values can be symbolic (ie "${something}"). Right now it means that everything has to be a String, even if the resolved value will be an integer or a boolean.
It would be an improvement if there was something like

class Model<BLN,BT,CHR,DBL,INT,FLT,LNG,SHRT>

rawModel = new Model<String,String,String,String,String,String,String>()
resolvedModel = new Model<Byte,Boolean,Character,Double,Integer,Float,Long,Short>()

This way we don't have to do any concessions and the actual Type in the end becomes clear.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions