Package net.sf.basedb.core
Class RawDataBatcher.ReporterProxy
- java.lang.Object
-
- net.sf.basedb.core.data.BasicData
-
- net.sf.basedb.core.data.ReporterData
-
- net.sf.basedb.core.RawDataBatcher.ReporterProxy
-
- All Implemented Interfaces:
BatchableData
,ExtendableData
,IdentifiableData
,NameableData
,RegisteredData
- Enclosing class:
- RawDataBatcher
static class RawDataBatcher.ReporterProxy extends ReporterData
-
-
Field Summary
Fields Modifier and Type Field Description private String
externalId
private int
id
-
Fields inherited from class net.sf.basedb.core.data.ReporterData
MAX_EXTERNAL_ID_LENGTH, MAX_LAST_SOURCE_LENGTH, MAX_SYMBOL_LENGTH
-
Fields inherited from interface net.sf.basedb.core.data.NameableData
MAX_DESCRIPTION_LENGTH, MAX_NAME_LENGTH
-
-
Constructor Summary
Constructors Constructor Description ReporterProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExternalId()
Get the external id for thisReporterData
item.int
getId()
Get the id of the item.(package private) RawDataBatcher.ReporterProxy
setTheId(int id, String externalId)
-
Methods inherited from class net.sf.basedb.core.data.ReporterData
getDescription, getEntryDate, getExtended, getLastSource, getLastUpdate, getName, getSymbol, setDescription, setExtended, setExternalId, setName, setSymbol
-
Methods inherited from class net.sf.basedb.core.data.BasicData
equals, getVersion, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.basedb.core.data.IdentifiableData
getVersion
-
-
-
-
Field Detail
-
id
private int id
-
externalId
private String externalId
-
-
Method Detail
-
setTheId
RawDataBatcher.ReporterProxy setTheId(int id, String externalId)
-
getId
public int getId()
Description copied from class:BasicData
Get the id of the item. The id is automatically generated by the database the first time the item is saved to the database. A new item has the value 0.- Specified by:
getId
in interfaceIdentifiableData
- Overrides:
getId
in classBasicData
- Returns:
- The id of the item or 0
-
getExternalId
public String getExternalId()
Description copied from class:ReporterData
Get the external id for thisReporterData
item.- Overrides:
getExternalId
in classReporterData
- Returns:
- The reporter's external ID.
-
-