Class StringDataType

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

public class StringDataType extends AbstractStringDataType
A fixed-length string DataType with a user setable charset (default ASCII).

All string data types:

The following settings are supported by all string types on the data instance:

  • Field Details

  • Constructor Details

    • StringDataType

      public StringDataType()
    • StringDataType

      public StringDataType(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