cdac.medinfo.sdk.hl7282.hl7model.messages.materialsmanagement

## Class STC_S33

- java.lang.Object
- - cdac.medinfo.sdk.hl7282.baselibs.messages.Message
  - - cdac.medinfo.sdk.hl7282.hl7model.messages.materialsmanagement.STC_S33

-     public final class STC_S33
      extends Message

  STC_S33 - Notification of Sterilization Configuration (Event S33). This message is sent from a filler application to notify other applications of a new sterilization configuration.

  Represents a STC_S33 message structure (see chapter 17.6.1). This structure contains the following elements:

  0: MSH (Message Header Segment) SINGLE_COMPULSARY
  1: SFT (Software Segment) MULTIPLE_OPTIONAL
  2: UAC (User Authentication Credential) SINGLE OPTIONAL
  3: SCP (Sterilization Configuration) MULTIPLE_COMPULSARY
  The class provides accessors & mutators for the elements mentioned above. These elements can be easily populated & populated values can be easily retrieved.

  Following is the step to create message
  Before that, respective Message Source and Message Recipient to be set on Message Factory.

  STC_S33 objS33 = (STC_S33)MessageFactory.createInstance().createSendSupportedMessage("STC", "S33");

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)` Adds collection of Software Segment(SFT) to this message.
    `void` | `addSoftwareSegment(SFT objSFT)` Adds Software Segment(SFT) to this message.
    `void` | `addSterilizationConfigurationSegment(SCP objSCP)` Adds Sterilization Configuration(SCP) to this message.
    `void` | `addSterilizationConfigurationSegments(ISingleCollection<SCP> objSCPSegmentCollection)` Adds collection of Sterilization Configuration(SCP) to this message.
    `ISingleCollection<SFT>` | `getSoftwareSegments()` Retrieves Collection of Software Segments(SFT) present in this message.
    `ISingleCollection<SCP>` | `getSterilizationConfigurationSegments()` Retrieves Collection of Sterilization Configuration(SCP) present in this message.
    `UAC` | `getUserAuthenticationCredentialSegment()` Retrieves User Authentication Credential(UAC) segment present in this message
    `void` | `setUserAuthenticationCredentialSegment(UAC objUAC)` Sets value of User Authentication Credential segment for this message,overwrites if already present.

    - ### Methods inherited from class cdac.medinfo.sdk.hl7282.baselibs.messages.Message

      `contains, dumpMessage, dumpMessage, getACKMode, getGroup, getGroupMap, getHeader, getMessageCode, getMessageControlID, getMessageStructure, getQueryUserParameters, getSegment, getSegmentSet, getSubscriptionType, getTriggerEvent, isQuery, isResponse, populate, removeGroup, removeSegment, removeSegment, removeSegmentAttribute, removeSegmentAttribute, removeSegmentAttribute, removeSegments, setHeader, setSubscriptionType, updateSegmentAttribute, updateSegmentAttribute, validate, writeToXML, writeToXML`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getSoftwareSegments

          public ISingleCollection<SFT> getSoftwareSegments()

      Retrieves Collection of Software Segments(SFT) present in this message.
      Returns:
        ISingleCollection - Collection of Software Segments(SFT) present in this message.

    - #### addSoftwareSegment

          public void addSoftwareSegment(SFT objSFT)

      Adds Software Segment(SFT) to this message.
      Parameters:
        `objSFT` - Specified Software Segment(SFT) to be added in this messageto this message.

    - #### addSoftwareSegment

          public void addSoftwareSegment(ISingleCollection<SFT> objSFTSegmentCollection)

      Adds collection of Software Segment(SFT) to this message.
      Parameters:
        `objSFTSegmentCollection` - Collection of Software Segments to add in this message

    - #### getUserAuthenticationCredentialSegment

          public UAC getUserAuthenticationCredentialSegment()

      Retrieves User Authentication Credential(UAC) segment present in this message
      Returns:
        UAC - Specified UAC Segment

    - #### setUserAuthenticationCredentialSegment

          public void setUserAuthenticationCredentialSegment(UAC objUAC)

      Sets value of User Authentication Credential segment for this message,overwrites if already present.
      Parameters:
        `objUAC` - Specified UAC Segment

    - #### getSterilizationConfigurationSegments

          public ISingleCollection<SCP> getSterilizationConfigurationSegments()

      Retrieves Collection of Sterilization Configuration(SCP) present in this message.
      Returns:
        ISingleCollection - Collection of Sterilization Configuration(SCP) present in this message.

    - #### addSterilizationConfigurationSegment

          public void addSterilizationConfigurationSegment(SCP objSCP)

      Adds Sterilization Configuration(SCP) to this message.
      Parameters:
        `objSCP` - Specified Sterilization Configuration(SCP) to be added in this message.

    - #### addSterilizationConfigurationSegments

          public void addSterilizationConfigurationSegments(ISingleCollection<SCP> objSCPSegmentCollection)

      Adds collection of Sterilization Configuration(SCP) to this message.
      Parameters:
        `objSCPSegmentCollection` - Collection of Sterilization Configuration(SCP) to add in this message