Class ContextRules


  • public class ContextRules
    extends java.lang.Object
    The Class ContextRules.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ContextRules create​(java.lang.String assortmentRule, java.lang.String countryRule, java.lang.String documentIdRule, java.lang.String languageRule, java.lang.String marketNameRule, java.lang.String publicationRule, java.lang.String targetGroupRule, java.lang.String wellRule)
      Creates new ContextRules object, and set the values from params
      static ContextRules createEmpty()
      Creates the empty.
      java.lang.String getAssortmentRule()
      Gets the assortment rule.
      java.lang.String getCountryRule()
      Gets the country rule.
      java.lang.String getDocumentIdRule()
      Gets the document id rule.
      java.lang.String getLanguageRule()
      Gets the language rule.
      java.lang.String getMarketNameRule()
      Gets the market name rule.
      java.lang.String getPublicationRule()
      Gets the publication rule.
      java.lang.String getTargetGroupRule()
      Gets the target group rule.
      java.lang.String getWellRule()
      Gets the well rule.
      void setAssortmentRule​(java.lang.String assortmentRule)
      Sets the assortment rule.
      void setCountryRule​(java.lang.String countryRule)
      Sets the country rule.
      void setDocumentIdRule​(java.lang.String documentIdRule)
      Sets the document id rule.
      void setLanguageRule​(java.lang.String languageRule)
      Sets the language rule.
      void setMarketNameRule​(java.lang.String marketNameRule)
      Sets the market name rule.
      void setPublicationRule​(java.lang.String publicationRule)
      Sets the publication rule.
      void setTargetGroupRule​(java.lang.String targetGroupRule)
      Sets the target group rule.
      void setWellRule​(java.lang.String wellRule)
      Sets the well rule.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • create

        public static ContextRules create​(java.lang.String assortmentRule,
                                          java.lang.String countryRule,
                                          java.lang.String documentIdRule,
                                          java.lang.String languageRule,
                                          java.lang.String marketNameRule,
                                          java.lang.String publicationRule,
                                          java.lang.String targetGroupRule,
                                          java.lang.String wellRule)
        Creates new ContextRules object, and set the values from params
        Parameters:
        assortmentRule - the assortment rule
        countryRule - the country rule
        documentIdRule - the document id rule
        languageRule - the language rule
        marketNameRule - the market name rule
        publicationRule - the publication rule
        targetGroupRule - the target group rule
        wellRule - the well rule
        Returns:
        the context rules
      • createEmpty

        public static ContextRules createEmpty()
        Creates the empty.
        Returns:
        the context rules
      • getAssortmentRule

        public java.lang.String getAssortmentRule()
        Gets the assortment rule.
        Returns:
        the assortment rule
      • setAssortmentRule

        public void setAssortmentRule​(java.lang.String assortmentRule)
        Sets the assortment rule.
        Parameters:
        assortmentRule - the new assortment rule
      • getCountryRule

        public java.lang.String getCountryRule()
        Gets the country rule.
        Returns:
        the country rule
      • setCountryRule

        public void setCountryRule​(java.lang.String countryRule)
        Sets the country rule.
        Parameters:
        countryRule - the new country rule
      • getDocumentIdRule

        public java.lang.String getDocumentIdRule()
        Gets the document id rule.
        Returns:
        the document id rule
      • setDocumentIdRule

        public void setDocumentIdRule​(java.lang.String documentIdRule)
        Sets the document id rule.
        Parameters:
        documentIdRule - the new document id rule
      • getLanguageRule

        public java.lang.String getLanguageRule()
        Gets the language rule.
        Returns:
        the language rule
      • setLanguageRule

        public void setLanguageRule​(java.lang.String languageRule)
        Sets the language rule.
        Parameters:
        languageRule - the new language rule
      • getMarketNameRule

        public java.lang.String getMarketNameRule()
        Gets the market name rule.
        Returns:
        the market name rule
      • setMarketNameRule

        public void setMarketNameRule​(java.lang.String marketNameRule)
        Sets the market name rule.
        Parameters:
        marketNameRule - the new market name rule
      • getPublicationRule

        public java.lang.String getPublicationRule()
        Gets the publication rule.
        Returns:
        the publication rule
      • setPublicationRule

        public void setPublicationRule​(java.lang.String publicationRule)
        Sets the publication rule.
        Parameters:
        publicationRule - the new publication rule
      • getTargetGroupRule

        public java.lang.String getTargetGroupRule()
        Gets the target group rule.
        Returns:
        the target group rule
      • setTargetGroupRule

        public void setTargetGroupRule​(java.lang.String targetGroupRule)
        Sets the target group rule.
        Parameters:
        targetGroupRule - the new target group rule
      • getWellRule

        public java.lang.String getWellRule()
        Gets the well rule.
        Returns:
        the well rule
      • setWellRule

        public void setWellRule​(java.lang.String wellRule)
        Sets the well rule.
        Parameters:
        wellRule - the new well rule