com.konakart.app
Class KKCookie

java.lang.Object
  extended by com.konakart.app.KKCookie
All Implemented Interfaces:
KKCookieIf

public class KKCookie
extends java.lang.Object
implements KKCookieIf

KKCookie


Constructor Summary
KKCookie()
          Constructor
KKCookie(com.workingdogs.village.Record vr, org.apache.torque.util.Criteria c)
          Instantiates the attributes of the KKCookie object from a Record object
 
Method Summary
 java.lang.String getAttributeId()
          The id of the attribute being stored.
 java.lang.String getAttributeValue()
          The value of the attribute.
 java.lang.String getCustomerUuid()
          A unique key which is stored in the browser cookie.
 java.util.Calendar getDateAdded()
          The date that the cookie was added
 java.util.Calendar getLastModified()
          The last time that the cookie value was modified.
 void setAttributeId(java.lang.String attributeId)
          The id of the attribute being stored.
 void setAttributeValue(java.lang.String attributeValue)
          The value of the attribute.
 void setCustomerUuid(java.lang.String customerUuid)
          A unique key which is stored in the browser cookie.
 void setDateAdded(java.util.Calendar dateAdded)
          The date that the cookie was added
 void setLastModified(java.util.Calendar lastModified)
          The last time that the cookie value was modified.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KKCookie

public KKCookie()
Constructor


KKCookie

public KKCookie(com.workingdogs.village.Record vr,
                org.apache.torque.util.Criteria c)
         throws com.workingdogs.village.DataSetException
Instantiates the attributes of the KKCookie object from a Record object

Parameters:
vr - Record containing data
c - Criteria containing column names
Throws:
com.workingdogs.village.DataSetException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCustomerUuid

public java.lang.String getCustomerUuid()
Description copied from interface: KKCookieIf
A unique key which is stored in the browser cookie. Normally a UUID can be used although any key can be used as long as it is unique.

Specified by:
getCustomerUuid in interface KKCookieIf
Returns:
the customerUuid

setCustomerUuid

public void setCustomerUuid(java.lang.String customerUuid)
Description copied from interface: KKCookieIf
A unique key which is stored in the browser cookie. Normally a UUID can be used although any key can be used as long as it is unique.

Specified by:
setCustomerUuid in interface KKCookieIf
Parameters:
customerUuid - the customerUuid to set

getAttributeId

public java.lang.String getAttributeId()
Description copied from interface: KKCookieIf
The id of the attribute being stored. This can be a user defined string such as CUSTOMER_NAME.

Specified by:
getAttributeId in interface KKCookieIf
Returns:
the attributeId

setAttributeId

public void setAttributeId(java.lang.String attributeId)
Description copied from interface: KKCookieIf
The id of the attribute being stored. This can be a user defined string such as CUSTOMER_NAME.

Specified by:
setAttributeId in interface KKCookieIf
Parameters:
attributeId - the attributeId to set

getAttributeValue

public java.lang.String getAttributeValue()
Description copied from interface: KKCookieIf
The value of the attribute. For example, if the key is CUSTOMER_NAME, the value could be "Joe Bloggs"

Specified by:
getAttributeValue in interface KKCookieIf
Returns:
the attributeValue

setAttributeValue

public void setAttributeValue(java.lang.String attributeValue)
Description copied from interface: KKCookieIf
The value of the attribute. For example, if the key is CUSTOMER_NAME, the value could be "Joe Bloggs"

Specified by:
setAttributeValue in interface KKCookieIf
Parameters:
attributeValue - the attributeValue to set

getDateAdded

public java.util.Calendar getDateAdded()
Description copied from interface: KKCookieIf
The date that the cookie was added

Specified by:
getDateAdded in interface KKCookieIf
Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar dateAdded)
Description copied from interface: KKCookieIf
The date that the cookie was added

Specified by:
setDateAdded in interface KKCookieIf
Parameters:
dateAdded - the dateAdded to set

getLastModified

public java.util.Calendar getLastModified()
Description copied from interface: KKCookieIf
The last time that the cookie value was modified.

Specified by:
getLastModified in interface KKCookieIf
Returns:
the lastModified

setLastModified

public void setLastModified(java.util.Calendar lastModified)
Description copied from interface: KKCookieIf
The last time that the cookie value was modified.

Specified by:
setLastModified in interface KKCookieIf
Parameters:
lastModified - the lastModified to set


Copyright © 2011 DS Data Systems UK Ltd.