| 85 | } |
| 86 | |
| 87 | std::shared_ptr<class Meta::VersionList> Component::getVersionList() const |
| 88 | { |
| 89 | // FIXME: what if the metadata index isn't loaded yet? |
| 90 | if(APPLICATION->metadataIndex()->hasUid(m_uid)) |
| 91 | { |
| 92 | return APPLICATION->metadataIndex()->get(m_uid); |
| 93 | } |
| 94 | return nullptr; |
| 95 | } |
| 96 | |
| 97 | int Component::getOrder() |
| 98 | { |
no test coverage detected