* system, indexes, and type priorities definitions for the CAS.
*
* @return processing resource metadata object containing the relevant parts of the CAS definition
*/
public ProcessingResourceMetaData getMetadata() throws ResourceInitializationException {
CasDefinition casDefinition = casManager.getCasDefinition();
ProcessingResourceMetaData md = UIMAFramework.getResourceSpecifierFactory()
.createProcessingResourceMetaData();
md.setTypeSystem(casDefinition.getTypeSystemDescription());
md.setTypePriorities(casDefinition.getTypePriorities());
FsIndexCollection indColl = UIMAFramework.getResourceSpecifierFactory()
.createFsIndexCollection();
indColl.setFsIndexes(casDefinition.getFsIndexDescriptions());
md.setFsIndexCollection(indColl);
return md;
}