# Uses of Class
com.tietoenator.trip.jxp.database.TdbFieldDesign

Packages that use TdbFieldDesign
Package
Description
com.tietoenator.trip.jxp.data
Database content manipulation.
com.tietoenator.trip.jxp.database
Classes to inspect and modify database design.

- ## Uses of TdbFieldDesign in com.tietoenator.trip.jxp.data

  Methods in com.tietoenator.trip.jxp.data with parameters of type TdbFieldDesign
  Modifier and Type
  Method
  Description
  `TdbField`
  TdbComponent.`createField(TdbFieldDesign design)`
  Create a new field instance
  This factory method creates a TdbField-derived object of the appropriate class and associates the new instance with this component.
  `void`
  TdbRecord.`setPartNameField(TdbFieldDesign field)`
  Set the part name field, so that automatic assignment from the TdbComponent.getName() and TdbComponent.setName() methods happens appropriately.
  `void`
  TdbRecord.`setRecordNameField(TdbFieldDesign field)`
  Set the record name field, so that automatic assignment from the getRecordName() / setRecordName() methods happens appropriately.
  `void`
  TdbRecord.`setRecordNumberField(TdbFieldDesign field)`
  Set the record number field, so that automatic assignment from the getRecordId() method happens appropriately.

- ## Uses of TdbFieldDesign in com.tietoenator.trip.jxp.database

  Methods in com.tietoenator.trip.jxp.database that return TdbFieldDesign
  Modifier and Type
  Method
  Description
  `TdbFieldDesign`
  TdbDatabaseDesign.`getFieldById(int id)`
  Retrieve a reference to the design for a field with the specified field number.
  `TdbFieldDesign`
  TdbDatabaseDesign.`getFieldByIndex(int index)`
  Retrieve the n'th field within the database design.
  `TdbFieldDesign`
  TdbDatabaseDesign.`getFieldByName(String name)`
  Retrieve the named field within the database design.
  Methods in com.tietoenator.trip.jxp.database that return types with arguments of type TdbFieldDesign
  Modifier and Type
  Method
  Description
  `List<TdbFieldDesign>`
  TdbDatabaseDesign.`fields()`
  Retrieve the field collection, i.e. the set of field designs that comprise the database design.
  `List<TdbFieldDesign>`
  TdbDatabaseClusterDesign.`getCommonFields()`
  Return a list of fields common to all databases in the cluster.
  `List<TdbFieldDesign>`
  TdbDatabaseClusterDesign.`getCommonFields(String name)`
  Return a list of fields common to all databases in the cluster.
  Methods in com.tietoenator.trip.jxp.database with parameters of type TdbFieldDesign
  Modifier and Type
  Method
  Description
  `void`
  TdbDatabaseDesign.`addField(TdbFieldDesign field)`
  Append a new field definition to the current design.
  `int`
  TdbFieldDesign.`compareTo(TdbFieldDesign field)`
  Order this object with relation to another -- required to be able to sort a collection of these objects.
  `void`
  TdbFieldDesign.`copyFrom(TdbFieldDesign src)`
  Initialize this instance from the source provided
  `void`
  TdbDatabaseDesign.`putField(TdbFieldDesign field)`
  Store a single modified field's properties to the server.
  `void`
  TdbDatabaseDesign.`removeField(TdbFieldDesign field)`
  Remove a particular field from the current database design.
  `void`
  TdbDatabaseDesign.`validateField(TdbFieldDesign field)`
  Validate a particular field's design against the database design.
  Method parameters in com.tietoenator.trip.jxp.database with type arguments of type TdbFieldDesign
  Modifier and Type
  Method
  Description
  `void`
  TdbDatabaseDesign.`setFields(Collection<TdbFieldDesign> fields)`
  Replace or establish the field collection, i.e. the set of field designs that comprise the database design.
  Constructors in com.tietoenator.trip.jxp.database with parameters of type TdbFieldDesign
  Modifier
  Constructor
  Description
  ``
  `TdbFieldDesign(TdbFieldDesign src)`
  Copy constructor