Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • a field for each feature
  • a reference to the _Type instance
    • only for backwards compatibility for low-level access model
    • One instance per type system
    • has ref to TypeImpl?
  • a reference to the CAS View (needed for backwards compatibility, and to support addToIndexes for the right view)
  • a ref to a type-system-wide Bitset for index corruption testing
  • Constructors
    • new Foo(Cas)
  • Methods
    • getter / setter for all fields
      • The setter methods may include index corruption checking code.
        • May be code which tests at runtime on each set, whether or not this 
    • indexed getter/setter for fields defined as arrays
    • (via inheritance) 
      • a collection of get/set methods, one per boolean/byte/short.../double/String/TOP/JavaObject and arrays of these, kinds of values.
        • The methods take an extra "offset" value, obtained from the Feature.
        • Used for backwards compatibility with non-JCas styles, and for serialization and other "generic" operations

...