[model] add methods getDisplayName and getKey in IHasKey