Class GroupModel


  • public class GroupModel
    extends java.lang.Object
    GroupModel.java
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupModel​(java.lang.String groupName, java.lang.String sendMode, java.util.List<GroupServiceModel> services)
      Basic Constructor
      GroupModel​(org.w3c.dom.Element group)
      Constructor using DOM Element
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getGroupName()
      Getter for group name
      java.lang.String getSendMode()
      Getter for send mode
      java.util.List<GroupServiceModel> getServices()
      Returns a list of services in this group
      boolean isOptional()
      Is optional boolean.
      java.util.Map<java.lang.String,​java.lang.Object> run​(ServiceDispatcher dispatcher, java.lang.String localName, java.util.Map<java.lang.String,​java.lang.Object> context)
      Invokes the group of services in order defined
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GroupModel

        public GroupModel​(org.w3c.dom.Element group)
        Constructor using DOM Element
        Parameters:
        group - DOM element for the group
      • GroupModel

        public GroupModel​(java.lang.String groupName,
                          java.lang.String sendMode,
                          java.util.List<GroupServiceModel> services)
        Basic Constructor
        Parameters:
        groupName - Name of the group
        sendMode - Mode used (see DTD)
        services - List of GroupServiceModel objects
    • Method Detail

      • getGroupName

        public java.lang.String getGroupName()
        Getter for group name
        Returns:
        String
      • getSendMode

        public java.lang.String getSendMode()
        Getter for send mode
        Returns:
        String
      • getServices

        public java.util.List<GroupServiceModel> getServices()
        Returns a list of services in this group
        Returns:
        List
      • isOptional

        public boolean isOptional()
        Is optional boolean.
        Returns:
        the boolean
      • run

        public java.util.Map<java.lang.String,​java.lang.Object> run​(ServiceDispatcher dispatcher,
                                                                          java.lang.String localName,
                                                                          java.util.Map<java.lang.String,​java.lang.Object> context)
                                                                   throws GenericServiceException
        Invokes the group of services in order defined
        Parameters:
        dispatcher - ServiceDispatcher used for invocation
        localName - Name of the LocalDispatcher (namespace)
        context - Full parameter context (combined for all services)
        Returns:
        Map Result Map
        Throws:
        GenericServiceException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()