Package | Description |
---|---|
com.tietoenator.trip.jxp.data |
Database content manipulation.
|
com.tietoenator.trip.jxp.database |
Classes to inspect and modify database design.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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(java.lang.String name)
Retrieve the named field within the database design.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TdbFieldDesign> |
TdbDatabaseDesign.fields()
Retrieve the field collection, i.e.
|
java.util.List<TdbFieldDesign> |
TdbDatabaseClusterDesign.getCommonFields()
Return a list of fields common to all databases in the cluster.
|
java.util.List<TdbFieldDesign> |
TdbDatabaseClusterDesign.getCommonFields(java.lang.String name)
Return a list of fields common to all databases in the cluster.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
TdbDatabaseDesign.setFields(java.util.Collection<TdbFieldDesign> fields)
Replace or establish the field collection, i.e.
|
Constructor and Description |
---|
TdbFieldDesign(TdbFieldDesign src)
Copy constructor
|