Class DataFileBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.DataFileBean
- All Implemented Interfaces:
OjbImplementedBean
,CollectionSizeBean
,DataFile
,ecmwf.web.model.ModelBean
public class DataFileBean
extends ecmwf.web.dao.ModelBeanBase
implements DataFile, OjbImplementedBean
The Class DataFileBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DataFileBean
(DataFile datafile) Instantiates a new data file bean. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.boolean
Equals.Gets the arrived time.Gets the bean interface name.Gets the caller.Gets the checksum.int
Gets the collection size.Gets the data transfers.boolean
Gets the deleted.boolean
Gets the delete original.Gets the earliest time.Gets the ecauth host.Gets the ecauth user.Gets the formatted caller.Gets the formatted original.Gets the formatted size.Gets the gets the complete duration.Gets the gets the duration.Gets the gets the host.Gets the gets the protocol overhead.Gets the group by.getId()
Gets the id.int
getIndex()
Gets the index.Gets the latest time.Gets the meta data.Gets the meta stream.Gets the meta target.Gets the meta time.Gets the meta type.Gets the ojb implementation.Gets the original.Gets the predicted time.Gets the product generation time.Gets the product time.Gets the remote host.boolean
Gets the removed.long
getSize()
Gets the size.Gets the source.Gets the storage path.getTime()
Gets the time.long
Gets the time step.ecmwf.web.model.users.User
getUser()
Gets the user.int
hashCode()
Hash code.void
setRemoved
(boolean b) Sets the removed.void
setUser
(ecmwf.web.model.users.User user) Sets the user.toString()
To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
-
Constructor Details
-
DataFileBean
Instantiates a new data file bean.- Parameters:
datafile
- the datafile
-
-
Method Details
-
setUser
-
getUser
public ecmwf.web.model.users.User getUser()Gets the user.- Returns:
- the user
-
getIndex
-
getCaller
-
getFormattedCaller
Gets the formatted caller. Gets the formatted caller.- Specified by:
getFormattedCaller
in interfaceDataFile
- Returns:
- the formatted caller
-
getRemoteHost
Gets the remote host. Gets the remote host.- Specified by:
getRemoteHost
in interfaceDataFile
- Returns:
- the remote host
-
getGetHost
Gets the gets the host. Gets the gets the host.- Specified by:
getGetHost
in interfaceDataFile
- Returns:
- the gets the host
-
getGroupBy
-
getChecksum
Gets the checksum. Gets the checksum.- Specified by:
getChecksum
in interfaceDataFile
- Returns:
- the checksum
-
getGetCompleteDuration
Gets the gets the complete duration. Gets the gets the complete duration.- Specified by:
getGetCompleteDuration
in interfaceDataFile
- Returns:
- the gets the complete duration
-
getGetDuration
Gets the gets the duration. Gets the gets the duration.- Specified by:
getGetDuration
in interfaceDataFile
- Returns:
- the gets the duration
-
getGetProtocolOverhead
Gets the gets the protocol overhead. Gets the gets the protocol overhead.- Specified by:
getGetProtocolOverhead
in interfaceDataFile
- Returns:
- the gets the protocol overhead
-
getEcauthHost
Gets the ecauth host. Gets the ecauth host.- Specified by:
getEcauthHost
in interfaceDataFile
- Returns:
- the ecauth host
-
getEcauthUser
Gets the ecauth user. Gets the ecauth user.- Specified by:
getEcauthUser
in interfaceDataFile
- Returns:
- the ecauth user
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementation
in interfaceOjbImplementedBean
- Returns:
- the ojb implementation
-
getId
Gets the id.- Specified by:
getId
in interfaceecmwf.web.model.ModelBean
- Overrides:
getId
in classecmwf.web.dao.ModelBeanBase
-
getArrivedTime
Gets the arrived time. Gets the arrived time.- Specified by:
getArrivedTime
in interfaceDataFile
- Returns:
- the arrived time
-
getProductTime
Gets the product time. Gets the product time.- Specified by:
getProductTime
in interfaceDataFile
- Returns:
- the product time
-
getStoragePath
Gets the storage path. Gets the storage path.- Specified by:
getStoragePath
in interfaceDataFile
- Returns:
- the storage path
-
getProductGenerationTime
Gets the product generation time. Gets the product generation time.- Specified by:
getProductGenerationTime
in interfaceDataFile
- Returns:
- the product generation time
-
getEarliestTime
Gets the earliest time. Gets the earliest time.- Specified by:
getEarliestTime
in interfaceDataFile
- Returns:
- the earliest time
-
getLatestTime
Gets the latest time. Gets the latest time.- Specified by:
getLatestTime
in interfaceDataFile
- Returns:
- the latest time
-
getPredictedTime
Gets the predicted time. Gets the predicted time.- Specified by:
getPredictedTime
in interfaceDataFile
- Returns:
- the predicted time
-
getCollectionSize
public int getCollectionSize()Gets the collection size. Gets the collection size.- Specified by:
getCollectionSize
in interfaceCollectionSizeBean
- Returns:
- the collection size
-
getDeleted
public boolean getDeleted()Gets the deleted. Gets the deleted.- Specified by:
getDeleted
in interfaceDataFile
- Returns:
- the deleted
-
getDeleteOriginal
public boolean getDeleteOriginal()Gets the delete original. Gets the delete original.- Specified by:
getDeleteOriginal
in interfaceDataFile
- Returns:
- the delete original
-
getRemoved
public boolean getRemoved()Gets the removed. Gets the removed.- Specified by:
getRemoved
in interfaceDataFile
- Returns:
- the removed
-
getOriginal
Gets the original. Gets the original.- Specified by:
getOriginal
in interfaceDataFile
- Returns:
- the original
-
getFormattedOriginal
Gets the formatted original. Gets the formatted original.- Specified by:
getFormattedOriginal
in interfaceDataFile
- Returns:
- the formatted original
-
getSize
-
getFormattedSize
Gets the formatted size. Gets the formatted size.- Specified by:
getFormattedSize
in interfaceDataFile
- Returns:
- the formatted size
-
getSource
-
getTime
-
getTimeStep
public long getTimeStep()Gets the time step. Gets the time step.- Specified by:
getTimeStep
in interfaceDataFile
- Returns:
- the time step
-
getMetaData
Gets the meta data. Gets the meta data.- Specified by:
getMetaData
in interfaceDataFile
- Returns:
- the meta data
- Throws:
DataFileException
- the data file exception
-
setRemoved
public void setRemoved(boolean b) Sets the removed.- Parameters:
b
- the new removed
-
getDataTransfers
Gets the data transfers. Gets the data transfers.- Specified by:
getDataTransfers
in interfaceDataFile
- Returns:
- the data transfers
- Throws:
DataFileException
- the data file exception
-
getMetaTime
Gets the meta time. Gets the meta time.- Specified by:
getMetaTime
in interfaceDataFile
- Returns:
- The time of the product. Eg "00", "12", etc
-
getMetaStream
Gets the meta stream. Gets the meta stream.- Specified by:
getMetaStream
in interfaceDataFile
- Returns:
- The stream (data stream) of the product. Eg "OPER", "WAVE", etc
-
getMetaTarget
Gets the meta target. Gets the meta target.- Specified by:
getMetaTarget
in interfaceDataFile
- Returns:
- The target (dissemination stream) of the product. Eg "IT1", "IT2", etc
-
getMetaType
Gets the meta type. Gets the meta type.- Specified by:
getMetaType
in interfaceDataFile
- Returns:
- The type of the product. Eg "G" for Global, "M" for Mediterranean
-
equals
-
equals
-
hashCode
-
toString
-