ExecBlockRow¶
-
class
ExecBlockRow(table, row=None)[source]¶ Bases:
objectThe ExecBlockRow class is a row of a ExecBlockTable.
Generated from model’s revision -1, branch
Methods Summary
abortedFromBin(row, eis)Set the aborted in row from the EndianInput (eis) instance.
addAntennaId(id)Append a Tag to antennaId id the Tag to be appended to antennaId
antennaIdFromBin(row, eis)Set the antennaId in row from the EndianInput (eis) instance.
basePaFromBin(row, eis)Set the basePa in row from the EndianInput (eis) instance.
baseRangeMaxFromBin(row, eis)Set the baseRangeMax in row from the EndianInput (eis) instance.
baseRangeMinFromBin(row, eis)Set the baseRangeMin in row from the EndianInput (eis) instance.
baseRmsMajorFromBin(row, eis)Set the baseRmsMajor in row from the EndianInput (eis) instance.
baseRmsMinorFromBin(row, eis)Set the baseRmsMinor in row from the EndianInput (eis) instance.
clearObservingScript()Mark observingScript, which is an optional field, as non-existent.
clearObservingScriptUID()Mark observingScriptUID, which is an optional field, as non-existent.
clearReleaseDate()Mark releaseDate, which is an optional field, as non-existent.
clearScaleId()Mark scaleId, which is an optional field, as non-existent.
clearSchedulerMode()Mark schedulerMode, which is an optional field, as non-existent.
clearSiteAltitude()Mark siteAltitude, which is an optional field, as non-existent.
clearSiteLatitude()Mark siteLatitude, which is an optional field, as non-existent.
clearSiteLongitude()Mark siteLongitude, which is an optional field, as non-existent.
compareNoAutoInc(startTime, endTime, …)Compare each attribute except the autoincrementable one of this ExecBlockRow with the corresponding parameters and return True if there is a match and False otherwise.
compareRequiredValue(startTime, endTime, …)configNameFromBin(row, eis)Set the configName in row from the EndianInput (eis) instance.
endTimeFromBin(row, eis)Set the endTime in row from the EndianInput (eis) instance.
equalByRequiredValue(otherRow)Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.
execBlockIdFromBin(row, eis)Set the execBlockId in row from the EndianInput (eis) instance.
execBlockNumFromBin(row, eis)Set the execBlockNum in row from the EndianInput (eis) instance.
execBlockUIDFromBin(row, eis)Set the execBlockUID 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.
getAborted()Get aborted.
getAntennaId()Get antennaId.
getAntennaUsingAntennaId(i)Returns the AntennaRow linked to this row via the Tag stored in antennaId at position i.
getAntennasUsingAntennaId()Returns the array of AntennaRow linked to this row via the Tags stored in antennaId
getBasePa()Get basePa.
getBaseRangeMax()Get baseRangeMax.
getBaseRangeMin()Get baseRangeMin.
getBaseRmsMajor()Get baseRmsMajor.
getBaseRmsMinor()Get baseRmsMinor.
getConfigName()Get configName.
getEndTime()Get endTime.
getExecBlockId()Get execBlockId.
getExecBlockNum()Get execBlockNum.
getExecBlockUID()Get execBlockUID.
getNumAntenna()Get numAntenna.
getNumObservingLog()Get numObservingLog.
getObserverName()Get observerName.
getObservingLog()Get observingLog.
getObservingScript()Get observingScript, which is optional.
getObservingScriptUID()Get observingScriptUID, which is optional.
getOneAntennaId(i)Returns the Tag stored in antennaId at position i.
getProjectUID()Get projectUID.
getReleaseDate()Get releaseDate, which is optional.
getSBSummaryId()Get sBSummaryId.
getSBSummaryUsingSBSummaryId()Returns the row in the SBSummary table having SBSummary.sBSummaryId == sBSummaryId
getScaleId()Get scaleId, which is optional.
getScaleUsingScaleId()Returns the row in the Scale table having Scale.scaleId == scaleId
getSchedulerMode()Get schedulerMode, which is optional.
getSessionReference()Get sessionReference.
getSiteAltitude()Get siteAltitude, which is optional.
getSiteLatitude()Get siteLatitude, which is optional.
getSiteLongitude()Get siteLongitude, which is optional.
getStartTime()Get startTime.
getTable()Return the table to which this row belongs.
getTelescopeName()Get telescopeName.
initFromBinMethods()isAdded()isObservingScriptExists()The attribute observingScript is optional.
isObservingScriptUIDExists()The attribute observingScriptUID is optional.
isReleaseDateExists()The attribute releaseDate is optional.
isScaleIdExists()The attribute scaleId is optional.
isSchedulerModeExists()The attribute schedulerMode is optional.
isSiteAltitudeExists()The attribute siteAltitude is optional.
isSiteLatitudeExists()The attribute siteLatitude is optional.
isSiteLongitudeExists()The attribute siteLongitude is optional.
numAntennaFromBin(row, eis)Set the numAntenna in row from the EndianInput (eis) instance.
numObservingLogFromBin(row, eis)Set the numObservingLog in row from the EndianInput (eis) instance.
observerNameFromBin(row, eis)Set the observerName in row from the EndianInput (eis) instance.
observingLogFromBin(row, eis)Set the observingLog in row from the EndianInput (eis) instance.
observingScriptFromBin(row, eis)Set the optional observingScript in row from the EndianInput (eis) instance.
observingScriptUIDFromBin(row, eis)Set the optional observingScriptUID in row from the EndianInput (eis) instance.
projectUIDFromBin(row, eis)Set the projectUID in row from the EndianInput (eis) instance.
releaseDateFromBin(row, eis)Set the optional releaseDate in row from the EndianInput (eis) instance.
sBSummaryIdFromBin(row, eis)Set the sBSummaryId in row from the EndianInput (eis) instance.
scaleIdFromBin(row, eis)Set the optional scaleId in row from the EndianInput (eis) instance.
schedulerModeFromBin(row, eis)Set the optional schedulerMode in row from the EndianInput (eis) instance.
sessionReferenceFromBin(row, eis)Set the sessionReference in row from the EndianInput (eis) instance.
setAborted(aborted)Set aborted with the specified bool value.
setAntennaId(antennaId)Set antennaId with the specified Tag [] value.
setBasePa(basePa)Set basePa with the specified Angle value.
setBaseRangeMax(baseRangeMax)Set baseRangeMax with the specified Length value.
setBaseRangeMin(baseRangeMin)Set baseRangeMin with the specified Length value.
setBaseRmsMajor(baseRmsMajor)Set baseRmsMajor with the specified Length value.
setBaseRmsMinor(baseRmsMinor)Set baseRmsMinor with the specified Length value.
setConfigName(configName)Set configName with the specified str value.
setEndTime(endTime)Set endTime with the specified ArrayTime value.
setExecBlockId(execBlockId)Set execBlockId with the specified Tag value.
setExecBlockNum(execBlockNum)Set execBlockNum with the specified int value.
setExecBlockUID(execBlockUID)Set execBlockUID with the specified EntityRef value.
setFromXML(xmlrow)Fill the values of this row from an XML string that was produced by the toXML() method.
setNumAntenna(numAntenna)Set numAntenna with the specified int value.
setNumObservingLog(numObservingLog)Set numObservingLog with the specified int value.
setObserverName(observerName)Set observerName with the specified str value.
setObservingLog(observingLog)Set observingLog with the specified str [] value.
setObservingScript(observingScript)Set observingScript with the specified str value.
setObservingScriptUID(observingScriptUID)Set observingScriptUID with the specified EntityRef value.
setOneAntennaId(index, antennaId)Set antennaId[index] with the specified Tag value.
setProjectUID(projectUID)Set projectUID with the specified EntityRef value.
setReleaseDate(releaseDate)Set releaseDate with the specified ArrayTime value.
setSBSummaryId(sBSummaryId)Set sBSummaryId with the specified Tag value.
setScaleId(scaleId)Set scaleId with the specified Tag value.
setSchedulerMode(schedulerMode)Set schedulerMode with the specified str value.
setSessionReference(sessionReference)Set sessionReference with the specified EntityRef value.
setSiteAltitude(siteAltitude)Set siteAltitude with the specified Length value.
setSiteLatitude(siteLatitude)Set siteLatitude with the specified Angle value.
setSiteLongitude(siteLongitude)Set siteLongitude with the specified Angle value.
setStartTime(startTime)Set startTime with the specified ArrayTime value.
setTelescopeName(telescopeName)Set telescopeName with the specified str value.
siteAltitudeFromBin(row, eis)Set the optional siteAltitude in row from the EndianInput (eis) instance.
siteLatitudeFromBin(row, eis)Set the optional siteLatitude in row from the EndianInput (eis) instance.
siteLongitudeFromBin(row, eis)Set the optional siteLongitude in row from the EndianInput (eis) instance.
startTimeFromBin(row, eis)Set the startTime in row from the EndianInput (eis) instance.
telescopeNameFromBin(row, eis)Set the telescopeName in row from the EndianInput (eis) instance.
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
abortedFromBin(row, eis)[source]¶ Set the aborted in row from the EndianInput (eis) instance.
-
static
antennaIdFromBin(row, eis)[source]¶ Set the antennaId in row from the EndianInput (eis) instance.
-
static
baseRangeMaxFromBin(row, eis)[source]¶ Set the baseRangeMax in row from the EndianInput (eis) instance.
-
static
baseRangeMinFromBin(row, eis)[source]¶ Set the baseRangeMin in row from the EndianInput (eis) instance.
-
static
baseRmsMajorFromBin(row, eis)[source]¶ Set the baseRmsMajor in row from the EndianInput (eis) instance.
-
static
baseRmsMinorFromBin(row, eis)[source]¶ Set the baseRmsMinor in row from the EndianInput (eis) instance.
-
clearObservingScriptUID()[source]¶ Mark observingScriptUID, which is an optional field, as non-existent.
-
compareNoAutoInc(startTime, endTime, execBlockNum, execBlockUID, projectUID, configName, telescopeName, observerName, numObservingLog, observingLog, sessionReference, baseRangeMin, baseRangeMax, baseRmsMinor, baseRmsMajor, basePa, aborted, numAntenna, antennaId, sBSummaryId)[source]¶ Compare each attribute except the autoincrementable one of this ExecBlockRow with the corresponding parameters and return True if there is a match and False otherwise.
-
compareRequiredValue(startTime, endTime, execBlockNum, execBlockUID, projectUID, configName, telescopeName, observerName, numObservingLog, observingLog, sessionReference, baseRangeMin, baseRangeMax, baseRmsMinor, baseRmsMajor, basePa, aborted, numAntenna, antennaId, sBSummaryId)[source]¶
-
static
configNameFromBin(row, eis)[source]¶ Set the configName in row from the EndianInput (eis) instance.
-
static
endTimeFromBin(row, eis)[source]¶ Set the endTime in row from the EndianInput (eis) instance.
-
equalByRequiredValue(otherRow)[source]¶ Return True if all required attributes of the value part are equal to their homologues in otherRow and False otherwise.
-
static
execBlockIdFromBin(row, eis)[source]¶ Set the execBlockId in row from the EndianInput (eis) instance.
-
static
execBlockNumFromBin(row, eis)[source]¶ Set the execBlockNum in row from the EndianInput (eis) instance.
-
static
execBlockUIDFromBin(row, eis)[source]¶ Set the execBlockUID 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.
-
getAntennaUsingAntennaId(i)[source]¶ Returns the AntennaRow linked to this row via the Tag stored in antennaId at position i.
-
getAntennasUsingAntennaId()[source]¶ Returns the array of AntennaRow linked to this row via the Tags stored in antennaId
-
getObservingScript()[source]¶ Get observingScript, which is optional. return observingScript as str raises ValueError If observingScript does not exist.
-
getObservingScriptUID()[source]¶ Get observingScriptUID, which is optional. return observingScriptUID as EntityRef raises ValueError If observingScriptUID does not exist.
-
getReleaseDate()[source]¶ Get releaseDate, which is optional. return releaseDate as ArrayTime raises ValueError If releaseDate does not exist.
-
getSBSummaryUsingSBSummaryId()[source]¶ Returns the row in the SBSummary table having SBSummary.sBSummaryId == sBSummaryId
-
getScaleId()[source]¶ Get scaleId, which is optional. return scaleId as Tag raises ValueError If scaleId does not exist.
-
getScaleUsingScaleId()[source]¶ Returns the row in the Scale table having Scale.scaleId == scaleId
Raises ValueError if the optional scaleId does not exist for this row.
-
getSchedulerMode()[source]¶ Get schedulerMode, which is optional. return schedulerMode as str raises ValueError If schedulerMode does not exist.
-
getSiteAltitude()[source]¶ Get siteAltitude, which is optional. return siteAltitude as Length raises ValueError If siteAltitude does not exist.
-
getSiteLatitude()[source]¶ Get siteLatitude, which is optional. return siteLatitude as Angle raises ValueError If siteLatitude does not exist.
-
getSiteLongitude()[source]¶ Get siteLongitude, which is optional. return siteLongitude as Angle raises ValueError If siteLongitude does not exist.
-
isObservingScriptExists()[source]¶ The attribute observingScript is optional. Return True if this attribute exists. return True if and only if the observingScript attribute exists.
-
isObservingScriptUIDExists()[source]¶ The attribute observingScriptUID is optional. Return True if this attribute exists. return True if and only if the observingScriptUID attribute exists.
-
isReleaseDateExists()[source]¶ The attribute releaseDate is optional. Return True if this attribute exists. return True if and only if the releaseDate attribute exists.
-
isScaleIdExists()[source]¶ The attribute scaleId is optional. Return True if this attribute exists. return True if and only if the scaleId attribute exists.
-
isSchedulerModeExists()[source]¶ The attribute schedulerMode is optional. Return True if this attribute exists. return True if and only if the schedulerMode attribute exists.
-
isSiteAltitudeExists()[source]¶ The attribute siteAltitude is optional. Return True if this attribute exists. return True if and only if the siteAltitude attribute exists.
-
isSiteLatitudeExists()[source]¶ The attribute siteLatitude is optional. Return True if this attribute exists. return True if and only if the siteLatitude attribute exists.
-
isSiteLongitudeExists()[source]¶ The attribute siteLongitude is optional. Return True if this attribute exists. return True if and only if the siteLongitude attribute exists.
-
static
numAntennaFromBin(row, eis)[source]¶ Set the numAntenna in row from the EndianInput (eis) instance.
-
static
numObservingLogFromBin(row, eis)[source]¶ Set the numObservingLog in row from the EndianInput (eis) instance.
-
static
observerNameFromBin(row, eis)[source]¶ Set the observerName in row from the EndianInput (eis) instance.
-
static
observingLogFromBin(row, eis)[source]¶ Set the observingLog in row from the EndianInput (eis) instance.
-
static
observingScriptFromBin(row, eis)[source]¶ Set the optional observingScript in row from the EndianInput (eis) instance.
-
static
observingScriptUIDFromBin(row, eis)[source]¶ Set the optional observingScriptUID in row from the EndianInput (eis) instance.
-
static
projectUIDFromBin(row, eis)[source]¶ Set the projectUID in row from the EndianInput (eis) instance.
-
static
releaseDateFromBin(row, eis)[source]¶ Set the optional releaseDate in row from the EndianInput (eis) instance.
-
static
sBSummaryIdFromBin(row, eis)[source]¶ Set the sBSummaryId in row from the EndianInput (eis) instance.
-
static
scaleIdFromBin(row, eis)[source]¶ Set the optional scaleId in row from the EndianInput (eis) instance.
-
static
schedulerModeFromBin(row, eis)[source]¶ Set the optional schedulerMode in row from the EndianInput (eis) instance.
-
static
sessionReferenceFromBin(row, eis)[source]¶ Set the sessionReference in row from the EndianInput (eis) instance.
-
setAborted(aborted)[source]¶ Set aborted with the specified bool value. aborted The bool value to which aborted is to be set.
-
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.
-
setBasePa(basePa)[source]¶ Set basePa with the specified Angle value. basePa The Angle value to which basePa is to be set. The value of basePa can be anything allowed by the Angle constructor.
-
setBaseRangeMax(baseRangeMax)[source]¶ Set baseRangeMax with the specified Length value. baseRangeMax The Length value to which baseRangeMax is to be set. The value of baseRangeMax can be anything allowed by the Length constructor.
-
setBaseRangeMin(baseRangeMin)[source]¶ Set baseRangeMin with the specified Length value. baseRangeMin The Length value to which baseRangeMin is to be set. The value of baseRangeMin can be anything allowed by the Length constructor.
-
setBaseRmsMajor(baseRmsMajor)[source]¶ Set baseRmsMajor with the specified Length value. baseRmsMajor The Length value to which baseRmsMajor is to be set. The value of baseRmsMajor can be anything allowed by the Length constructor.
-
setBaseRmsMinor(baseRmsMinor)[source]¶ Set baseRmsMinor with the specified Length value. baseRmsMinor The Length value to which baseRmsMinor is to be set. The value of baseRmsMinor can be anything allowed by the Length constructor.
-
setConfigName(configName)[source]¶ Set configName with the specified str value. configName The str value to which configName is to be set.
-
setEndTime(endTime)[source]¶ Set endTime with the specified ArrayTime value. endTime The ArrayTime value to which endTime is to be set. The value of endTime can be anything allowed by the ArrayTime constructor.
-
setExecBlockId(execBlockId)[source]¶ Set execBlockId with the specified Tag value. execBlockId The Tag value to which execBlockId is to be set. The value of execBlockId 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.
-
setExecBlockNum(execBlockNum)[source]¶ Set execBlockNum with the specified int value. execBlockNum The int value to which execBlockNum is to be set.
-
setExecBlockUID(execBlockUID)[source]¶ Set execBlockUID with the specified EntityRef value. execBlockUID The EntityRef value to which execBlockUID is to be set. The value of execBlockUID can be anything allowed by the EntityRef constructor.
-
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.
-
setNumAntenna(numAntenna)[source]¶ Set numAntenna with the specified int value. numAntenna The int value to which numAntenna is to be set.
-
setNumObservingLog(numObservingLog)[source]¶ Set numObservingLog with the specified int value. numObservingLog The int value to which numObservingLog is to be set.
-
setObserverName(observerName)[source]¶ Set observerName with the specified str value. observerName The str value to which observerName is to be set.
-
setObservingLog(observingLog)[source]¶ Set observingLog with the specified str [] value. observingLog The str [] value to which observingLog is to be set.
-
setObservingScript(observingScript)[source]¶ Set observingScript with the specified str value. observingScript The str value to which observingScript is to be set.
-
setObservingScriptUID(observingScriptUID)[source]¶ Set observingScriptUID with the specified EntityRef value. observingScriptUID The EntityRef value to which observingScriptUID is to be set. The value of observingScriptUID can be anything allowed by the EntityRef constructor.
-
setOneAntennaId(index, antennaId)[source]¶ Set antennaId[index] with the specified Tag value. index The index in antennaId where to set the Tag value. antennaId The Tag value to which antennaId[index] 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.
-
setReleaseDate(releaseDate)[source]¶ Set releaseDate with the specified ArrayTime value. releaseDate The ArrayTime value to which releaseDate is to be set. The value of releaseDate can be anything allowed by the ArrayTime 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.
-
setScaleId(scaleId)[source]¶ Set scaleId with the specified Tag value. scaleId The Tag value to which scaleId is to be set. The value of scaleId can be anything allowed by the Tag constructor.
-
setSchedulerMode(schedulerMode)[source]¶ Set schedulerMode with the specified str value. schedulerMode The str value to which schedulerMode is to be set.
-
setSessionReference(sessionReference)[source]¶ Set sessionReference with the specified EntityRef value. sessionReference The EntityRef value to which sessionReference is to be set. The value of sessionReference can be anything allowed by the EntityRef constructor.
-
setSiteAltitude(siteAltitude)[source]¶ Set siteAltitude with the specified Length value. siteAltitude The Length value to which siteAltitude is to be set. The value of siteAltitude can be anything allowed by the Length constructor.
-
setSiteLatitude(siteLatitude)[source]¶ Set siteLatitude with the specified Angle value. siteLatitude The Angle value to which siteLatitude is to be set. The value of siteLatitude can be anything allowed by the Angle constructor.
-
setSiteLongitude(siteLongitude)[source]¶ Set siteLongitude with the specified Angle value. siteLongitude The Angle value to which siteLongitude is to be set. The value of siteLongitude can be anything allowed by the Angle constructor.
-
setStartTime(startTime)[source]¶ Set startTime with the specified ArrayTime value. startTime The ArrayTime value to which startTime is to be set. The value of startTime can be anything allowed by the ArrayTime constructor.
-
setTelescopeName(telescopeName)[source]¶ Set telescopeName with the specified str value. telescopeName The str value to which telescopeName is to be set.
-
static
siteAltitudeFromBin(row, eis)[source]¶ Set the optional siteAltitude in row from the EndianInput (eis) instance.
-
static
siteLatitudeFromBin(row, eis)[source]¶ Set the optional siteLatitude in row from the EndianInput (eis) instance.
-
static
siteLongitudeFromBin(row, eis)[source]¶ Set the optional siteLongitude in row from the EndianInput (eis) instance.
-
static
startTimeFromBin(row, eis)[source]¶ Set the startTime in row from the EndianInput (eis) instance.
-
static