com.konakart.appif
Interface ProdCustAttrIf

All Known Implementing Classes:
ProdCustAttr

public interface ProdCustAttrIf

A Custom product attribute object stores the name and value of the attribute together with some metadata describing it.


Method Summary
 java.lang.String getCustom1()
           
 java.lang.String getCustom2()
           
 java.lang.String getCustom3()
           
 int getFacetNumber()
          Defines the facet field the attribute is mapped to in SOLR
 int getId()
           
 java.lang.String getMsgCatKey()
          The key used for the message catalog to look up the name to display in the store-front
 java.lang.String getName()
          The attribute name
 java.lang.String getTemplate()
          A template that can be used to format the stored data.
 int getType()
          The type of attribute.
 java.lang.String getValue()
          The value of the attribute
 void setCustom1(java.lang.String custom1)
           
 void setCustom2(java.lang.String custom2)
           
 void setCustom3(java.lang.String custom3)
           
 void setFacetNumber(int facetNumber)
          Defines the facet field the attribute is mapped to in SOLR
 void setId(int id)
           
 void setMsgCatKey(java.lang.String msgCatKey)
          The key used for the message catalog to look up the name to display in the store-front
 void setName(java.lang.String name)
          The attribute name
 void setTemplate(java.lang.String template)
          A template that can be used to format the stored data.
 void setType(int type)
          The type of attribute.
 void setValue(java.lang.String value)
          The value of the attribute
 

Method Detail

getId

int getId()
Returns:
the id

setId

void setId(int id)
Parameters:
id - the id to set

getName

java.lang.String getName()
The attribute name

Returns:
the name

setName

void setName(java.lang.String name)
The attribute name

Parameters:
name - the name to set

getType

int getType()
The type of attribute. Valid values are:

Returns:
the type

setType

void setType(int type)
The type of attribute. Valid values are:
  • STRING_TYPE=0: The tag value is a String
  • INT_TYPE=1: The tag value is an integer
  • DECIMAL_TYPE=2: The tag value is a decimal.
  • DATE_TYPE=3: The tag value is a date.
  • BOOLEAN_TYPE=4: The tag value is a boolean and so must contain the string true or false

Parameters:
type - the type to set

getCustom1

java.lang.String getCustom1()
Returns:
the custom1

setCustom1

void setCustom1(java.lang.String custom1)
Parameters:
custom1 - the custom1 to set

getCustom2

java.lang.String getCustom2()
Returns:
the custom2

setCustom2

void setCustom2(java.lang.String custom2)
Parameters:
custom2 - the custom2 to set

getCustom3

java.lang.String getCustom3()
Returns:
the custom3

setCustom3

void setCustom3(java.lang.String custom3)
Parameters:
custom3 - the custom3 to set

getValue

java.lang.String getValue()
The value of the attribute

Returns:
the value

setValue

void setValue(java.lang.String value)
The value of the attribute

Parameters:
value - the value to set

getMsgCatKey

java.lang.String getMsgCatKey()
The key used for the message catalog to look up the name to display in the store-front

Returns:
the msgCatKey

setMsgCatKey

void setMsgCatKey(java.lang.String msgCatKey)
The key used for the message catalog to look up the name to display in the store-front

Parameters:
msgCatKey - the msgCatKey to set

getTemplate

java.lang.String getTemplate()
A template that can be used to format the stored data. i.e. For a date

Returns:
the template

setTemplate

void setTemplate(java.lang.String template)
A template that can be used to format the stored data. i.e. For a date

Parameters:
template - the template to set

getFacetNumber

int getFacetNumber()
Defines the facet field the attribute is mapped to in SOLR

Returns:
the facetNumber

setFacetNumber

void setFacetNumber(int facetNumber)
Defines the facet field the attribute is mapped to in SOLR

Parameters:
facetNumber - the facetNumber to set


Copyright © 2011 DS Data Systems UK Ltd.