Class ModelOutboundProcessingContext

java.lang.Object
com.onenetwork.platform.integ.msg.OutboundProcessingContext
com.onenetwork.platform.integ.msg.ModelOutboundProcessingContext

public class ModelOutboundProcessingContext
extends OutboundProcessingContext
Processing context to generate outbound data based on in-memory Model objects.
  • Constructor Details

    • ModelOutboundProcessingContext

      public ModelOutboundProcessingContext​(java.lang.String outboundInterfaceName, java.lang.String outboundInterfaceVersion, java.io.OutputStream outputStream, PlatformUserContext platformUserContext)
      Parameters:
      outboundInterfaceName - outbound interface name
      outboundInterfaceVersion - outbound interface version (can use null to choose default version)
      outputStream - OutputStream into which the outbound message should be written
      platformUserContext - - VC level user or an user under a VC
  • Method Details

    • getModels

      public java.util.List<? extends Model> getModels()
      Returns:
      the models provided as input
    • setModels

      public void setModels​(java.util.List<? extends Model> models)
      Parameters:
      models - models provided as input