Generated from model's revision 1.41, branch HEAD
Public Member Functions | |
MainTable | getTable () |
Return the table to which this row belongs. | |
MainRowIDL | toIDL () |
Return this row in the form of an IDL struct. | |
void | setFromIDL (MainRowIDL x) throws ConversionException |
Fill the values of this row from the IDL struct MainRowIDL. | |
String | toXML () throws ConversionException |
Return this row in the form of an XML string. | |
void | setFromXML (String rowDoc) throws ConversionException |
Fill the values of this row from an XML string that was produced by the toXML() method. | |
ArrayTime | getTime () |
Get time. | |
void | setTime (ArrayTime time) throws IllegalAccessException |
Set time with the specified ArrayTime value. | |
int | getScanNumber () |
Get scanNumber. | |
void | setScanNumber (int scanNumber) |
Set scanNumber with the specified int value. | |
int | getSubscanNumber () |
Get subscanNumber. | |
void | setSubscanNumber (int subscanNumber) |
Set subscanNumber with the specified int value. | |
TimeSampling | getTimeSampling () |
Get timeSampling. | |
void | setTimeSampling (TimeSampling timeSampling) |
Set timeSampling with the specified TimeSampling value. | |
int | getNumIntegration () |
Get numIntegration. | |
void | setNumIntegration (int numIntegration) |
Set numIntegration with the specified int value. | |
EntityRef | getDataOid () |
Get dataOid. | |
void | setDataOid (EntityRef dataOid) |
Set dataOid with the specified EntityRef value. | |
boolean | getFlagRow () |
Get flagRow. | |
void | setFlagRow (boolean flagRow) |
Set flagRow with the specified boolean value. | |
Interval | getInterval () |
Get interval. | |
void | setInterval (Interval interval) |
Set interval with the specified Interval value. | |
Tag | getConfigDescriptionId () |
Get configDescriptionId. | |
void | setConfigDescriptionId (Tag configDescriptionId) throws IllegalAccessException |
Set configDescriptionId with the specified Tag value. | |
Tag | getExecBlockId () |
Get execBlockId. | |
void | setExecBlockId (Tag execBlockId) |
Set execBlockId with the specified Tag value. | |
Tag | getFieldId () |
Get fieldId. | |
void | setFieldId (Tag fieldId) throws IllegalAccessException |
Set fieldId with the specified Tag value. | |
Tag[] | getStateId () |
Get stateId. | |
void | setStateId (Tag[] stateId) |
Set stateId with the specified Tag[] value. | |
ConfigDescriptionRow | getConfigDescriptionUsingConfigDescriptionId () |
Returns the pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId. | |
FieldRow | getFieldUsingFieldId () |
Returns the pointer to the row in the Field table having Field.fieldId == fieldId. | |
void | setStateId (int i, Tag stateId) throws IndexOutOfBoundsException |
Set stateId[i] with the specified Tag value. | |
ExecBlockRow | getExecBlockUsingExecBlockId () |
Returns the pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId. | |
boolean | compareNoAutoInc (Tag configDescriptionId, Tag fieldId, ArrayTime time, Tag execBlockId, Tag[] stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, boolean flagRow, Interval interval) |
Compare each attribute except the autoincrementable one of this MainRow with the corresponding parameters and return true if there is a match and false otherwise. | |
boolean | equalByRequiredValue (MainRow x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
boolean | compareRequiredValue (Tag execBlockId, Tag[] stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, boolean flagRow, Interval interval) |
Package Functions | |
MainRow (MainTable table) | |
Create a MainRow. | |
MainRow (MainTable table, MainRow row) | |
Creates a MainRow using a copy constructor mechanism. | |
void | isAdded () |
void | addStateId (Tag id) |
Append a Tag to stateId. | |
void | addStateId (Tag[] id) |
Append an array of Tag to stateId. | |
Tag | getStateId (int i) throws IndexOutOfBoundsException |
Returns the Tag stored in stateId at position i. | |
StateRow | getState (int i) throws IndexOutOfBoundsException, NoSuchRow |
Returns the StateRow linked to this row via the Tag stored in stateId at position i. | |
StateRow[] | getStates () throws NoSuchRow |
Returns the array of StateRow linked to this row via the Tags stored in stateId. | |
Object[] | getAttributesValues () |
Returns all the attributes of an attribute of an ASDM table as an array of Object. |
alma.asdm.MainRow.MainRow | ( | MainTable | table | ) | [package] |
Create a MainRow.
This constructor has package access because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
Creates a MainRow using a copy constructor mechanism.
Given a MainRow row and a MainTable table, the method creates a new MainRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.
This constructor has package access because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. | |
row | The row which is to be copied. |
MainRowIDL alma.asdm.MainRow.toIDL | ( | ) |
Return this row in the form of an IDL struct.
void alma.asdm.MainRow.setFromIDL | ( | MainRowIDL | x | ) | throws ConversionException |
Fill the values of this row from the IDL struct MainRowIDL.
x | The IDL struct containing the values used to fill this row. |
String alma.asdm.MainRow.toXML | ( | ) | throws ConversionException |
Return this row in the form of an XML string.
ConversionException. |
void alma.asdm.MainRow.setFromXML | ( | String | rowDoc | ) | throws ConversionException |
Fill the values of this row from an XML string that was produced by the toXML() method.
x | The XML string being used to set the values of this row. |
ConversionException. |
ArrayTime alma.asdm.MainRow.getTime | ( | ) |
Get time.
void alma.asdm.MainRow.setTime | ( | ArrayTime | time | ) | throws IllegalAccessException |
Set time with the specified ArrayTime value.
time | The ArrayTime value to which time is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
int alma.asdm.MainRow.getScanNumber | ( | ) |
Get scanNumber.
void alma.asdm.MainRow.setScanNumber | ( | int | scanNumber | ) |
Set scanNumber with the specified int value.
scanNumber | The int value to which scanNumber is to be set. |
int alma.asdm.MainRow.getSubscanNumber | ( | ) |
Get subscanNumber.
void alma.asdm.MainRow.setSubscanNumber | ( | int | subscanNumber | ) |
Set subscanNumber with the specified int value.
subscanNumber | The int value to which subscanNumber is to be set. |
TimeSampling alma.asdm.MainRow.getTimeSampling | ( | ) |
Get timeSampling.
void alma.asdm.MainRow.setTimeSampling | ( | TimeSampling | timeSampling | ) |
Set timeSampling with the specified TimeSampling value.
timeSampling | The TimeSampling value to which timeSampling is to be set. |
int alma.asdm.MainRow.getNumIntegration | ( | ) |
Get numIntegration.
void alma.asdm.MainRow.setNumIntegration | ( | int | numIntegration | ) |
Set numIntegration with the specified int value.
numIntegration | The int value to which numIntegration is to be set. |
EntityRef alma.asdm.MainRow.getDataOid | ( | ) |
Get dataOid.
void alma.asdm.MainRow.setDataOid | ( | EntityRef | dataOid | ) |
Set dataOid with the specified EntityRef value.
dataOid | The EntityRef value to which dataOid is to be set. |
boolean alma.asdm.MainRow.getFlagRow | ( | ) |
Get flagRow.
void alma.asdm.MainRow.setFlagRow | ( | boolean | flagRow | ) |
Set flagRow with the specified boolean value.
flagRow | The boolean value to which flagRow is to be set. |
Interval alma.asdm.MainRow.getInterval | ( | ) |
Get interval.
void alma.asdm.MainRow.setInterval | ( | Interval | interval | ) |
Set interval with the specified Interval value.
interval | The Interval value to which interval is to be set. |
Tag alma.asdm.MainRow.getConfigDescriptionId | ( | ) |
Get configDescriptionId.
void alma.asdm.MainRow.setConfigDescriptionId | ( | Tag | configDescriptionId | ) | throws IllegalAccessException |
Set configDescriptionId with the specified Tag value.
configDescriptionId | The Tag value to which configDescriptionId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
Tag alma.asdm.MainRow.getExecBlockId | ( | ) |
Get execBlockId.
void alma.asdm.MainRow.setExecBlockId | ( | Tag | execBlockId | ) |
Set execBlockId with the specified Tag value.
execBlockId | The Tag value to which execBlockId is to be set. |
Tag alma.asdm.MainRow.getFieldId | ( | ) |
Get fieldId.
void alma.asdm.MainRow.setFieldId | ( | Tag | fieldId | ) | throws IllegalAccessException |
Set fieldId with the specified Tag value.
fieldId | The Tag value to which fieldId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
Tag [] alma.asdm.MainRow.getStateId | ( | ) |
Get stateId.
void alma.asdm.MainRow.setStateId | ( | Tag[] | stateId | ) |
Set stateId with the specified Tag[] value.
stateId | The Tag[] value to which stateId is to be set. |
ConfigDescriptionRow alma.asdm.MainRow.getConfigDescriptionUsingConfigDescriptionId | ( | ) |
Returns the pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId.
FieldRow alma.asdm.MainRow.getFieldUsingFieldId | ( | ) |
Returns the pointer to the row in the Field table having Field.fieldId == fieldId.
void alma.asdm.MainRow.setStateId | ( | int | i, | |
Tag | stateId | |||
) | throws IndexOutOfBoundsException |
Set stateId[i] with the specified Tag value.
i | The index in stateId where to set the Tag value. | |
stateId | The Tag value to which stateId[i] is to be set. |
IndexOutOfBoundsException |
void alma.asdm.MainRow.addStateId | ( | Tag | id | ) | [package] |
Append a Tag to stateId.
id | the Tag to be appended to stateId |
void alma.asdm.MainRow.addStateId | ( | Tag[] | id | ) | [package] |
Append an array of Tag to stateId.
id | an array of Tag to be appended to stateId |
ExecBlockRow alma.asdm.MainRow.getExecBlockUsingExecBlockId | ( | ) |
Returns the pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId.
boolean alma.asdm.MainRow.equalByRequiredValue | ( | MainRow | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | the MainRow whose required attributes of the value part will be compared with those of this. |
Object [] alma.asdm.MainRow.getAttributesValues | ( | ) | [package, virtual] |
Returns all the attributes of an attribute of an ASDM table as an array of Object.
Implements alma.asdm.ASDMRow.