Interface Dataset
- All Known Implementing Classes:
ISODataset
public interface Dataset
Represents one dataset instance inside an ISO 8583:2023 composite field.
-
Method Summary
Modifier and TypeMethodDescriptiongetElement(int id) Returns the first element that matches the supplied identifier.Returns all decoded elements in insertion order.getElements(int id) Returns all elements that match the supplied element identifier.Returns the logical dataset encoding format.intReturns the dataset identifier as carried on the wire.
-
Method Details
-
getIdentifier
int getIdentifier()Returns the dataset identifier as carried on the wire.- Returns:
- dataset identifier in the range
0x01to0xFE
-
getFormat
-
getElements
Returns all decoded elements in insertion order.- Returns:
- immutable list of dataset elements
-
getElements
Returns all elements that match the supplied element identifier.- Parameters:
id- element identifier, either a TLV tag or DBM bit number- Returns:
- immutable list of matching elements
-
getElement
Returns the first element that matches the supplied identifier.- Parameters:
id- element identifier, either a TLV tag or DBM bit number- Returns:
- matching element or
nullwhen absent
-