|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tubo.item.BaseItemImpl
public class BaseItemImpl
Created: Jun 18, 2005 7:29:29 AM Last Modification Date: $Date: 2006-10-26 01:11:36 -0300 (Thu, 26 Oct 2006) $
Field Summary | |
---|---|
static java.lang.String |
RCS_ID
|
Fields inherited from interface org.tubo.item.Item |
---|
CONSUMER_ID_PROPERTY, CONSUMER_PROPERTY |
Constructor Summary | |
---|---|
BaseItemImpl()
Default constructor |
Method Summary | |
---|---|
java.lang.Object |
getConsumedRawData()
|
long |
getConsumeTime()
|
java.lang.Object |
getId()
|
long |
getIndex()
|
java.util.Map |
getProperties()
Returns properties Map |
java.lang.Object |
getProperty(java.lang.Object key)
Return a property from properties Map |
void |
setConsumedRawData(java.lang.Object consumedRawData)
|
void |
setConsumeTime(long consumeTime)
|
void |
setId(java.lang.Object id)
|
void |
setIndex(long index)
|
void |
setProperties(java.util.Map properties)
Replace own properties Map with this |
void |
setProperty(java.lang.Object key,
java.lang.Object value)
Set o replace a property in properties Map |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RCS_ID
Constructor Detail |
---|
public BaseItemImpl()
Method Detail |
---|
public java.lang.Object getId()
public void setId(java.lang.Object id)
public long getIndex()
public void setIndex(long index)
public long getConsumeTime()
public void setConsumeTime(long consumeTime)
public java.lang.Object getConsumedRawData()
getConsumedRawData
in interface Item
public void setConsumedRawData(java.lang.Object consumedRawData)
setConsumedRawData
in interface Item
public java.util.Map getProperties()
getProperties
in interface Item
public void setProperties(java.util.Map properties)
setProperties
in interface Item
properties
- Properties Map replacementpublic java.lang.Object getProperty(java.lang.Object key)
getProperty
in interface Item
key
- Property Key.
public void setProperty(java.lang.Object key, java.lang.Object value)
setProperty
in interface Item
key
- Property keyvalue
- Property value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |