moos.ssds.model
Interface IDataFile

All Superinterfaces:
IDataContainer, IDateRange, IDescription, IUrlAccess, ResourceOwner, java.io.Serializable, ValueObject
All Known Implementing Classes:
DataFile

public interface IDataFile
extends java.io.Serializable, IDataContainer, IUrlAccess

Author:
kgomes To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
static java.lang.String FLATFILE_TYPE
          Flatfiles are machine parseable datafiles that can be describes using the SSDS metadata schema
static java.lang.String NETCDF_TYPE
          Netcdf files
static java.lang.String SERIALIZEDPACKETS_TYPE
          Serialized packets are ISI packets.
static java.lang.String UNDEFINED_TYPE
           
 
Method Summary
 java.lang.String getContentType()
          Indicates the contents of the DataFile
 java.lang.String getFileName()
          This should dynamically parses the filename from the URL.
 IHeaderDescription getHeaderDescription()
           
 java.lang.Long getHeaderDescriptionId()
           
 java.net.URL getUrl()
           
 boolean isDodsAccessible()
           
 boolean isWebAccessible()
           
 void setContentType(java.lang.String type)
          Indicates the contents of the DataFile
 void setDodsAccessible(boolean dodsAccessable)
           
 void setFileName(java.lang.String fileName)
          Deprecated. TODO 20031006 brian: This should probably be parsed dynamically from the URL. getFileName() should probably be removed.
 void setHeaderDescription(IHeaderDescription headerDescription)
           
 void setHeaderDescriptionId(java.lang.Long headerDescriptionId)
           
 void setUrl(java.net.URL url)
           
 
Methods inherited from interface moos.ssds.model.IDataContainer
addConsumer, addRecordDescription, addResource, getContact, getCreator, getDataProducerId, getDateRange, getDescription, getEndDate, getId, getName, getPerson, getPersonId, getRecordDescription, getRecordDescriptions, getStartDate, isOriginal, listAllConsumers, listAllInputs, listAllOutputs, listAllProducers, listDerivedOutputs, listDirectConsumers, listDirectInputs, listIndirectConsumers, listIndirectCreators, listIndirectInputs, listRecordDescriptions, listResources, removeConsumer, removeRecordDescription, removeResource, setContact, setCreator, setDataProducerId, setDescription, setEndDate, setId, setName, setOriginal, setPerson, setPersonId, setRecordDescription, setRecordDescriptions, setStartDate, toString
 

Field Detail

FLATFILE_TYPE

public static final java.lang.String FLATFILE_TYPE
Flatfiles are machine parseable datafiles that can be describes using the SSDS metadata schema

See Also:
Constant Field Values

SERIALIZEDPACKETS_TYPE

public static final java.lang.String SERIALIZEDPACKETS_TYPE
Serialized packets are ISI packets. that have been desirlaized using PacketOutput

See Also:
Constant Field Values

UNDEFINED_TYPE

public static final java.lang.String UNDEFINED_TYPE
See Also:
Constant Field Values

NETCDF_TYPE

public static final java.lang.String NETCDF_TYPE
Netcdf files

See Also:
Constant Field Values
Method Detail

getUrl

public java.net.URL getUrl()
Specified by:
getUrl in interface IUrlAccess

setUrl

public void setUrl(java.net.URL url)
Specified by:
setUrl in interface IUrlAccess

isDodsAccessible

public boolean isDodsAccessible()

setDodsAccessible

public void setDodsAccessible(boolean dodsAccessable)

isWebAccessible

public boolean isWebAccessible()
Specified by:
isWebAccessible in interface IUrlAccess

getFileName

public java.lang.String getFileName()
This should dynamically parses the filename from the URL. setFileName() should probably be removed.


setFileName

public void setFileName(java.lang.String fileName)
Deprecated. TODO 20031006 brian: This should probably be parsed dynamically from the URL. getFileName() should probably be removed.


getHeaderDescription

public IHeaderDescription getHeaderDescription()

setHeaderDescription

public void setHeaderDescription(IHeaderDescription headerDescription)

getContentType

public java.lang.String getContentType()
Indicates the contents of the DataFile

Returns:
Since:
Jun 3, 2003
See Also:
FLATFILE_TYPE, SERIALIZEDPACKETS_TYPE, UNDEFINED_TYPE, NETCDF_TYPE

setContentType

public void setContentType(java.lang.String type)
Indicates the contents of the DataFile

Parameters:
type -
Since:
Jun 3, 2003

getHeaderDescriptionId

public java.lang.Long getHeaderDescriptionId()

setHeaderDescriptionId

public void setHeaderDescriptionId(java.lang.Long headerDescriptionId)