edu.nrao.sss.model.resource
Interface TelescopeBackend

All Superinterfaces:
Cloneable, Identifiable
All Known Implementing Classes:
CorrelatorConfiguration, EvlaWidarConfiguration, VlaConfiguration

public interface TelescopeBackend
extends Cloneable, Identifiable

Hardware used on a telescope that is downstream of the receivers. Correlators and spectrometers are two types of backends.

Version Info:

$Revision: 1219 $
$Date: 2008-04-14 15:03:49 -0600 (Mon, 14 Apr 2008) $
$Author: dharland $

Since:
2006-09-08
Author:
David M. Harland

Field Summary
 
Fields inherited from interface edu.nrao.sss.util.Identifiable
UNIDENTIFIED
 
Method Summary
 void clearId()
          Resets this instance's ID, and the IDs of all its components, to a value that represents the unidentified state.
 TelescopeBackend clone()
          Returns a copy of this backend.
 void configureFrom(ResourceSpecification scienceView)
          Configures this hardware so that it comes as close as possible to satisfying the scienceView.
 CorrelatorName getName()
          Returns a more specific type for this backend.
 AntennaElectronics getSignalSource()
          Returns the source of input signals for this backend.
 BackendType getType()
          Returns the general type of this backend.
 void setId(Long id)
          Sets the ID of this object; not recommended for most clients.
 void setSignalSource(AntennaElectronics newSource)
          Sets the source of input signals for this backend.
 
Methods inherited from interface edu.nrao.sss.util.Identifiable
getId
 

Method Detail

configureFrom

void configureFrom(ResourceSpecification scienceView)
Configures this hardware so that it comes as close as possible to satisfying the scienceView.

Parameters:
scienceView - a specification for the science goals to be met by this hardware.

getType

BackendType getType()
Returns the general type of this backend.

Returns:
the general type of this backend.

getName

CorrelatorName getName()
Returns a more specific type for this backend.

Returns:
a more specific type for this backend.

clone

TelescopeBackend clone()
Returns a copy of this backend.

Returns:
a copy of this backend.

setSignalSource

void setSignalSource(AntennaElectronics newSource)
Sets the source of input signals for this backend.

Parameters:
newSource - a new source of input signals for this backend.

getSignalSource

AntennaElectronics getSignalSource()
Returns the source of input signals for this backend.

Returns:
the source of input signals for this backed.

setId

void setId(Long id)
Sets the ID of this object; not recommended for most clients. This method is here primarily for the use of persistence mechanisms.

Parameters:
id - a new ID for this object.

clearId

void clearId()
Resets this instance's ID, and the IDs of all its components, to a value that represents the unidentified state.

This method is useful for preparing an instance for storage in a database. The ID property (as of now, though this may change in the future) is used by our persistence mechanism to identify objects. If you are persisting this instance for the first time, you may need to call this method before performing a save. This is especially true if you have created this instance from XML, as the XML unmarshalling brings along the ID property.



Copyright © 2009. All Rights Reserved.