IndustrialDragonfly / DEdC

Collaborative DFD Editor
MIT License
6 stars 1 forks source link

Make IDs into a class #77

Closed eugene-davis closed 10 years ago

eugene-davis commented 10 years ago

IDs should be moved into a class. This allows constructors to check if an object is of the ID class (or a subclass of it), meaning that you don't have to deal with detecting of something is an ID string or a username string (for example). Also this would allow us to put the strip and add tag functions from assocativeArray manager into the ID class (and probably move the rest of the functionality from there into the Request and Response abstract objects). And finally, there would be an empty constructor to generate a new ID.

eugene-davis commented 10 years ago

This has been completed, and is now awaiting integration into all data models.