Add EntityAccessor::getPrimaryKeyValues() method.
Fix pass wrong value when generating primary key.
Add EntityAccessor::getPublicProperty() method.
Add EntityAccessor::getPublicProperties() method.
Reformat code.