Package com.priint.pubserver.entity
Class ContextDefinition
- java.lang.Object
-
- com.priint.pubserver.entity.ContextDefinition
-
- All Implemented Interfaces:
java.io.Serializable
public class ContextDefinition extends java.lang.Object implements java.io.SerializableContext 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContextDefinition.CriteriaList of context criteria that can used in publishing server.static classContextDefinition.DefinitionTypeType of context definition.
-
Constructor Summary
Constructors Constructor Description ContextDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetAssortment()Gets assortment.java.lang.StringgetAssortmentMatchingMethod()Gets assortment matching method.ContextDefinition.DefinitionTypegetAssortmentType()Gets assortment type.java.lang.StringgetBrand()Deprecated.since 4.1.6 Please do not use this.java.lang.StringgetBrandMatchingMethod()Deprecated.since 4.1.6 Please do not use this.ContextDefinition.DefinitionTypegetBrandType()Gets brand type.java.lang.StringgetCountry()Gets country.java.lang.StringgetCountryMatchingMethod()Gets country matching method.ContextDefinition.DefinitionTypegetCountryType()Gets country type.java.lang.StringgetDocumentId()Gets document id.java.lang.StringgetDocumentIdMatchingMethod()Gets document id matching method.ContextDefinition.DefinitionTypegetDocumentIdType()Gets document id type.java.lang.StringgetEntityId()Gets entity id.java.lang.StringgetLanguage()Gets language.java.lang.StringgetLanguageMatchingMethod()Gets language matching method.ContextDefinition.DefinitionTypegetLanguageType()Gets language type.java.lang.StringgetMarket()Gets market.java.lang.StringgetMarketMatchingMethod()Gets market matching method.ContextDefinition.DefinitionTypegetMarketType()Gets market type.java.lang.StringgetOrganization()Deprecated.since 4.1.6 Please do not use this.java.lang.StringgetOrganizationMatchingMethod()Deprecated.since 4.1.6 Please do not use this.java.lang.StringgetPublication()Gets publication.java.lang.StringgetPublicationMatchingMethod()Gets publication matching method.ContextDefinition.DefinitionTypegetPublicationType()Gets publication type.java.lang.StringgetStaticAssortment()Gets static assortment.java.lang.StringgetStaticBrand()Deprecated.since 4.1.6 Please do not use this.java.lang.StringgetStaticCountry()Gets static country.java.lang.StringgetStaticDocumentId()Gets static document id.java.lang.StringgetStaticLanguage()Gets static language.java.lang.StringgetStaticMarket()Gets static market.java.lang.StringgetStaticOrganization()Deprecated.since 4.1.6 Please do not use this.java.lang.StringgetStaticPublication()Gets static publication.java.lang.StringgetStaticTargetGroup()Gets static target group.java.lang.StringgetStaticWell()Gets static well.java.lang.StringgetTargetGroup()Gets target group.java.lang.StringgetTargetGroupMatchingMethod()Gets target group matching method.ContextDefinition.DefinitionTypegetTargetGroupType()Gets target group type.java.lang.StringgetWell()Gets well.java.lang.StringgetWellMatchingMethod()Gets well matching method.ContextDefinition.DefinitionTypegetWellType()Gets well type.booleanisUseAssortmentMatchingMethod()Is use assortment matching method boolean.booleanisUseBrandMatchingMethod()Deprecated.since 4.1.6 Please do not use this.booleanisUseCountryMatchingMethod()Is use country matching method boolean.booleanisUseDocumentIdMatchingMethod()Is use document id matching method boolean.booleanisUseLanguageMatchingMethod()Is use language matching method boolean.booleanisUseMarketMatchingMethod()Is use market matching method boolean.booleanisUseOrganizationMatchingMethod()Deprecated.since 4.1.6 Please do not use this.booleanisUsePublicationMatchingMethod()Is use publication matching method boolean.booleanisUseTargetGroupMatchingMethod()Is use target group matching method boolean.booleanisUseWellMatchingMethod()Is use well matching method boolean.voidsetAssortment(java.lang.String value)Sets assortment.voidsetAssortmentMatchingMethod(java.lang.String assortmentMatchingMethod)Sets assortment matching method.voidsetBrand(java.lang.String value)Deprecated.since 4.1.6 Please do not use this.voidsetBrandMatchingMethod(java.lang.String brandMatchingMethod)Deprecated.since 4.1.6 Please do not use this.voidsetContextDefinition(ContextDefinition.Criteria contextCriteria, ContextDefinition.DefinitionType contextDefinition, java.lang.String staticValue, java.lang.String machingMethodName)Defines a context criteria on this context definition.voidsetCountry(java.lang.String value)Sets country.voidsetCountryMatchingMethod(java.lang.String countryMatchingMethod)Sets country matching method.voidsetDocumentId(java.lang.String value)Sets document id.voidsetDocumentIdMatchingMethod(java.lang.String documentIdMatchingMethod)Sets document id matching method.voidsetEntityId(java.lang.String entityId)Sets entity id.voidsetLanguage(java.lang.String type)Sets language.voidsetLanguageMatchingMethod(java.lang.String languageMatchingMethod)Sets language matching method.voidsetMarket(java.lang.String value)Sets market.voidsetMarketMatchingMethod(java.lang.String marketMatchingMethod)Sets market matching method.voidsetOrganization(java.lang.String value)Deprecated.since 4.1.6 Please do not use this.voidsetOrganizationMatchingMethod(java.lang.String organizationMatchingMethod)Deprecated.since 4.1.6 Please do not use this.voidsetPublication(java.lang.String value)Sets publication.voidsetPublicationMatchingMethod(java.lang.String publicationMatchingMethod)Sets publication matching method.voidsetStaticAssortment(java.lang.String staticAssortment)Sets static assortment.voidsetStaticBrand(java.lang.String staticBrand)Deprecated.since 4.1.6 Please do not use this.voidsetStaticCountry(java.lang.String staticCountry)Sets static country.voidsetStaticDocumentId(java.lang.String staticDocumentId)Sets static document id.voidsetStaticLanguage(java.lang.String staticLanguage)Sets static language.voidsetStaticMarket(java.lang.String staticMarket)Sets static market.voidsetStaticOrganization(java.lang.String staticOrganization)Deprecated.since 4.1.6 Please do not use this.voidsetStaticPublication(java.lang.String staticPublication)Sets static publication.voidsetStaticTargetGroup(java.lang.String staticTargetGroup)Sets static target group.voidsetStaticWell(java.lang.String staticWell)Sets static well.voidsetTargetGroup(java.lang.String value)Sets target group.voidsetTargetGroupMatchingMethod(java.lang.String targetGroupMatchingMethod)Sets target group matching method.voidsetUseAssortmentMatchingMethod(boolean useAssortmentMatchingMethod)Sets use assortment matching method.voidsetUseBrandMatchingMethod(boolean useBrandMatchingMethod)Deprecated.since 4.1.6 Please do not use this.voidsetUseCountryMatchingMethod(boolean useCountryMatchingMethod)Sets use country matching method.voidsetUseDocumentIdMatchingMethod(boolean useDocumentIdMatchingMethod)Sets use document id matching method.voidsetUseLanguageMatchingMethod(boolean useLanguageMatchingMethod)Sets use language matching method.voidsetUseMarketMatchingMethod(boolean useMarketMatchingMethod)Sets use market matching method.voidsetUseOrganizationMatchingMethod(boolean useOrganizationMatchingMethod)Deprecated.since 4.1.6 Please do not use this.voidsetUsePublicationMatchingMethod(boolean usePublicationMatchingMethod)Sets use publication matching method.voidsetUseTargetGroupMatchingMethod(boolean useTargetGroupMatchingMethod)Sets use target group matching method.voidsetUseWellMatchingMethod(boolean useWellMatchingMethod)Sets use well matching method.voidsetWell(java.lang.String value)Sets well.voidsetWellMatchingMethod(java.lang.String wellMatchingMethod)Sets well matching method.
-
-
-
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 criteriacontextDefinition- the context definitionstaticValue- the static valuemachingMethodName- 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
-
getWell
public java.lang.String getWell()
Gets well.- Returns:
- well.getType()
ContextDefinition.DefinitionType.getType()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
-
getAssortment
public java.lang.String getAssortment()
Gets assortment.- Returns:
- assortment.getType()
ContextDefinition.DefinitionType.getType()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
-
getCountry
public java.lang.String getCountry()
Gets country.- Returns:
- country.getType()
ContextDefinition.DefinitionType.getType()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
-
getLanguage
public java.lang.String getLanguage()
Gets language.- Returns:
- language.getType()
ContextDefinition.DefinitionType.getType()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
-
getBrand
@Deprecated public java.lang.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(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
-
getDocumentId
public java.lang.String getDocumentId()
Gets document id.- Returns:
- documentId.getType()
ContextDefinition.DefinitionType.getType()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
-
getPublication
public java.lang.String getPublication()
Gets publication.- Returns:
- publication.getType()
ContextDefinition.DefinitionType.getType()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
-
getTargetGroup
public java.lang.String getTargetGroup()
Gets target group.- Returns:
- targetGroup.getType()
ContextDefinition.DefinitionType.getType()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
-
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
-
-