edu.nrao.sss.model.source
Class FileBasedBrightness

java.lang.Object
  extended by edu.nrao.sss.model.source.SourceBrightness
      extended by edu.nrao.sss.model.source.FileBasedBrightness
All Implemented Interfaces:
Identifiable, Cloneable, Comparable<SourceBrightness>
Direct Known Subclasses:
CleanFileBrightness, FitsFileBrightness

public abstract class FileBasedBrightness
extends SourceBrightness

A source brightness whose description is based on a well known file format.

Version Info:

$Revision: 743 $
$Date: 2007-06-20 16:53:07 -0600 (Wed, 20 Jun 2007) $
$Author: dharland $

Since:
2006-04-04
Author:
David M. Harland

Field Summary
 
Fields inherited from interface edu.nrao.sss.util.Identifiable
UNIDENTIFIED
 
Method Summary
 URL getBrightnessFile()
          Returns the file upon which this source brightness is based, if any.
 void setBrightnessFile(URL fileUrl)
          Sets the file that describes this source brightness.
 
Methods inherited from class edu.nrao.sss.model.source.SourceBrightness
clone, compareTo, createBrightness, createBrightnesses, equals, getDistributionType, getId, getLimbDarkening, getMajorAxisDiameter, getMinorAxisDiameter, getObservation, getPeakFluxDensity, getPolarization, getPositionAngle, getTotalFluxDensity, getValidFrequency, getValidTime, getVlaObservation, hashCode, isFileBased, isValidFor, reset, setValidTime
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBrightnessFile

public void setBrightnessFile(URL fileUrl)
Sets the file that describes this source brightness.

Parameters:
fileUrl - the URL of the file that describes this source brightness. If this parameter is null, a phony non-null URL will be used.

getBrightnessFile

public URL getBrightnessFile()
Description copied from class: SourceBrightness
Returns the file upon which this source brightness is based, if any. If this source is not file based, a phony URL will be returned.

Overrides:
getBrightnessFile in class SourceBrightness
Returns:
the file upon which this source brightness is based, if any.


Copyright © 2009. All Rights Reserved.