Gang, I think it is a good idea to abandon String for identity, and I am going to change that across the board. Since interfaces in Java 8 can have methods, I am adding
static Identity fromString( String s ); as a constructor of a generic, lightweight Identity instance. I will also do similar things if I find more use of generic types in the API, such as long for timestamps. It will also mean that all such types are validated on creation. Any objections? Cheers -- Niclas Hedhman, Software Developer http://zest.apache.org - New Energy for Java