moos.ssds.model
Class DataStream

java.lang.Object
  extended bymoos.ssds.model.DataContainer
      extended bymoos.ssds.model.DataStream
All Implemented Interfaces:
IDataContainer, IDataStream, IDateRange, IDescription, IUrlAccess, ResourceOwner, java.io.Serializable, ValueObject

public class DataStream
extends DataContainer
implements IDataStream, java.io.Serializable


Version:
: $Revision: 1.6 $

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement. This information should not be published or distributed to third parties without specific written permission from MBARI.


Copyright 2002 MBARI.
MBARI Proprietary Information. All rights reserved.



Author:
: $Author: kgomes $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class moos.ssds.model.DataContainer
ojbConcreteClass
 
Constructor Summary
DataStream()
          Constructor for the DataContainer object
 
Method Summary
 java.net.URL getUrl()
           
 boolean isWebAccessible()
           
 void setUrl(java.net.URL url)
           
 
Methods inherited from class moos.ssds.model.DataContainer
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

DataStream

public DataStream()
Constructor for the DataContainer object

Method Detail

getUrl

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

setUrl

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

isWebAccessible

public boolean isWebAccessible()
Specified by:
isWebAccessible in interface IDataStream
Returns:
true if the URL uses http or ftp protocols or if dodsAccessabel is true