MappedLongForeignKey and MappedStringForeignKey do not have equivalent API
MappedLongForeignKey
MappedStringForeignKey
these 2 classes have the same exact meaning except for one is using Long as datatype while the other uses String.
they should have the exact same API (maybe differ when need to handle the actually data, after all one is Long and the other is String)
MappedStringForeignKey has an abstract method "foreignMeta" that needs to be implemented while the MappedLongForeignKey has this method implemented already.
And should have the alias method "foreign" for "obj" which MappedLongForeignKey has.
MappedStringForeignKey
these 2 classes have the same exact meaning except for one is using Long as datatype while the other uses String.
they should have the exact same API (maybe differ when need to handle the actually data, after all one is Long and the other is String)
MappedStringForeignKey has an abstract method "foreignMeta" that needs to be implemented while the MappedLongForeignKey has this method implemented already.
And should have the alias method "foreign" for "obj" which MappedLongForeignKey has.
Leave a comment