FocusModelRow

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

Bases: object

The FocusModelRow class is a row of a FocusModelTable.

Generated from model’s revision -1, branch

Methods Summary

antennaIdFromBin(row, eis)

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

assocFocusModelIdFromBin(row, eis)

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

assocNatureFromBin(row, eis)

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

coeffFormulaFromBin(row, eis)

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

coeffNameFromBin(row, eis)

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

coeffValFromBin(row, eis)

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

compareNoAutoInc(antennaId, …)

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

compareRequiredValue(polarizationType, …)

equalByRequiredValue(otherRow)

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

focusModelIdFromBin(row, eis)

Set the focusModelId 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.

getAntennaId()

Get antennaId.

getAntennaUsingAntennaId()

Returns the row in the Antenna table having Antenna.antennaId == antennaId

getAssocFocusModelId()

Get assocFocusModelId.

getAssocNature()

Get assocNature.

getCoeffFormula()

Get coeffFormula.

getCoeffName()

Get coeffName.

getCoeffVal()

Get coeffVal.

getFocusModelId()

Get focusModelId.

getFocusModels()

Get the collection of rows in the FocusModel table having focusModelId == this.focusModelId

getNumCoeff()

Get numCoeff.

getPolarizationType()

Get polarizationType.

getReceiverBand()

Get receiverBand.

getTable()

Return the table to which this row belongs.

initFromBinMethods()

isAdded()

numCoeffFromBin(row, eis)

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

polarizationTypeFromBin(row, eis)

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

receiverBandFromBin(row, eis)

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

setAntennaId(antennaId)

Set antennaId with the specified Tag value.

setAssocFocusModelId(assocFocusModelId)

Set assocFocusModelId with the specified int value.

setAssocNature(assocNature)

Set assocNature with the specified str value.

setCoeffFormula(coeffFormula)

Set coeffFormula with the specified str [] value.

setCoeffName(coeffName)

Set coeffName with the specified str [] value.

setCoeffVal(coeffVal)

Set coeffVal with the specified float [] value.

setFocusModelId(focusModelId)

Set focusModelId with the specified int value.

setFromXML(xmlrow)

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

setNumCoeff(numCoeff)

Set numCoeff with the specified int value.

setPolarizationType(polarizationType)

Set polarizationType with the specified PolarizationType value.

setReceiverBand(receiverBand)

Set receiverBand with the specified ReceiverBand value.

toBin(eos)

Write this row out to the EndianOutput instance, eos.

toXML()

Return this row in the form of an XML string.

Methods Documentation

static antennaIdFromBin(row, eis)[source]

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

static assocFocusModelIdFromBin(row, eis)[source]

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

static assocNatureFromBin(row, eis)[source]

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

static coeffFormulaFromBin(row, eis)[source]

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

static coeffNameFromBin(row, eis)[source]

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

static coeffValFromBin(row, eis)[source]

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

compareNoAutoInc(antennaId, polarizationType, receiverBand, numCoeff, coeffName, coeffFormula, coeffVal, assocNature, assocFocusModelId)[source]

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

compareRequiredValue(polarizationType, receiverBand, numCoeff, coeffName, coeffFormula, coeffVal, assocNature, assocFocusModelId)[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 focusModelIdFromBin(row, eis)[source]

Set the focusModelId 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.

getAntennaId()[source]

Get antennaId. return antennaId as Tag

getAntennaUsingAntennaId()[source]

Returns the row in the Antenna table having Antenna.antennaId == antennaId

getAssocFocusModelId()[source]

Get assocFocusModelId. return assocFocusModelId as int

getAssocNature()[source]

Get assocNature. return assocNature as str

getCoeffFormula()[source]

Get coeffFormula. return coeffFormula as str []

getCoeffName()[source]

Get coeffName. return coeffName as str []

getCoeffVal()[source]

Get coeffVal. return coeffVal as float []

getFocusModelId()[source]

Get focusModelId. return focusModelId as int

getFocusModels()[source]

Get the collection of rows in the FocusModel table having focusModelId == this.focusModelId

getNumCoeff()[source]

Get numCoeff. return numCoeff as int

getPolarizationType()[source]

Get polarizationType. return polarizationType as PolarizationType

getReceiverBand()[source]

Get receiverBand. return receiverBand as ReceiverBand

getTable()[source]

Return the table to which this row belongs.

static initFromBinMethods()[source]
isAdded()[source]
static numCoeffFromBin(row, eis)[source]

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

static polarizationTypeFromBin(row, eis)[source]

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

static receiverBandFromBin(row, eis)[source]

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

setAntennaId(antennaId)[source]

Set antennaId with the specified Tag value. antennaId The Tag value to which antennaId is to be set. The value of antennaId 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.

setAssocFocusModelId(assocFocusModelId)[source]

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

setAssocNature(assocNature)[source]

Set assocNature with the specified str value. assocNature The str value to which assocNature is to be set.

setCoeffFormula(coeffFormula)[source]

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

setCoeffName(coeffName)[source]

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

setCoeffVal(coeffVal)[source]

Set coeffVal with the specified float [] value. coeffVal The float [] value to which coeffVal is to be set.

setFocusModelId(focusModelId)[source]

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

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

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.

setNumCoeff(numCoeff)[source]

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

setPolarizationType(polarizationType)[source]

Set polarizationType with the specified PolarizationType value. polarizationType The PolarizationType value to which polarizationType is to be set.

setReceiverBand(receiverBand)[source]

Set receiverBand with the specified ReceiverBand value. receiverBand The ReceiverBand value to which receiverBand 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.