moos.ssds.model
Class Software

java.lang.Object
  extended bymoos.ssds.model.Software
All Implemented Interfaces:
IDescription, ISoftware, ResourceOwner, java.io.Serializable, ValueObject

public class Software
extends java.lang.Object
implements java.io.Serializable, IDescription, ResourceOwner, ValueObject, ISoftware


Version:
: $Revision: 1.8 $

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: mccann $
See Also:
Serialized Form

Constructor Summary
Software()
          Constructor for the Software object
 
Method Summary
 void addProcessRun(IProcessRun processRun)
          Adds a ProcessRun to the Software
 void addResource(IResource dr)
           
 IPerson getContact()
          Gets the contact attribute of the Software object
 java.lang.String getDescription()
          Gets the description attribute of the Software object
 java.lang.Long getId()
          Gets the id attribute of the Software object
 java.lang.String getName()
          Gets the name attribute of the Software object
 IPerson getPerson()
          Gets the person attribute of the Software object
 java.lang.Long getPersonId()
          Gets the personId attribute of the Software object
 java.util.Collection getProcessRuns()
          Gets the processRuns attribute of the Software object
 java.net.URL getUrl()
          Gets the url of the Software object
 java.lang.String getVersion()
          Gets the version attribute of the Software object
 java.util.Collection listResources()
          List all the resources associatied with this device
 void removeResource(IResource dr)
           
 void setContact(IPerson contact)
          Sets the contact attribute of the Software object
 void setDescription(java.lang.String description)
          Sets the description attribute of the Software object
 void setId(java.lang.Long id)
          Sets the id attribute of the Software object
 void setName(java.lang.String name)
          Sets the name attribute of the Software object
 void setPerson(IPerson person)
          Sets the person attribute of the Software object
 void setPersonId(java.lang.Long personId)
          Sets the personId attribute of the Software object
 void setProcessRuns(java.util.Collection allProcessRuns)
          Sets the processRuns attribute of the Software object
 void setUrl(java.lang.String url)
           
 void setUrl(java.net.URL url)
          Sets the url of the Software object
 void setVersion(java.lang.String version)
          Sets the version attribute of the Software object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Software

public Software()
Constructor for the Software object

Method Detail

addResource

public void addResource(IResource dr)
Specified by:
addResource in interface ResourceOwner
Parameters:
dr - The resource to add to this owner. IResourceOwners can have more than one resource.

getContact

public IPerson getContact()
Gets the contact attribute of the Software object

Specified by:
getContact in interface ISoftware
Returns:
The contact value

getDescription

public java.lang.String getDescription()
Gets the description attribute of the Software object

Specified by:
getDescription in interface IDescription
Returns:
The description value

getId

public java.lang.Long getId()
Gets the id attribute of the Software object

Specified by:
getId in interface ValueObject
Returns:
The id value

getName

public java.lang.String getName()
Gets the name attribute of the Software object

Specified by:
getName in interface IDescription
Returns:
The name value

getPerson

public IPerson getPerson()
Gets the person attribute of the Software object

Specified by:
getPerson in interface ISoftware
Returns:
The person value

getPersonId

public java.lang.Long getPersonId()
Gets the personId attribute of the Software object

Specified by:
getPersonId in interface ISoftware
Returns:
The personId value

getProcessRuns

public java.util.Collection getProcessRuns()
Gets the processRuns attribute of the Software object

Specified by:
getProcessRuns in interface ISoftware
Returns:
The processRuns value

getVersion

public java.lang.String getVersion()
Gets the version attribute of the Software object

Specified by:
getVersion in interface ISoftware
Returns:
The version value

listResources

public java.util.Collection listResources()
List all the resources associatied with this device

Specified by:
listResources in interface ResourceOwner
Returns:
Description of the Return Value

removeResource

public void removeResource(IResource dr)
Specified by:
removeResource in interface ResourceOwner
Parameters:
dr - The resource to remove from this owner

setContact

public void setContact(IPerson contact)
Sets the contact attribute of the Software object

Specified by:
setContact in interface ISoftware
Parameters:
contact - The new contact value

setDescription

public void setDescription(java.lang.String description)
Sets the description attribute of the Software object

Specified by:
setDescription in interface IDescription
Parameters:
description - The new description value

setId

public void setId(java.lang.Long id)
Sets the id attribute of the Software object

Specified by:
setId in interface ValueObject
Parameters:
id - The new id value

setName

public void setName(java.lang.String name)
Sets the name attribute of the Software object

Specified by:
setName in interface IDescription
Parameters:
name - The new name value

setPerson

public void setPerson(IPerson person)
Sets the person attribute of the Software object

Specified by:
setPerson in interface ISoftware
Parameters:
person - The new person value

setPersonId

public void setPersonId(java.lang.Long personId)
Sets the personId attribute of the Software object

Specified by:
setPersonId in interface ISoftware
Parameters:
personId - The new personId value

setProcessRuns

public void setProcessRuns(java.util.Collection allProcessRuns)
Sets the processRuns attribute of the Software object

Specified by:
setProcessRuns in interface ISoftware
Parameters:
allProcessRuns - The new processRuns value

setVersion

public void setVersion(java.lang.String version)
Sets the version attribute of the Software object

Specified by:
setVersion in interface ISoftware
Parameters:
version - The new version value

addProcessRun

public void addProcessRun(IProcessRun processRun)
Adds a ProcessRun to the Software

Specified by:
addProcessRun in interface ISoftware
Parameters:
processRun - is the processRun to add to the collection of ProcessRuns

getUrl

public java.net.URL getUrl()
Description copied from interface: ISoftware
Gets the url of the Software object

Specified by:
getUrl in interface ISoftware
Returns:
Typically a CVS Web url

setUrl

public void setUrl(java.net.URL url)
Description copied from interface: ISoftware
Sets the url of the Software object

Specified by:
setUrl in interface ISoftware
Parameters:
url - The URL specifying the CVS location of this software

setUrl

public void setUrl(java.lang.String url)