Class ContextRules

java.lang.Object
com.priint.pubserver.comet.bridge.contextrule.ContextRules

public class ContextRules extends Object
The Class ContextRules.
  • Method Details

    • create

      public static ContextRules create(String assortmentRule, String countryRule, String documentIdRule, String languageRule, String marketNameRule, String publicationRule, String targetGroupRule, 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 String getAssortmentRule()
      Gets the assortment rule.
      Returns:
      the assortment rule
    • setAssortmentRule

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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