public function getProperties()
{
if ($this->getData('properties') === null) {
$propertiesCollection = new Property\Collection();
$propertiesCollection->load($this->getDocumentTypeId(), $this->getId());
$this->setData('properties', $propertiesCollection->getProperties());
}
return $this->getData('properties');
}