|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmoos.ssds.model.Device
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.
| Constructor Summary | |
Device()
Constructor for the Device object |
|
Device(long ID)
Constructor for the Device object |
|
Device(java.lang.Long ID)
Constructor for the Device object |
|
| Method Summary | |
void |
addDeployment(IDeployment d)
Adds a feature to the Deployment attribute of the Device object |
void |
addResource(IResource dr)
Adds a feature to the Resource attribute of the Device object |
IPerson |
getContact()
Gets the contact attribute of the Device object |
java.util.Collection |
getDeployments()
Gets the allDeployments attribute of the Device object |
java.lang.String |
getDescription()
Gets the description attribute of the Device object |
java.lang.Long |
getId()
Gets the id attribute of the Device object |
java.lang.String |
getMfgModel()
Gets the mfgModel attribute of the Device object |
java.lang.String |
getMfgName()
Gets the mfgName attribute of the Device object |
java.lang.String |
getMfgSerialNumber()
Gets the mfgSerialNumber attribute of the Device object |
java.lang.String |
getName()
Gets the name attribute of the Device object |
IPerson |
getPerson()
Gets the person attribute of the Device object |
java.lang.Long |
getPersonId()
Gets the personId attribute of the Device object |
java.lang.String |
getPreferredDeploymentRole()
Gets the preferredDeploymentRole attribute of the Device object |
java.util.Collection |
getResources()
|
java.lang.String |
getType()
Gets the type attribute of the Device object |
java.util.Collection |
listDeployments()
Description of the Method |
java.util.Collection |
listResources()
List all the configuration files associatied with this device |
void |
removeDeployment(IDeployment d)
|
void |
removeResource(IResource dr)
Description of the Method |
void |
setContact(IPerson contact)
Sets the contact attribute of the Device object |
void |
setDeployments(java.util.Collection deployments)
Sets the allDeployments attribute of the Device object |
void |
setDescription(java.lang.String description)
Sets the description attribute of the Device object |
void |
setId(long id)
Sets the id attribute of the Device object |
void |
setId(java.lang.Long id)
Sets the id attribute of the Device object |
void |
setMfgModel(java.lang.String mfgModel)
Sets the mfgModel attribute of the Device object |
void |
setMfgName(java.lang.String mfgName)
Sets the mfgName attribute of the Device object |
void |
setMfgSerialNumber(java.lang.String mfgSerialNumber)
Sets the mfgSerialNumber attribute of the Device object |
void |
setName(java.lang.String name)
Sets the name attribute of the Device object |
void |
setPerson(IPerson property)
Sets the person attribute of the Device object |
void |
setPersonId(java.lang.Long property)
Sets the personId attribute of the Device object |
void |
setPreferredDeploymentRole(java.lang.String preferredDeploymentRole)
Sets the preferred Deployment Role for this device. |
void |
setResources(java.util.Collection resources)
|
void |
setType(java.lang.String type)
Sets the type attribute of the Device 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 |
| Constructor Detail |
public Device()
public Device(long ID)
ID - Description of the Parameterpublic Device(java.lang.Long ID)
ID - Description of the Parameter| Method Detail |
public void addDeployment(IDeployment d)
addDeployment in interface IDeviced - The feature to be added to the Deployment attributepublic void addResource(IResource dr)
addResource in interface ResourceOwnerdr - The feature to be added to the Resource attributepublic java.util.Collection getDeployments()
getDeployments in interface IDevicepublic IPerson getContact()
getContact in interface IDevicepublic java.lang.String getDescription()
getDescription in interface IDescriptionpublic java.lang.Long getId()
getId in interface ValueObjectpublic java.lang.String getMfgModel()
getMfgModel in interface IDevicepublic java.lang.String getMfgName()
getMfgName in interface IDevicepublic java.lang.String getMfgSerialNumber()
getMfgSerialNumber in interface IDevicepublic java.lang.String getName()
getName in interface IDescriptionpublic IPerson getPerson()
getPerson in interface IDevicepublic java.lang.Long getPersonId()
getPersonId in interface IDevicepublic java.lang.String getPreferredDeploymentRole()
getPreferredDeploymentRole in interface IDevicepublic java.lang.String getType()
getType in interface IDevicepublic java.util.Collection listDeployments()
listDeployments in interface IDevicepublic java.util.Collection listResources()
listResources in interface ResourceOwnerpublic void removeResource(IResource dr)
removeResource in interface ResourceOwnerdr - Description of the Parameterpublic void removeDeployment(IDeployment d)
removeDeployment in interface IDevicepublic void setDeployments(java.util.Collection deployments)
setDeployments in interface IDevicepublic void setContact(IPerson contact)
setContact in interface IDevicecontact - The new contact valuepublic void setDescription(java.lang.String description)
setDescription in interface IDescriptiondescription - The new description valuepublic void setId(java.lang.Long id)
setId in interface ValueObjectid - The new id valuepublic void setId(long id)
setId in interface IDeviceid - The new id valuepublic void setMfgModel(java.lang.String mfgModel)
setMfgModel in interface IDevicemfgModel - The new mfgModel valuepublic void setMfgName(java.lang.String mfgName)
setMfgName in interface IDevicemfgName - The new mfgName valuepublic void setMfgSerialNumber(java.lang.String mfgSerialNumber)
setMfgSerialNumber in interface IDevicemfgSerialNumber - The new mfgSerialNumber valuepublic void setName(java.lang.String name)
setName in interface IDescriptionname - The new name valuepublic void setPerson(IPerson property)
setPerson in interface IDeviceproperty - The new person valuepublic void setPersonId(java.lang.Long property)
setPersonId in interface IDeviceproperty - The new personId valuepublic java.util.Collection getResources()
getResources in interface IDevicepublic void setResources(java.util.Collection resources)
setResources in interface IDevicepublic void setPreferredDeploymentRole(java.lang.String preferredDeploymentRole)
Deployment.PLATFORM_ROLE, Deployment.INSTRUMENT_ROLE and
Deployment.SENSOR_ROLE. This role is overridden by what is set
in Deployment.
setPreferredDeploymentRole in interface IDevicepreferredDeploymentRole - Deploymentpublic void setType(java.lang.String type)
setType in interface IDevicetype - The new type valuepublic java.lang.String toString()
toString in interface IDevice
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||