Class ContextDefinition

java.lang.Object
com.priint.pubserver.entity.ContextDefinition
All Implemented Interfaces:
Serializable

public class ContextDefinition extends Object implements Serializable
Context definition describes the context criteria associated with an entity.

The list of criteria within a context is fixed.

Since:
4.0.0
See Also:
  • Constructor Details

    • ContextDefinition

      public ContextDefinition()
  • Method Details

    • setContextDefinition

      public void setContextDefinition(ContextDefinition.Criteria contextCriteria, ContextDefinition.DefinitionType contextDefinition, String staticValue, String machingMethodName)
      Defines a context criteria on this context definition.
      Parameters:
      contextCriteria - the context criteria
      contextDefinition - the context definition
      staticValue - the static value
      machingMethodName - the maching method name
    • getEntityId

      public String getEntityId()
      Gets entity id.
      Returns:
      entityId String
    • setEntityId

      public void setEntityId(String entityId)
      Sets entity id.
      Parameters:
      entityId - String
    • getWell

      public String getWell()
      Gets well.
      Returns:
      well.getType() ContextDefinition.DefinitionType.getType() String
    • setWell

      public void setWell(String value)
      Sets well.
      Parameters:
      value - String
    • getStaticWell

      public String getStaticWell()
      Gets static well.
      Returns:
      staticWell String
    • setStaticWell

      public void setStaticWell(String staticWell)
      Sets static well.
      Parameters:
      staticWell - String
    • isUseWellMatchingMethod

      public boolean isUseWellMatchingMethod()
      Is use well matching method boolean.
      Returns:
      useWellMatchingMethod boolean
    • setUseWellMatchingMethod

      public void setUseWellMatchingMethod(boolean useWellMatchingMethod)
      Sets use well matching method.
      Parameters:
      useWellMatchingMethod - boolean
    • getWellMatchingMethod

      public String getWellMatchingMethod()
      Gets well matching method.
      Returns:
      wellMatchingMethod String
    • setWellMatchingMethod

      public void setWellMatchingMethod(String wellMatchingMethod)
      Sets well matching method.
      Parameters:
      wellMatchingMethod - String
    • getAssortment

      public String getAssortment()
      Gets assortment.
      Returns:
      assortment.getType() ContextDefinition.DefinitionType.getType() String
    • setAssortment

      public void setAssortment(String value)
      Sets assortment.
      Parameters:
      value - String
    • getStaticAssortment

      public String getStaticAssortment()
      Gets static assortment.
      Returns:
      staticAssortment String
    • setStaticAssortment

      public void setStaticAssortment(String staticAssortment)
      Sets static assortment.
      Parameters:
      staticAssortment - String
    • isUseAssortmentMatchingMethod

      public boolean isUseAssortmentMatchingMethod()
      Is use assortment matching method boolean.
      Returns:
      useAssortmentMatchingMethod boolean
    • setUseAssortmentMatchingMethod

      public void setUseAssortmentMatchingMethod(boolean useAssortmentMatchingMethod)
      Sets use assortment matching method.
      Parameters:
      useAssortmentMatchingMethod - boolean
    • getAssortmentMatchingMethod

      public String getAssortmentMatchingMethod()
      Gets assortment matching method.
      Returns:
      assortmentMatchingMethod String
    • setAssortmentMatchingMethod

      public void setAssortmentMatchingMethod(String assortmentMatchingMethod)
      Sets assortment matching method.
      Parameters:
      assortmentMatchingMethod - String
    • getCountry

      public String getCountry()
      Gets country.
      Returns:
      country.getType() ContextDefinition.DefinitionType.getType() String
    • setCountry

      public void setCountry(String value)
      Sets country.
      Parameters:
      value - String
    • getStaticCountry

      public String getStaticCountry()
      Gets static country.
      Returns:
      staticCountry String
    • setStaticCountry

      public void setStaticCountry(String staticCountry)
      Sets static country.
      Parameters:
      staticCountry - String
    • isUseCountryMatchingMethod

      public boolean isUseCountryMatchingMethod()
      Is use country matching method boolean.
      Returns:
      useCountryMatchingMethod boolean
    • setUseCountryMatchingMethod

      public void setUseCountryMatchingMethod(boolean useCountryMatchingMethod)
      Sets use country matching method.
      Parameters:
      useCountryMatchingMethod - boolean
    • getCountryMatchingMethod

      public String getCountryMatchingMethod()
      Gets country matching method.
      Returns:
      countryMatchingMethod String
    • setCountryMatchingMethod

      public void setCountryMatchingMethod(String countryMatchingMethod)
      Sets country matching method.
      Parameters:
      countryMatchingMethod - String
    • getLanguage

      public String getLanguage()
      Gets language.
      Returns:
      language.getType() ContextDefinition.DefinitionType.getType() String
    • setLanguage

      public void setLanguage(String type)
      Sets language.
      Parameters:
      type - String
    • getStaticLanguage

      public String getStaticLanguage()
      Gets static language.
      Returns:
      staticLanguage String
    • setStaticLanguage

      public void setStaticLanguage(String staticLanguage)
      Sets static language.
      Parameters:
      staticLanguage - String
    • isUseLanguageMatchingMethod

      public boolean isUseLanguageMatchingMethod()
      Is use language matching method boolean.
      Returns:
      useLanguageMatchingMethod boolean
    • setUseLanguageMatchingMethod

      public void setUseLanguageMatchingMethod(boolean useLanguageMatchingMethod)
      Sets use language matching method.
      Parameters:
      useLanguageMatchingMethod - boolean
    • getLanguageMatchingMethod

      public String getLanguageMatchingMethod()
      Gets language matching method.
      Returns:
      languageMatchingMethod String
    • setLanguageMatchingMethod

      public void setLanguageMatchingMethod(String languageMatchingMethod)
      Sets language matching method.
      Parameters:
      languageMatchingMethod - String
    • getBrand

      @Deprecated public String getBrand()
      Deprecated.
      since 4.1.6 Please do not use this.
      Gets brand.
      Returns:
      brand.getType() ContextDefinition.DefinitionType.getType() String
    • setBrand

      @Deprecated public void setBrand(String value)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets brand.
      Parameters:
      value - String
    • getStaticBrand

      @Deprecated public String getStaticBrand()
      Deprecated.
      since 4.1.6 Please do not use this.
      Gets static brand.
      Returns:
      staticBrand String
    • setStaticBrand

      @Deprecated public void setStaticBrand(String staticBrand)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets static brand.
      Parameters:
      staticBrand - String
    • isUseBrandMatchingMethod

      @Deprecated public boolean isUseBrandMatchingMethod()
      Deprecated.
      since 4.1.6 Please do not use this.
      Is use brand matching method boolean.
      Returns:
      useBrandMatchingMethod boolean
    • setUseBrandMatchingMethod

      @Deprecated public void setUseBrandMatchingMethod(boolean useBrandMatchingMethod)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets use brand matching method.
      Parameters:
      useBrandMatchingMethod - boolean
    • getBrandMatchingMethod

      @Deprecated public String getBrandMatchingMethod()
      Deprecated.
      since 4.1.6 Please do not use this.
      Gets brand matching method.
      Returns:
      brandMatchingMethod String
    • setBrandMatchingMethod

      @Deprecated public void setBrandMatchingMethod(String brandMatchingMethod)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets brand matching method.
      Parameters:
      brandMatchingMethod - String
    • getOrganization

      @Deprecated public String getOrganization()
      Deprecated.
      since 4.1.6 Please do not use this.
      Gets organization.
      Returns:
      organization.getType() ContextDefinition.DefinitionType.getType() String
    • setOrganization

      @Deprecated public void setOrganization(String value)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets organization.
      Parameters:
      value - String
    • getStaticOrganization

      @Deprecated public String getStaticOrganization()
      Deprecated.
      since 4.1.6 Please do not use this.
      Gets static organization.
      Returns:
      staticOrganization String
    • setStaticOrganization

      @Deprecated public void setStaticOrganization(String staticOrganization)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets static organization.
      Parameters:
      staticOrganization - String
    • isUseOrganizationMatchingMethod

      @Deprecated public boolean isUseOrganizationMatchingMethod()
      Deprecated.
      since 4.1.6 Please do not use this.
      Is use organization matching method boolean.
      Returns:
      useOrganizationMatchingMethod boolean
    • setUseOrganizationMatchingMethod

      @Deprecated public void setUseOrganizationMatchingMethod(boolean useOrganizationMatchingMethod)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets use organization matching method.
      Parameters:
      useOrganizationMatchingMethod - boolean
    • getOrganizationMatchingMethod

      @Deprecated public String getOrganizationMatchingMethod()
      Deprecated.
      since 4.1.6 Please do not use this.
      Gets organization matching method.
      Returns:
      organizationMatchingMethod organization matching method
    • setOrganizationMatchingMethod

      @Deprecated public void setOrganizationMatchingMethod(String organizationMatchingMethod)
      Deprecated.
      since 4.1.6 Please do not use this.
      Sets organization matching method.
      Parameters:
      organizationMatchingMethod - String
    • getMarket

      public String getMarket()
      Gets market.
      Returns:
      the market
    • setMarket

      public void setMarket(String value)
      Sets market.
      Parameters:
      value - String
    • getStaticMarket

      public String getStaticMarket()
      Gets static market.
      Returns:
      staticMarket String
    • setStaticMarket

      public void setStaticMarket(String staticMarket)
      Sets static market.
      Parameters:
      staticMarket - String
    • isUseMarketMatchingMethod

      public boolean isUseMarketMatchingMethod()
      Is use market matching method boolean.
      Returns:
      useMarketMatchingMethod boolean
    • setUseMarketMatchingMethod

      public void setUseMarketMatchingMethod(boolean useMarketMatchingMethod)
      Sets use market matching method.
      Parameters:
      useMarketMatchingMethod - boolean
    • getMarketMatchingMethod

      public String getMarketMatchingMethod()
      Gets market matching method.
      Returns:
      marketMatchingMethod String
    • setMarketMatchingMethod

      public void setMarketMatchingMethod(String marketMatchingMethod)
      Sets market matching method.
      Parameters:
      marketMatchingMethod - String
    • getDocumentId

      public String getDocumentId()
      Gets document id.
      Returns:
      documentId.getType() ContextDefinition.DefinitionType.getType() String
    • setDocumentId

      public void setDocumentId(String value)
      Sets document id.
      Parameters:
      value - String
    • getStaticDocumentId

      public String getStaticDocumentId()
      Gets static document id.
      Returns:
      staticDocumentId String
    • setStaticDocumentId

      public void setStaticDocumentId(String staticDocumentId)
      Sets static document id.
      Parameters:
      staticDocumentId - String
    • isUseDocumentIdMatchingMethod

      public boolean isUseDocumentIdMatchingMethod()
      Is use document id matching method boolean.
      Returns:
      useDocumentIdMatchingMethod boolean
    • setUseDocumentIdMatchingMethod

      public void setUseDocumentIdMatchingMethod(boolean useDocumentIdMatchingMethod)
      Sets use document id matching method.
      Parameters:
      useDocumentIdMatchingMethod - boolean
    • getDocumentIdMatchingMethod

      public String getDocumentIdMatchingMethod()
      Gets document id matching method.
      Returns:
      documentIdMatchingMethod String
    • setDocumentIdMatchingMethod

      public void setDocumentIdMatchingMethod(String documentIdMatchingMethod)
      Sets document id matching method.
      Parameters:
      documentIdMatchingMethod - String
    • getPublication

      public String getPublication()
      Gets publication.
      Returns:
      publication.getType() ContextDefinition.DefinitionType.getType() String
    • setPublication

      public void setPublication(String value)
      Sets publication.
      Parameters:
      value - String
    • getStaticPublication

      public String getStaticPublication()
      Gets static publication.
      Returns:
      staticPublication String
    • setStaticPublication

      public void setStaticPublication(String staticPublication)
      Sets static publication.
      Parameters:
      staticPublication - the static publication
    • isUsePublicationMatchingMethod

      public boolean isUsePublicationMatchingMethod()
      Is use publication matching method boolean.
      Returns:
      usePublicationMatchingMethod boolean
    • setUsePublicationMatchingMethod

      public void setUsePublicationMatchingMethod(boolean usePublicationMatchingMethod)
      Sets use publication matching method.
      Parameters:
      usePublicationMatchingMethod - boolean
    • getPublicationMatchingMethod

      public String getPublicationMatchingMethod()
      Gets publication matching method.
      Returns:
      publicationMatchingMethod String
    • setPublicationMatchingMethod

      public void setPublicationMatchingMethod(String publicationMatchingMethod)
      Sets publication matching method.
      Parameters:
      publicationMatchingMethod - String
    • getTargetGroup

      public String getTargetGroup()
      Gets target group.
      Returns:
      targetGroup.getType() ContextDefinition.DefinitionType.getType() String
    • setTargetGroup

      public void setTargetGroup(String value)
      Sets target group.
      Parameters:
      value - String
    • getStaticTargetGroup

      public String getStaticTargetGroup()
      Gets static target group.
      Returns:
      staticTargetGroup String
    • setStaticTargetGroup

      public void setStaticTargetGroup(String staticTargetGroup)
      Sets static target group.
      Parameters:
      staticTargetGroup - String
    • isUseTargetGroupMatchingMethod

      public boolean isUseTargetGroupMatchingMethod()
      Is use target group matching method boolean.
      Returns:
      useTargetGroupMatchingMethod boolean
    • setUseTargetGroupMatchingMethod

      public void setUseTargetGroupMatchingMethod(boolean useTargetGroupMatchingMethod)
      Sets use target group matching method.
      Parameters:
      useTargetGroupMatchingMethod - boolean
    • getTargetGroupMatchingMethod

      public String getTargetGroupMatchingMethod()
      Gets target group matching method.
      Returns:
      targetGroupMatchingMethod
    • setTargetGroupMatchingMethod

      public void setTargetGroupMatchingMethod(String targetGroupMatchingMethod)
      Sets target group matching method.
      Parameters:
      targetGroupMatchingMethod - String
    • getAssortmentType

      public ContextDefinition.DefinitionType getAssortmentType()
      Gets assortment type.
      Returns:
      the assortment type
    • getBrandType

      public ContextDefinition.DefinitionType getBrandType()
      Gets brand type.
      Returns:
      the brand type
    • getCountryType

      public ContextDefinition.DefinitionType getCountryType()
      Gets country type.
      Returns:
      the country type
    • getDocumentIdType

      public ContextDefinition.DefinitionType getDocumentIdType()
      Gets document id type.
      Returns:
      the document id type
    • getLanguageType

      public ContextDefinition.DefinitionType getLanguageType()
      Gets language type.
      Returns:
      the language type
    • getMarketType

      public ContextDefinition.DefinitionType getMarketType()
      Gets market type.
      Returns:
      the market type
    • getPublicationType

      public ContextDefinition.DefinitionType getPublicationType()
      Gets publication type.
      Returns:
      the publication type
    • getTargetGroupType

      public ContextDefinition.DefinitionType getTargetGroupType()
      Gets target group type.
      Returns:
      the target group type
    • getWellType

      public ContextDefinition.DefinitionType getWellType()
      Gets well type.
      Returns:
      the well type