com.konakart.json.app
Class J_MiscItem

java.lang.Object
  extended by com.konakart.json.app.J_MiscItem
All Implemented Interfaces:
java.io.Serializable

public class J_MiscItem
extends java.lang.Object
implements java.io.Serializable

Describes a Miscellaneous item, an array of which may be attached to a Product and to a Category. Each item has a type, a value and some custom fields.

See Also:
Serialized Form

Constructor Summary
J_MiscItem()
           
 
Method Summary
 java.lang.String getCustom1()
          The value for the custom1 field
 java.lang.String getCustom2()
          The value for the custom2 field
 java.lang.String getCustom3()
          The value for the custom3 field
 java.util.Calendar getDateAdded()
          The date the item was added to the database
 int getId()
          The unique id of the MiscItem object
 java.lang.String getItemValue()
          The value of this MiscItem object
 int getObjId()
          The unique id of the object that this MiscItem object belongs to
 java.lang.String getType()
          The name of the MiscItem object type
 java.lang.String getTypeDescription()
          The description of the MiscItem object type
 int getTypeId()
          The unique id of the MiscItem object type
 void setCustom1(java.lang.String _custom1)
          The value for the custom1 field
 void setCustom2(java.lang.String _custom2)
          The value for the custom2 field
 void setCustom3(java.lang.String _custom3)
          The value for the custom3 field
 void setDateAdded(java.util.Calendar _dateAdded)
          The date the item was added to the database
 void setId(int _id)
          The unique id of the MiscItem object
 void setItemValue(java.lang.String _itemValue)
          The value of this MiscItem object
 void setObjId(int _objId)
          The unique id of the object that this MiscItem object belongs to
 void setType(java.lang.String _type)
          The name of the MiscItem object type
 void setTypeDescription(java.lang.String _typeDescription)
          The description of the MiscItem object type
 void setTypeId(int _typeId)
          The unique id of the MiscItem object type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

J_MiscItem

public J_MiscItem()
Method Detail

getId

public int getId()
The unique id of the MiscItem object

Returns:
the id

setId

public void setId(int _id)
The unique id of the MiscItem object

Parameters:
_id - the id to set

getTypeId

public int getTypeId()
The unique id of the MiscItem object type

Returns:
the typeId

setTypeId

public void setTypeId(int _typeId)
The unique id of the MiscItem object type

Parameters:
_typeId - the typeId to set

getObjId

public int getObjId()
The unique id of the object that this MiscItem object belongs to

Returns:
the objId

setObjId

public void setObjId(int _objId)
The unique id of the object that this MiscItem object belongs to

Parameters:
_objId - the objId to set

getItemValue

public java.lang.String getItemValue()
The value of this MiscItem object

Returns:
the itemValue

setItemValue

public void setItemValue(java.lang.String _itemValue)
The value of this MiscItem object

Parameters:
_itemValue - the itemValue to set

getCustom1

public java.lang.String getCustom1()
The value for the custom1 field

Returns:
the custom1

setCustom1

public void setCustom1(java.lang.String _custom1)
The value for the custom1 field

Parameters:
_custom1 - the custom1 to set

getCustom2

public java.lang.String getCustom2()
The value for the custom2 field

Returns:
the custom2

setCustom2

public void setCustom2(java.lang.String _custom2)
The value for the custom2 field

Parameters:
_custom2 - the custom2 to set

getCustom3

public java.lang.String getCustom3()
The value for the custom3 field

Returns:
the custom3

setCustom3

public void setCustom3(java.lang.String _custom3)
The value for the custom3 field

Parameters:
_custom3 - the custom3 to set

getDateAdded

public java.util.Calendar getDateAdded()
The date the item was added to the database

Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
The date the item was added to the database

Parameters:
_dateAdded - the dateAdded to set

getType

public java.lang.String getType()
The name of the MiscItem object type

Returns:
the type

setType

public void setType(java.lang.String _type)
The name of the MiscItem object type

Parameters:
_type - the type to set

getTypeDescription

public java.lang.String getTypeDescription()
The description of the MiscItem object type

Returns:
the typeDescription

setTypeDescription

public void setTypeDescription(java.lang.String _typeDescription)
The description of the MiscItem object type

Parameters:
_typeDescription - the typeDescription to set


Copyright © 2011 DS Data Systems UK Ltd.