Class AddressPrefixMetadataGroup

java.lang.Object
com.pnfsoftware.jeb.core.units.AbstractMetadataGroup
com.pnfsoftware.jeb.core.units.AddressPrefixMetadataGroup
All Implemented Interfaces:
IMetadataGroup

@Ser public class AddressPrefixMetadataGroup extends AbstractMetadataGroup
A metadata group which filters by address prefix.
  • Field Details

  • Constructor Details

  • Method Details

    • getAllData

      public Map<String,Object> getAllData()
      Description copied from interface: IMetadataGroup
      Get a read-only map of all the key-value pairs of metadata items contained in this group. Not all groups may be able to provide this functionality. If so, this method should return null.
      Returns:
      a map of key-value pairs, possibly empty; if the operation is not supported, null is returned
    • setData

      public boolean setData(String address, Object data)
      Description copied from interface: IMetadataGroup
      Set or remove the piece of metadata associated with the given address.
      Parameters:
      address - address
      data - metadata, use null to remove
      Returns:
      true if the operation succeeded; false otherwise (eg, the operation is not supported)
    • getData

      public Object getData(String address)
      Description copied from interface: IMetadataGroup
      Get the piece of metadata associated with the provided address.
      Parameters:
      address - address
      Returns:
      the data at address, null if none
    • getData

      public Object getData(String address, AddressConversionPrecision precision)
      Description copied from interface: IMetadataGroup
      Get the piece of metadata associated with the provided address.
      Parameters:
      address - address
      precision - precision of the input address. AddressConversionPrecision.COARSE will use raw references (may fasten result)
      Returns:
      the data at address, null if none
    • getBlacklist

      public List<String> getBlacklist()
      Retrieve the black-list with full access.
      Returns:
    • getSectionAnchorIds

      public List<String> getSectionAnchorIds()
      Description copied from interface: IMetadataGroup
      Retrieve the list of addresses that represent the start/change of a section, null if none.
      Returns:
      the list of addresses