Class ContextDefinition

  • All Implemented Interfaces:
    java.io.Serializable

    public class ContextDefinition
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Constructor Detail

      • ContextDefinition

        public ContextDefinition()
    • Method Detail

      • setContextDefinition

        public void setContextDefinition​(ContextDefinition.Criteria contextCriteria,
                                         ContextDefinition.DefinitionType contextDefinition,
                                         java.lang.String staticValue,
                                         java.lang.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 java.lang.String getEntityId()
        Gets entity id.
        Returns:
        entityId String
      • setEntityId

        public void setEntityId​(java.lang.String entityId)
        Sets entity id.
        Parameters:
        entityId - String
      • setWell

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

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

        public void setStaticWell​(java.lang.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 java.lang.String getWellMatchingMethod()
        Gets well matching method.
        Returns:
        wellMatchingMethod String
      • setWellMatchingMethod

        public void setWellMatchingMethod​(java.lang.String wellMatchingMethod)
        Sets well matching method.
        Parameters:
        wellMatchingMethod - String
      • setAssortment

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

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

        public void setStaticAssortment​(java.lang.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 java.lang.String getAssortmentMatchingMethod()
        Gets assortment matching method.
        Returns:
        assortmentMatchingMethod String
      • setAssortmentMatchingMethod

        public void setAssortmentMatchingMethod​(java.lang.String assortmentMatchingMethod)
        Sets assortment matching method.
        Parameters:
        assortmentMatchingMethod - String
      • setCountry

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

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

        public void setStaticCountry​(java.lang.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 java.lang.String getCountryMatchingMethod()
        Gets country matching method.
        Returns:
        countryMatchingMethod String
      • setCountryMatchingMethod

        public void setCountryMatchingMethod​(java.lang.String countryMatchingMethod)
        Sets country matching method.
        Parameters:
        countryMatchingMethod - String
      • setLanguage

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

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

        public void setStaticLanguage​(java.lang.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 java.lang.String getLanguageMatchingMethod()
        Gets language matching method.
        Returns:
        languageMatchingMethod String
      • setLanguageMatchingMethod

        public void setLanguageMatchingMethod​(java.lang.String languageMatchingMethod)
        Sets language matching method.
        Parameters:
        languageMatchingMethod - String
      • setBrand

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

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

        @Deprecated
        public void setStaticBrand​(java.lang.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 java.lang.String getBrandMatchingMethod()
        Deprecated.
        since 4.1.6 Please do not use this.
        Gets brand matching method.
        Returns:
        brandMatchingMethod String
      • setBrandMatchingMethod

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

        @Deprecated
        public java.lang.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​(java.lang.String value)
        Deprecated.
        since 4.1.6 Please do not use this.
        Sets organization.
        Parameters:
        value - String
      • getStaticOrganization

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

        @Deprecated
        public void setStaticOrganization​(java.lang.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 java.lang.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​(java.lang.String organizationMatchingMethod)
        Deprecated.
        since 4.1.6 Please do not use this.
        Sets organization matching method.
        Parameters:
        organizationMatchingMethod - String
      • getMarket

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

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

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

        public void setStaticMarket​(java.lang.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 java.lang.String getMarketMatchingMethod()
        Gets market matching method.
        Returns:
        marketMatchingMethod String
      • setMarketMatchingMethod

        public void setMarketMatchingMethod​(java.lang.String marketMatchingMethod)
        Sets market matching method.
        Parameters:
        marketMatchingMethod - String
      • setDocumentId

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

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

        public void setStaticDocumentId​(java.lang.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 java.lang.String getDocumentIdMatchingMethod()
        Gets document id matching method.
        Returns:
        documentIdMatchingMethod String
      • setDocumentIdMatchingMethod

        public void setDocumentIdMatchingMethod​(java.lang.String documentIdMatchingMethod)
        Sets document id matching method.
        Parameters:
        documentIdMatchingMethod - String
      • setPublication

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

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

        public void setStaticPublication​(java.lang.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 java.lang.String getPublicationMatchingMethod()
        Gets publication matching method.
        Returns:
        publicationMatchingMethod String
      • setPublicationMatchingMethod

        public void setPublicationMatchingMethod​(java.lang.String publicationMatchingMethod)
        Sets publication matching method.
        Parameters:
        publicationMatchingMethod - String
      • setTargetGroup

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

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

        public void setStaticTargetGroup​(java.lang.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 java.lang.String getTargetGroupMatchingMethod()
        Gets target group matching method.
        Returns:
        targetGroupMatchingMethod
      • setTargetGroupMatchingMethod

        public void setTargetGroupMatchingMethod​(java.lang.String targetGroupMatchingMethod)
        Sets target group matching method.
        Parameters:
        targetGroupMatchingMethod - String