Class PascalString255DataType

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

public class PascalString255DataType extends AbstractStringDataType
A length-prefixed string DataType (max 255 bytes) with char size of 1 byte, user setable charset (default ASCII), unbounded (ignores containing field size, relies on embedded length value).

  • Field Details

  • Constructor Details

    • PascalString255DataType

      public PascalString255DataType()
    • PascalString255DataType

      public PascalString255DataType(DataTypeManager dtm)
  • Method Details

    • copy

      public DataType copy(boolean retainIdentity)
    • 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