CaseType class

The CaseType class represents a case type that is part of a deployed solution.

To obtain an instance of CaseType, use one of the factory methods:
  • fetchInstance
  • getFetchlessInstance
If an instance is obtained by calling fetchInstance, the method verifies that the referenced object store and case type symbolic name represent a valid case type. The method throws an exception if the case type is invalid. If getFetchlessInstance is called, no such verification occurs. An exception might be thrown later if a method is called that requires that the identifiers used to reference the case type are valid.

Much of the information contained in a CaseType instance is managed by a cache that is internal to the IBM® Business Automation Workflow Java™ API. All of the information can be retrieved, whether the instance was obtained with or without a fetch operation. However, the fetchInstance method runs only an initial check to ensure that the referenced case type is valid.