com.ibm.commerce.subscription.facade.server.config

Interface SubscriptionComponentConfigurationType.NoticePeriodType

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ATTRIBUTE_NAME_ACTION_NAME
      Constant to indicate the action name attribute in the notice period element.
      static java.lang.String ATTRIBUTE_NAME_DURATION
      Constant to indicate the duration attribute in the notice period element.
      static java.lang.String ATTRIBUTE_NAME_UOM
      Constant to indicate the unit of measure attribute in the notice period element.
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      static java.lang.String ELEMENT_NAME_NOTICE_PERIOD
      Constant to indicate the notice period element name in the configuration.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • ELEMENT_NAME_NOTICE_PERIOD

        static final java.lang.String ELEMENT_NAME_NOTICE_PERIOD
        Constant to indicate the notice period element name in the configuration.
        See Also:
        Constant Field Values
      • ATTRIBUTE_NAME_ACTION_NAME

        static final java.lang.String ATTRIBUTE_NAME_ACTION_NAME
        Constant to indicate the action name attribute in the notice period element.
        See Also:
        Constant Field Values
      • ATTRIBUTE_NAME_UOM

        static final java.lang.String ATTRIBUTE_NAME_UOM
        Constant to indicate the unit of measure attribute in the notice period element.
        See Also:
        Constant Field Values
      • ATTRIBUTE_NAME_DURATION

        static final java.lang.String ATTRIBUTE_NAME_DURATION
        Constant to indicate the duration attribute in the notice period element.
        See Also:
        Constant Field Values
    • Method Detail

      • getActionName

        java.lang.String getActionName()
        This method returns the name of the action associated with the notice period object.
        Returns:
        The name of the subscription action.
      • getDuration

        java.lang.Integer getDuration()
        This method returns the duration of the notice period.
        Returns:
        The duration of the notice period.
      • getUOMForDuration

        java.lang.String getUOMForDuration()
        This method returns the unit of measurement for the duration.
        Returns:
        The unit of measurement for the duration.
      • initialize

        boolean initialize(org.w3c.dom.Node node)
                    throws java.lang.Exception
        This method initializes the notice period type instance by parsing the node.
        Parameters:
        node - The node which contains the notice period data.
        Returns:
        true if the element was successfully initialized. false, otherwise.
        Throws:
        java.lang.Exception
      • mergeConfigurations

        void mergeConfigurations(SubscriptionComponentConfigurationType.NoticePeriodType toMerge)
        This method merges this instance of the configuration with the parameter specified. The merging is performed using deep copy.
        Parameters:
        toMerge - The configuration to be merged with this.