SBSummaryRow

class SBSummaryRow(table, row=None)[source]

Bases: object

The SBSummaryRow class is a row of a SBSummaryTable.

Generated from model’s revision -1, branch

Methods Summary

centerDirectionCodeFromBin(row, eis)

Set the optional centerDirectionCode in row from the EndianInput (eis) instance.

centerDirectionEquinoxFromBin(row, eis)

Set the optional centerDirectionEquinox in row from the EndianInput (eis) instance.

centerDirectionFromBin(row, eis)

Set the optional centerDirection in row from the EndianInput (eis) instance.

clearCenterDirection()

Mark centerDirection, which is an optional field, as non-existent.

clearCenterDirectionCode()

Mark centerDirectionCode, which is an optional field, as non-existent.

clearCenterDirectionEquinox()

Mark centerDirectionEquinox, which is an optional field, as non-existent.

compareNoAutoInc(sbSummaryUID, projectUID, …)

Compare each attribute except the autoincrementable one of this SBSummaryRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(sbSummaryUID, …)

equalByRequiredValue(otherRow)

Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.

frequencyBandFromBin(row, eis)

Set the frequencyBand in row from the EndianInput (eis) instance.

frequencyFromBin(row, eis)

Set the frequency in row from the EndianInput (eis) instance.

fromBin(eis, table, attributesSeq)

Given an EndianInput instance by the table (which must be a Pointing instance) and the list of attributes to be found in eis, in order, this constructs a row by pulling off values from that EndianInput in the expected order.

getCenterDirection()

Get centerDirection, which is optional.

getCenterDirectionCode()

Get centerDirectionCode, which is optional.

getCenterDirectionEquinox()

Get centerDirectionEquinox, which is optional.

getFrequency()

Get frequency.

getFrequencyBand()

Get frequencyBand.

getNumObservingMode()

Get numObservingMode.

getNumScienceGoal()

Get numScienceGoal.

getNumWeatherConstraint()

Get numWeatherConstraint.

getNumberRepeats()

Get numberRepeats.

getObsUnitSetUID()

Get obsUnitSetUID.

getObservingMode()

Get observingMode.

getProjectUID()

Get projectUID.

getSBSummaryId()

Get sBSummaryId.

getSbDuration()

Get sbDuration.

getSbSummaryUID()

Get sbSummaryUID.

getSbType()

Get sbType.

getScienceGoal()

Get scienceGoal.

getTable()

Return the table to which this row belongs.

getWeatherConstraint()

Get weatherConstraint.

initFromBinMethods()

isAdded()

isCenterDirectionCodeExists()

The attribute centerDirectionCode is optional.

isCenterDirectionEquinoxExists()

The attribute centerDirectionEquinox is optional.

isCenterDirectionExists()

The attribute centerDirection is optional.

numObservingModeFromBin(row, eis)

Set the numObservingMode in row from the EndianInput (eis) instance.

numScienceGoalFromBin(row, eis)

Set the numScienceGoal in row from the EndianInput (eis) instance.

numWeatherConstraintFromBin(row, eis)

Set the numWeatherConstraint in row from the EndianInput (eis) instance.

numberRepeatsFromBin(row, eis)

Set the numberRepeats in row from the EndianInput (eis) instance.

obsUnitSetUIDFromBin(row, eis)

Set the obsUnitSetUID in row from the EndianInput (eis) instance.

observingModeFromBin(row, eis)

Set the observingMode in row from the EndianInput (eis) instance.

projectUIDFromBin(row, eis)

Set the projectUID in row from the EndianInput (eis) instance.

sBSummaryIdFromBin(row, eis)

Set the sBSummaryId in row from the EndianInput (eis) instance.

sbDurationFromBin(row, eis)

Set the sbDuration in row from the EndianInput (eis) instance.

sbSummaryUIDFromBin(row, eis)

Set the sbSummaryUID in row from the EndianInput (eis) instance.

sbTypeFromBin(row, eis)

Set the sbType in row from the EndianInput (eis) instance.

scienceGoalFromBin(row, eis)

Set the scienceGoal in row from the EndianInput (eis) instance.

setCenterDirection(centerDirection)

Set centerDirection with the specified Angle [] value.

setCenterDirectionCode(centerDirectionCode)

Set centerDirectionCode with the specified DirectionReferenceCode value.

setCenterDirectionEquinox(centerDirectionEquinox)

Set centerDirectionEquinox with the specified ArrayTime value.

setFrequency(frequency)

Set frequency with the specified float value.

setFrequencyBand(frequencyBand)

Set frequencyBand with the specified ReceiverBand value.

setFromXML(xmlrow)

Fill the values of this row from an XML string that was produced by the toXML() method.

setNumObservingMode(numObservingMode)

Set numObservingMode with the specified int value.

setNumScienceGoal(numScienceGoal)

Set numScienceGoal with the specified int value.

setNumWeatherConstraint(numWeatherConstraint)

Set numWeatherConstraint with the specified int value.

setNumberRepeats(numberRepeats)

Set numberRepeats with the specified int value.

setObsUnitSetUID(obsUnitSetUID)

Set obsUnitSetUID with the specified EntityRef value.

setObservingMode(observingMode)

Set observingMode with the specified str [] value.

setProjectUID(projectUID)

Set projectUID with the specified EntityRef value.

setSBSummaryId(sBSummaryId)

Set sBSummaryId with the specified Tag value.

setSbDuration(sbDuration)

Set sbDuration with the specified Interval value.

setSbSummaryUID(sbSummaryUID)

Set sbSummaryUID with the specified EntityRef value.

setSbType(sbType)

Set sbType with the specified SBType value.

setScienceGoal(scienceGoal)

Set scienceGoal with the specified str [] value.

setWeatherConstraint(weatherConstraint)

Set weatherConstraint with the specified str [] value.

toBin(eos)

Write this row out to the EndianOutput instance, eos.

toXML()

Return this row in the form of an XML string.

weatherConstraintFromBin(row, eis)

Set the weatherConstraint in row from the EndianInput (eis) instance.

Methods Documentation

static centerDirectionCodeFromBin(row, eis)[source]

Set the optional centerDirectionCode in row from the EndianInput (eis) instance.

static centerDirectionEquinoxFromBin(row, eis)[source]

Set the optional centerDirectionEquinox in row from the EndianInput (eis) instance.

static centerDirectionFromBin(row, eis)[source]

Set the optional centerDirection in row from the EndianInput (eis) instance.

clearCenterDirection()[source]

Mark centerDirection, which is an optional field, as non-existent.

clearCenterDirectionCode()[source]

Mark centerDirectionCode, which is an optional field, as non-existent.

clearCenterDirectionEquinox()[source]

Mark centerDirectionEquinox, which is an optional field, as non-existent.

compareNoAutoInc(sbSummaryUID, projectUID, obsUnitSetUID, frequency, frequencyBand, sbType, sbDuration, numObservingMode, observingMode, numberRepeats, numScienceGoal, scienceGoal, numWeatherConstraint, weatherConstraint)[source]

Compare each attribute except the autoincrementable one of this SBSummaryRow with the corresponding parameters and return True if there is a match and False otherwise.

compareRequiredValue(sbSummaryUID, projectUID, obsUnitSetUID, frequency, frequencyBand, sbType, sbDuration, numObservingMode, observingMode, numberRepeats, numScienceGoal, scienceGoal, numWeatherConstraint, weatherConstraint)[source]
equalByRequiredValue(otherRow)[source]

Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.

static frequencyBandFromBin(row, eis)[source]

Set the frequencyBand in row from the EndianInput (eis) instance.

static frequencyFromBin(row, eis)[source]

Set the frequency in row from the EndianInput (eis) instance.

static fromBin(eis, table, attributesSeq)[source]

Given an EndianInput instance by the table (which must be a Pointing instance) and the list of attributes to be found in eis, in order, this constructs a row by pulling off values from that EndianInput in the expected order.

The new row object is returned.

getCenterDirection()[source]

Get centerDirection, which is optional. return centerDirection as Angle [] raises ValueError If centerDirection does not exist.

getCenterDirectionCode()[source]

Get centerDirectionCode, which is optional. return centerDirectionCode as DirectionReferenceCode raises ValueError If centerDirectionCode does not exist.

getCenterDirectionEquinox()[source]

Get centerDirectionEquinox, which is optional. return centerDirectionEquinox as ArrayTime raises ValueError If centerDirectionEquinox does not exist.

getFrequency()[source]

Get frequency. return frequency as float

getFrequencyBand()[source]

Get frequencyBand. return frequencyBand as ReceiverBand

getNumObservingMode()[source]

Get numObservingMode. return numObservingMode as int

getNumScienceGoal()[source]

Get numScienceGoal. return numScienceGoal as int

getNumWeatherConstraint()[source]

Get numWeatherConstraint. return numWeatherConstraint as int

getNumberRepeats()[source]

Get numberRepeats. return numberRepeats as int

getObsUnitSetUID()[source]

Get obsUnitSetUID. return obsUnitSetUID as EntityRef

getObservingMode()[source]

Get observingMode. return observingMode as str []

getProjectUID()[source]

Get projectUID. return projectUID as EntityRef

getSBSummaryId()[source]

Get sBSummaryId. return sBSummaryId as Tag

getSbDuration()[source]

Get sbDuration. return sbDuration as Interval

getSbSummaryUID()[source]

Get sbSummaryUID. return sbSummaryUID as EntityRef

getSbType()[source]

Get sbType. return sbType as SBType

getScienceGoal()[source]

Get scienceGoal. return scienceGoal as str []

getTable()[source]

Return the table to which this row belongs.

getWeatherConstraint()[source]

Get weatherConstraint. return weatherConstraint as str []

static initFromBinMethods()[source]
isAdded()[source]
isCenterDirectionCodeExists()[source]

The attribute centerDirectionCode is optional. Return True if this attribute exists. return True if and only if the centerDirectionCode attribute exists.

isCenterDirectionEquinoxExists()[source]

The attribute centerDirectionEquinox is optional. Return True if this attribute exists. return True if and only if the centerDirectionEquinox attribute exists.

isCenterDirectionExists()[source]

The attribute centerDirection is optional. Return True if this attribute exists. return True if and only if the centerDirection attribute exists.

static numObservingModeFromBin(row, eis)[source]

Set the numObservingMode in row from the EndianInput (eis) instance.

static numScienceGoalFromBin(row, eis)[source]

Set the numScienceGoal in row from the EndianInput (eis) instance.

static numWeatherConstraintFromBin(row, eis)[source]

Set the numWeatherConstraint in row from the EndianInput (eis) instance.

static numberRepeatsFromBin(row, eis)[source]

Set the numberRepeats in row from the EndianInput (eis) instance.

static obsUnitSetUIDFromBin(row, eis)[source]

Set the obsUnitSetUID in row from the EndianInput (eis) instance.

static observingModeFromBin(row, eis)[source]

Set the observingMode in row from the EndianInput (eis) instance.

static projectUIDFromBin(row, eis)[source]

Set the projectUID in row from the EndianInput (eis) instance.

static sBSummaryIdFromBin(row, eis)[source]

Set the sBSummaryId in row from the EndianInput (eis) instance.

static sbDurationFromBin(row, eis)[source]

Set the sbDuration in row from the EndianInput (eis) instance.

static sbSummaryUIDFromBin(row, eis)[source]

Set the sbSummaryUID in row from the EndianInput (eis) instance.

static sbTypeFromBin(row, eis)[source]

Set the sbType in row from the EndianInput (eis) instance.

static scienceGoalFromBin(row, eis)[source]

Set the scienceGoal in row from the EndianInput (eis) instance.

setCenterDirection(centerDirection)[source]

Set centerDirection with the specified Angle [] value. centerDirection The Angle [] value to which centerDirection is to be set. The value of centerDirection can be anything allowed by the Angle [] constructor.

setCenterDirectionCode(centerDirectionCode)[source]

Set centerDirectionCode with the specified DirectionReferenceCode value. centerDirectionCode The DirectionReferenceCode value to which centerDirectionCode is to be set.

setCenterDirectionEquinox(centerDirectionEquinox)[source]

Set centerDirectionEquinox with the specified ArrayTime value. centerDirectionEquinox The ArrayTime value to which centerDirectionEquinox is to be set. The value of centerDirectionEquinox can be anything allowed by the ArrayTime constructor.

setFrequency(frequency)[source]

Set frequency with the specified float value. frequency The float value to which frequency is to be set.

setFrequencyBand(frequencyBand)[source]

Set frequencyBand with the specified ReceiverBand value. frequencyBand The ReceiverBand value to which frequencyBand is to be set.

setFromXML(xmlrow)[source]

Fill the values of this row from an XML string that was produced by the toXML() method. If xmlrow is a minidom.Element with a nodeName of row then it will be used as is. Anything else that is not a string is an error.

setNumObservingMode(numObservingMode)[source]

Set numObservingMode with the specified int value. numObservingMode The int value to which numObservingMode is to be set.

setNumScienceGoal(numScienceGoal)[source]

Set numScienceGoal with the specified int value. numScienceGoal The int value to which numScienceGoal is to be set.

setNumWeatherConstraint(numWeatherConstraint)[source]

Set numWeatherConstraint with the specified int value. numWeatherConstraint The int value to which numWeatherConstraint is to be set.

setNumberRepeats(numberRepeats)[source]

Set numberRepeats with the specified int value. numberRepeats The int value to which numberRepeats is to be set.

setObsUnitSetUID(obsUnitSetUID)[source]

Set obsUnitSetUID with the specified EntityRef value. obsUnitSetUID The EntityRef value to which obsUnitSetUID is to be set. The value of obsUnitSetUID can be anything allowed by the EntityRef constructor.

setObservingMode(observingMode)[source]

Set observingMode with the specified str [] value. observingMode The str [] value to which observingMode is to be set.

setProjectUID(projectUID)[source]

Set projectUID with the specified EntityRef value. projectUID The EntityRef value to which projectUID is to be set. The value of projectUID can be anything allowed by the EntityRef constructor.

setSBSummaryId(sBSummaryId)[source]

Set sBSummaryId with the specified Tag value. sBSummaryId The Tag value to which sBSummaryId is to be set. The value of sBSummaryId can be anything allowed by the Tag constructor.

Raises a ValueError If an attempt is made to change a part of the key after is has been added to the table.

setSbDuration(sbDuration)[source]

Set sbDuration with the specified Interval value. sbDuration The Interval value to which sbDuration is to be set. The value of sbDuration can be anything allowed by the Interval constructor.

setSbSummaryUID(sbSummaryUID)[source]

Set sbSummaryUID with the specified EntityRef value. sbSummaryUID The EntityRef value to which sbSummaryUID is to be set. The value of sbSummaryUID can be anything allowed by the EntityRef constructor.

setSbType(sbType)[source]

Set sbType with the specified SBType value. sbType The SBType value to which sbType is to be set.

setScienceGoal(scienceGoal)[source]

Set scienceGoal with the specified str [] value. scienceGoal The str [] value to which scienceGoal is to be set.

setWeatherConstraint(weatherConstraint)[source]

Set weatherConstraint with the specified str [] value. weatherConstraint The str [] value to which weatherConstraint is to be set.

toBin(eos)[source]

Write this row out to the EndianOutput instance, eos.

toXML()[source]

Return this row in the form of an XML string.

static weatherConstraintFromBin(row, eis)[source]

Set the weatherConstraint in row from the EndianInput (eis) instance.