Class AmountAtTime

    • Field Summary

      Fields 
      Modifier and Type Field Description
      double amount
      The actual amount to be exchanged between the contract parties
      • Fields inherited from class de.dlr.gitlab.fame.communication.message.DataItem

        CLASS_NOT_KNOWN, ERR_MISSING_CONSTRUCTOR
    • Constructor Summary

      Constructors 
      Constructor Description
      AmountAtTime​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
      Mandatory for deserialisation of DataItems
      AmountAtTime​(de.dlr.gitlab.fame.time.TimeStamp timeStamp, double amount)
      Creates a new AmountAtTime message
    • Field Detail

      • amount

        public final double amount
        The actual amount to be exchanged between the contract parties
    • Constructor Detail

      • AmountAtTime

        public AmountAtTime​(de.dlr.gitlab.fame.time.TimeStamp timeStamp,
                            double amount)
        Creates a new AmountAtTime message
        Parameters:
        timeStamp - to which the specified amount is associated with
        amount - value associated with the given timeStamp
      • AmountAtTime

        public AmountAtTime​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        Parameters:
        proto - protobuf representation
    • Method Detail

      • fillDataFields

        protected void fillDataFields​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
        Overrides:
        fillDataFields in class PointInTime