Class ComplexCBEFFInfo

  • All Implemented Interfaces:
    CBEFFInfo

    public class ComplexCBEFFInfo
    extends Object
    implements CBEFFInfo
    Complex (nested) CBEFF BIR. Specified in ISO 19785-1 (version 2.0) and NISTIR 6529-A (version 1.1).
    Since:
    0.4.7
    Version:
    $Revision: 1808 $
    Author:
    The JMRTD team ([email protected])
    • Constructor Detail

      • ComplexCBEFFInfo

        public ComplexCBEFFInfo()
        Constructs a default complex info, with an empty list of sub-records.
    • Method Detail

      • getSubRecords

        public List<CBEFFInfo> getSubRecords()
        Returns the records inside this complex CBEFF info.
        Returns:
        a list of CBEFF infos
      • add

        public void add​(CBEFFInfo subRecord)
        Adds a record to this complex CBEFF info.
        Parameters:
        subRecord - the CBEFF info to add
      • addAll

        public void addAll​(List<CBEFFInfo> subRecords)
        Adds all records in a list to this complex CBEFF info.
        Parameters:
        subRecords - a list of CBEFF infos
      • remove

        public void remove​(int index)
        Removes a record in this complex CBEFF info.
        Parameters:
        index - the index of the CBEFF info to remove
      • equals

        public boolean equals​(Object other)
        Tests whether the parameter equals this complex CBEFF info.
        Overrides:
        equals in class Object
        Parameters:
        other - some other object
        Returns:
        whether the other object is equal to this complex CBEFF info
      • hashCode

        public int hashCode()
        Computes a hash code.
        Overrides:
        hashCode in class Object
        Returns:
        the hash code for this complex CBEFF info