Package com.nt.udc.ndk.node
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 Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.use getField(FieldKey)byte[]
getFieldValue
(FieldKey key) byte[]
getFieldValue
(String attrId) Deprecated.use getFieldValue(FieldKey)int
Retrieves the type of the value stored at the specified idvoid
setField
(int attrId, int type, byte[] value) Deprecated.use setField(FieldKey, int, byte[])void
Stores a given value at the specified idvoid
void
Deprecated.use setField(FieldKey, int, byte[])byte[]
Converts the data contained in this object to a byte arraytoString()
Converts the data contained in this object to a String
-
Method Details
-
getField
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
-
getFieldValue
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
-
setField
Deprecated.use setField(FieldKey, int, byte[])Stores a given value at the specified id- Parameters:
attrId
- Numeric identifier for the fieldtype
- Data type for the fieldvalue
- Value to be stored in the given field
-
setField
Deprecated.use setField(FieldKey, int, byte[])Stores a given value at the specified id- Parameters:
attrId
- Identifier for the fieldtype
- Data type for the fieldvalue
- Value to be stored in the given field
-
setField
-
setField
Stores a given value at the specified id- Parameters:
field
- The DCField object representing the field.
-
getType
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 -
clone
Object clone()
-