Class PascalUnicodeDataType

All Implemented Interfaces:
BuiltInDataType, DataType, DataTypeWithCharset, Dynamic, ExtensionPoint

public class PascalUnicodeDataType extends AbstractStringDataType
A length-prefixed string DataType (max 64k bytes) with char size of 2 bytes, UTF-16 charset, unbounded (ignores containing field size, relies on embedded length value).

  • Field Details

  • Constructor Details

    • PascalUnicodeDataType

      public PascalUnicodeDataType()
    • PascalUnicodeDataType

      public PascalUnicodeDataType(DataTypeManager dtm)
  • Method Details

    • clone

      public DataType clone(DataTypeManager dtm)
      Description copied from interface: DataType
      Returns an instance of this DataType using the specified DataTypeManager to allow its use of the corresponding DataOrganization while retaining its unique identity (see DataType.getUniversalID() and archive association (see DataType.getSourceArchive()) if applicable.

      This instance will be returned if this datatype's DataTypeManager matches the specified dtm. The recursion depth of a clone will stop on any datatype whose DataTypeManager matches the specified dtm and simply use the existing datatype instance.

      NOTE: In general, this method should not be used to obtain an instance to be modified. In most cases changes may be made directly to this instance if supported or to a DataType.copy(DataTypeManager) of this type.

      Parameters:
      dtm - the data-type manager instance whose data-organization should apply.
      Returns:
      cloned instance which may be the same as this instance