Interface DCFieldContainer

All Known Implementing Classes:
Asn1EIRecord, COSAR, DCEIRecord, DCEIRecordAdapter, DCOIRecord, DCOIRecordAdapter, FFOIRecord, FileEIRecord, GenericFlatFileRecord, GenevaOIRecord, HashedEIRecord, HashedEIRecord, IPDRFieldAsAttrRecord, IPDRFieldAsElementRecord, IPDRFieldAsElementV2Record, IPDROIRecord, IPDRRecord, IPDRSAXRecord, IPDRTableRecord, JDBCEIRecord, JDBCOIRecord, KnownFieldLengthRecord, NAR, RadiusOIRecord, SimpleUdpEIRecord, SoapEIRecord, StringRecord, UDCRecord, XMLFieldAsElementRecord, XMLRecordContainer

public interface DCFieldContainer
Generic interface used for passing data within and between Nodes.
  • Method Details

    • getField

      @Deprecated DCField getField(String attrId)
      Deprecated.
      use getField(FieldKey)
      Retrieves field value with the specified id
      Parameters:
      attrId - Identifier of the desired field
      Returns:
      The DCField object that represents the field
    • getField

      DCField getField(FieldKey key)
    • getFieldValue

      @Deprecated byte[] getFieldValue(String attrId)
      Deprecated.
      use getFieldValue(FieldKey)
      Retrieves field value with the specified id
      Parameters:
      attrId - Identifier of the desired field
      Returns:
      the bytes that represent the field value
    • getFieldValue

      byte[] getFieldValue(FieldKey key)
    • setField

      @Deprecated void setField(int attrId, int type, byte[] value)
      Deprecated.
      use setField(FieldKey, int, byte[])
      Stores a given value at the specified id
      Parameters:
      attrId - Numeric identifier for the field
      type - Data type for the field
      value - Value to be stored in the given field
    • setField

      @Deprecated void setField(String attrId, int type, byte[] value)
      Deprecated.
      use setField(FieldKey, int, byte[])
      Stores a given value at the specified id
      Parameters:
      attrId - Identifier for the field
      type - Data type for the field
      value - Value to be stored in the given field
    • setField

      void setField(FieldKey attrId, int type, byte[] value)
    • setField

      void setField(DCField field)
      Stores a given value at the specified id
      Parameters:
      field - The DCField object representing the field.
    • getType

      int getType(String attrId)
      Retrieves the type of the value stored at the specified id
      Parameters:
      attrId - Identifier of the field
      Returns:
      int value, representing the type
    • toByteArray

      byte[] toByteArray()
      Converts the data contained in this object to a byte array
      Returns:
      byte[] representation of the data
    • toString

      String toString()
      Converts the data contained in this object to a String
      Overrides:
      toString in class Object
      Returns:
      String representation of the data
    • clone

      Object clone()