com.devexperts.qd
Interface DataField

All Known Subinterfaces:
DataIntField, DataObjField
All Known Implementing Classes:
AbstractDataField, AbstractDataIntField, AbstractDataObjField, ByteArrayField, CharArrayField, CompactCharField, CompactIntField, DateField, DecimalField, MarshalledObjField, PlainIntField, PlainObjField, SequenceField, ShortStringField, StringField, TimeField, VoidIntField, VoidObjField

public interface DataField

Common super-interface for DataIntField and DataObjField. Those two interfaces are the only actual interfaces that are used for all data fields in QD -- any data field instance implements exactly one of them.


Method Summary
 int getIndex()
          Returns index of this field in its parent DataRecord.
 java.lang.String getLocalName()
          Returns local name of this field -- the name of this field that is unique withing the record.
 java.lang.String getName()
          Returns name of this field.
 DataRecord getRecord()
          Returns parent DataRecord of this field.
 SerialFieldType getSerialType()
          Returns serial type of this field.
 

Method Detail

getRecord

DataRecord getRecord()
Returns parent DataRecord of this field.


getIndex

int getIndex()
Returns index of this field in its parent DataRecord.


getName

java.lang.String getName()
Returns name of this field. The name must be unique within the whole DataScheme. It is required that this full field name consists of its parent record name followed by dot ('.') followed by local name of this filed like these: "FooRecord.Category", "FooRecord.Amount", etc.


getLocalName

java.lang.String getLocalName()
Returns local name of this field -- the name of this field that is unique withing the record.

See Also:
getName()

getSerialType

SerialFieldType getSerialType()
Returns serial type of this field. It describes the serialized form of this field in QTP protocol with enough detail to skip the serialized value of this field if necessary.