etoile / CoreObject

Distributed version control + object persistence framework

Home Page:http://coreobject.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove COObject.name

qmathe opened this issue · comments

Since we have COPersistentRoot.name for naming documents, COObject.name could be removed.

COObject subentities could declare a name property if they need one. We could still keep COObject.displayName and document as overridable in subclasses if we feel like it.

It looks like -displayName simply returns -name. So if -name is removed but -displayName is not then what would -displayName return?

I guess displayName would be removed as well?

Agreed, removing -displayName sounds good.