Class CasDefinition

java.lang.Object
org.apache.uima.resource.CasDefinition

public class CasDefinition extends Object
Encapsulates information that defines how to create a CAS.
  • Constructor Details

  • Method Details

    • getFsIndexDescriptions

      public FsIndexDescription[] getFsIndexDescriptions()
      Returns:
      Returns the fsIndexDescriptions.
    • setFsIndexDescriptions

      public void setFsIndexDescriptions(FsIndexDescription[] fsIndexDescriptions)
      Parameters:
      fsIndexDescriptions - The fsIndexDescriptions to set.
    • getResourceManager

      public ResourceManager getResourceManager()
      Returns:
      Returns the resourceManager.
    • setResourceManager

      public void setResourceManager(ResourceManager resourceManager)
      Parameters:
      resourceManager - The resourceManager to set.
    • getTypePriorities

      public TypePriorities getTypePriorities()
      Returns:
      Returns the typePriorities.
    • setTypePriorities

      public void setTypePriorities(TypePriorities typePriorities)
      Parameters:
      typePriorities - The typePriorities to set.
    • getTypeSystemDescription

      public TypeSystemDescription getTypeSystemDescription()
      Returns:
      Returns the typeSystemDescription.
    • setTypeSystemDescription

      public void setTypeSystemDescription(TypeSystemDescription typeSystemDescription)
      Parameters:
      typeSystemDescription - The typeSystemDescription to set.
    • getCasManager

      public CasManager getCasManager()
      Gets the CasManager associated with this CAS Definition.
      Returns:
      this CAS Definition's CasManager
    • getProcessingResourceMetaData

      public ProcessingResourceMetaData getProcessingResourceMetaData()
      Constructs and returns a ProcessingResourceMetaData object that contains the type system, indexes, and type priorities definitions for the CAS.
      Returns:
      processing resource metadata object containing the relevant parts of the CAS definition
    • getTypeSystemImpl

      public TypeSystemImpl getTypeSystemImpl()
      Returns:
      the typeSystemImpl
    • setTypeSystemImpl

      public void setTypeSystemImpl(TypeSystemImpl typeSystemImpl)
      Parameters:
      typeSystemImpl - the typeSystemImpl to set