|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CorrelationProductGroup
A grouping of correlation products that share certain properties.
Version Info:
$Revision: 2200 $ |
$Date: 2009-04-15 16:00:47 -0600 (Wed, 15 Apr 2009) $ |
$Author: dharland $ (last person to modify) |
Field Summary |
---|
Fields inherited from interface edu.nrao.sss.util.Identifiable |
---|
UNIDENTIFIED |
Method Summary | |
---|---|
boolean |
addPolarizationProduct(StokesParameter stokes)
Attempts to add the given product to this group. |
void |
clearId()
Resets this instance's ID, and the IDs of all its components, to a value that represents the unidentified state. |
SortedSet<StokesParameter> |
getAllowablePolarizationProducts()
Returns a set of the polarization products that may be obtained from this group. |
TimeDuration |
getMinimumTotalIntegrationTime()
Returns the minimum total integration time for this product. |
int |
getSpectralChannels()
Returns the total number of spectral channels, summed over all correlation products, for this group. |
int |
getSpectralChannels(StokesParameter stokes)
Returns the number of spectral channels of this group that are allocated to the given product. |
TimeDuration |
getTotalIntegrationTime()
Returns the total integration time for this product. |
String |
getUUID()
Returns an ID that attempts to be universally unique. |
void |
removeAllPolarizationProducts()
Removes all polarization products from this group. |
int |
removePolarizationProduct(StokesParameter stokes)
Removes the given product from this group, if present. |
void |
setTotalIntegrationTime(TimeDuration totalDuration)
Sets the total integration time for this product. |
Methods inherited from interface edu.nrao.sss.util.Identifiable |
---|
getId |
Method Detail |
---|
void clearId()
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.
String getUUID()
SortedSet<StokesParameter> getAllowablePolarizationProducts()
boolean addPolarizationProduct(StokesParameter stokes)
allowable product
.
This method returns true if it already contained
stokes or if this method successfully added it.
stokes
- the product to be added to this group.
stokes
after a
call to this method.int removePolarizationProduct(StokesParameter stokes)
stokes
- the product to be removed to this group.
void removeAllPolarizationProducts()
int getSpectralChannels()
int getSpectralChannels(StokesParameter stokes)
stokes
- the product for which a number of channels is requested.
stokes
.void setTotalIntegrationTime(TimeDuration totalDuration)
totalDuration
- the total integration duration for this product.TimeDuration getTotalIntegrationTime()
TimeDuration getMinimumTotalIntegrationTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |