|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmoos.ssds.model.DataContainer
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 2003 MBARI. MBARI Proprietary Information. All rights reserved.
| Field Summary | |
protected java.lang.String |
ojbConcreteClass
Description of the Field |
| Constructor Summary | |
DataContainer()
Constructor for the DataContainer object |
|
| Method Summary | |
void |
addConsumer(IDataProducer producer)
Add a Producer that consumed this DataContainer. |
void |
addRecordDescription(IRecordDescription rd)
|
void |
addResource(IResource dr)
Adds a feature to the Resource attribute of the DataContainer object |
IPerson |
getContact()
Gets the contact attribute of the DataContainer object |
IDataProducer |
getCreator()
Gets the creator attribute of the DataContainer object |
java.lang.Long |
getDataProducerId()
Gets the dataProducerId attribute of the DataContainer object |
IDateRange |
getDateRange()
Gets the dateRange attribute of the DataContainer object |
java.lang.String |
getDescription()
Gets the description attribute of the DataContainer object |
java.util.Date |
getEndDate()
Gets the endDate attribute of the DataContainer object |
java.lang.Long |
getId()
Gets the id attribute of the DataContainer object |
java.lang.String |
getName()
Gets the name attribute of the DataContainer object |
IPerson |
getPerson()
Gets the person attribute of the DataContainer object |
java.lang.Long |
getPersonId()
Gets the personId attribute of the DataContainer object |
IRecordDescription |
getRecordDescription()
Returns the first recordDescirption in the interanl list |
java.util.Collection |
getRecordDescriptions()
WARNING:This method is for OJB use not for production code. |
java.util.Date |
getStartDate()
Gets the startDate attribute of the DataContainer object |
boolean |
isOriginal()
Is this a original data? Original data is usually produced directly from a LogicalInstrumentDeployment |
java.util.Collection |
listAllConsumers()
Returns a Collection of Producers that used this data set. |
java.util.Collection |
listAllInputs()
Lists the DataContainers that were used by the chain of producers that created this instance |
java.util.Collection |
listAllOutputs()
|
java.util.Collection |
listAllProducers()
Returns a Collection of Producers that produced this data set. |
java.util.Collection |
listDerivedOutputs()
Lists all DataContainers that used data or data derived from
this container. |
java.util.Collection |
listDirectConsumers()
Get the Producers that used this dataset directly. |
java.util.Collection |
listDirectInputs()
|
java.util.Collection |
listIndirectConsumers()
Description of the Method |
java.util.Collection |
listIndirectCreators()
|
java.util.Collection |
listIndirectInputs()
|
java.util.Collection |
listRecordDescriptions()
|
java.util.Collection |
listResources()
List all the configuration files associatied with this device |
void |
removeConsumer(IDataProducer producer)
Description of the Method |
void |
removeRecordDescription(IRecordDescription rd)
|
void |
removeResource(IResource dr)
Description of the Method |
void |
setContact(IPerson contact)
Sets the contact attribute of the DataContainer object |
void |
setCreator(IDataProducer creator)
Sets the creator attribute of the DataContainer object |
void |
setDataProducerId(java.lang.Long dataProducerId)
Sets the dataProducerId attribute of the DataContainer object |
void |
setDescription(java.lang.String description)
Sets the description attribute of the DataContainer object |
void |
setEndDate(java.util.Date endDate)
Sets the endDate attribute of the DataContainer object |
void |
setId(java.lang.Long id)
Sets the id attribute of the DataContainer object |
void |
setName(java.lang.String name)
Sets the name attribute of the DataContainer object |
void |
setOriginal(boolean original)
Sets the original attribute of the DataContainer object |
void |
setPerson(IPerson person)
Sets the person attribute of the DataContainer object |
void |
setPersonId(java.lang.Long personId)
Sets the personId attribute of the DataContainer object |
void |
setRecordDescription(IRecordDescription recordDescription)
Clears all recordDescriptions already stored and adds the recordDescription supplied as an argument. |
void |
setRecordDescriptions(java.util.Collection recordDescriptions)
WARNING:This method is for OJB use, not for production code. |
void |
setStartDate(java.util.Date startDate)
Sets the startDate attribute of the DataContainer object |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String ojbConcreteClass
| Constructor Detail |
public DataContainer()
| Method Detail |
public void addResource(IResource dr)
addResource in interface ResourceOwnerdr - The feature to be added to the Resource attributepublic void addConsumer(IDataProducer producer)
Producer that consumed this DataContainer. Only add
Producers that actually use this container, not producers that use a product
derived from this (a.k.a A Child DataContainer)
addConsumer in interface IDataContainerproducer - A Producer that consumed this DataContainer to produce
another dataContainer.public IPerson getContact()
getContact in interface IDataContainerpublic IDataProducer getCreator()
getCreator in interface IDataContainerpublic java.lang.Long getDataProducerId()
getDataProducerId in interface IDataContainerpublic IDateRange getDateRange()
getDateRange in interface IDateRangepublic java.lang.String getDescription()
getDescription in interface IDescriptionpublic java.util.Date getEndDate()
getEndDate in interface IDateRangepublic java.lang.Long getId()
getId in interface ValueObjectpublic java.lang.String getName()
getName in interface IDescriptionpublic IPerson getPerson()
getPerson in interface IDataContainerpublic java.lang.Long getPersonId()
getPersonId in interface IDataContainerpublic IRecordDescription getRecordDescription()
getRecordDescription in interface IDataContainerpublic java.util.Date getStartDate()
getStartDate in interface IDateRangepublic boolean isOriginal()
LogicalInstrumentDeployment
isOriginal in interface IDataContainerpublic java.util.Collection listAllInputs()
listAllInputs in interface IDataContainerpublic java.util.Collection listDerivedOutputs()
DataContainers that used data or data derived from
this container.
listDerivedOutputs in interface IDataContainerDataContainersthat used data from this instance.public java.util.Collection listAllConsumers()
listAllConsumers in interface IDataContainerpublic java.util.Collection listDirectConsumers()
listDirectConsumers in interface IDataContainerCollection of Producerspublic java.util.Collection listAllProducers()
listAllProducers in interface IDataContainerpublic java.util.Collection listIndirectConsumers()
listIndirectConsumers in interface IDataContainerpublic java.util.Collection listResources()
listResources in interface ResourceOwnerpublic void removeResource(IResource dr)
removeResource in interface ResourceOwnerdr - Description of the Parameterpublic void setContact(IPerson contact)
setContact in interface IDataContainercontact - The new contact valuepublic void setDataProducerId(java.lang.Long dataProducerId)
setDataProducerId in interface IDataContainerdataProducerId - The new dataProducerId valuepublic void setDescription(java.lang.String description)
setDescription in interface IDescriptiondescription - The new description valuepublic void setEndDate(java.util.Date endDate)
setEndDate in interface IDateRangeendDate - The new endDate valuepublic void setId(java.lang.Long id)
setId in interface ValueObjectid - The new id valuepublic void setName(java.lang.String name)
setName in interface IDescriptionname - The new name valuepublic void setOriginal(boolean original)
setOriginal in interface IDataContaineroriginal - The new original valuepublic void setPerson(IPerson person)
setPerson in interface IDataContainerperson - The new person valuepublic void setPersonId(java.lang.Long personId)
setPersonId in interface IDataContainerpersonId - The new personId valuepublic void setRecordDescription(IRecordDescription recordDescription)
setRecordDescription in interface IDataContainerrecordDescription - The new recordDescription valueaddRecordDescriptionpublic void setStartDate(java.util.Date startDate)
setStartDate in interface IDateRangestartDate - The new startDate valuepublic java.lang.String toString()
toString in interface IDataContainerpublic void removeConsumer(IDataProducer producer)
removeConsumer in interface IDataContainerproducer - Description of the Parameterpublic void setCreator(IDataProducer creator)
setCreator in interface IDataContainercreator - The new creator valuepublic java.util.Collection listIndirectCreators()
listIndirectCreators in interface IDataContainerpublic java.util.Collection getRecordDescriptions()
getRecordDescriptions in interface IDataContainerpublic void setRecordDescriptions(java.util.Collection recordDescriptions)
setRecordDescriptions in interface IDataContainerpublic void addRecordDescription(IRecordDescription rd)
addRecordDescription in interface IDataContainerpublic void removeRecordDescription(IRecordDescription rd)
removeRecordDescription in interface IDataContainerpublic java.util.Collection listDirectInputs()
listDirectInputs in interface IDataContainerpublic java.util.Collection listIndirectInputs()
listIndirectInputs in interface IDataContainerpublic java.util.Collection listRecordDescriptions()
listRecordDescriptions in interface IDataContainerpublic java.util.Collection listAllOutputs()
listAllOutputs in interface IDataContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||