Class DefaultMxMetadataStrategy

  • All Implemented Interfaces:
    com.prowidesoftware.swift.model.MessageMetadataStrategy

    public class DefaultMxMetadataStrategy
    extends java.lang.Object
    implements com.prowidesoftware.swift.model.MessageMetadataStrategy
    Default implementation of MX messages metadata extraction.
    Since:
    9.1.6
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.prowidesoftware.swift.model.Money> amount​(com.prowidesoftware.swift.model.AbstractMessage message)  
      java.util.Optional<java.lang.String> reference​(com.prowidesoftware.swift.model.AbstractMessage message)  
      java.util.Optional<java.util.Calendar> tradeDate​(com.prowidesoftware.swift.model.AbstractMessage message)  
      java.util.Optional<java.util.Calendar> valueDate​(com.prowidesoftware.swift.model.AbstractMessage message)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.prowidesoftware.swift.model.MessageMetadataStrategy

        identifier, receiver, sender
    • Constructor Detail

      • DefaultMxMetadataStrategy

        public DefaultMxMetadataStrategy()
    • Method Detail

      • reference

        public java.util.Optional<java.lang.String> reference​(com.prowidesoftware.swift.model.AbstractMessage message)
        Specified by:
        reference in interface com.prowidesoftware.swift.model.MessageMetadataStrategy
      • amount

        public java.util.Optional<com.prowidesoftware.swift.model.Money> amount​(com.prowidesoftware.swift.model.AbstractMessage message)
        Specified by:
        amount in interface com.prowidesoftware.swift.model.MessageMetadataStrategy
      • valueDate

        public java.util.Optional<java.util.Calendar> valueDate​(com.prowidesoftware.swift.model.AbstractMessage message)
        Specified by:
        valueDate in interface com.prowidesoftware.swift.model.MessageMetadataStrategy
      • tradeDate

        public java.util.Optional<java.util.Calendar> tradeDate​(com.prowidesoftware.swift.model.AbstractMessage message)
        Specified by:
        tradeDate in interface com.prowidesoftware.swift.model.MessageMetadataStrategy