Generated from model's revision 1.41, branch HEAD
Public Member Functions | |
StateTable | getTable () |
Return the table to which this row belongs. | |
StateRowIDL | toIDL () |
Return this row in the form of an IDL struct. | |
void | setFromIDL (StateRowIDL x) throws ConversionException |
Fill the values of this row from the IDL struct StateRowIDL. | |
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. | |
Tag | getStateId () |
Get stateId. | |
boolean | getSig () |
Get sig. | |
void | setSig (boolean sig) |
Set sig with the specified boolean value. | |
boolean | getRef () |
Get ref. | |
void | setRef (boolean ref) |
Set ref with the specified boolean value. | |
boolean | isWeightExists () |
The attribute weight is optional. | |
float | getWeight () throws IllegalAccessException |
Get weight, which is optional. | |
void | setWeight (float weight) |
Set weight with the specified float value. | |
void | clearWeight () |
Mark weight, which is an optional field, as non-existent. | |
boolean | getOnSky () |
Get onSky. | |
void | setOnSky (boolean onSky) |
Set onSky with the specified boolean value. | |
CalibrationDevice | getCalDeviceName () |
Get calDeviceName. | |
void | setCalDeviceName (CalibrationDevice calDeviceName) |
Set calDeviceName with the specified CalibrationDevice value. | |
boolean | getFlagRow () |
Get flagRow. | |
void | setFlagRow (boolean flagRow) |
Set flagRow with the specified boolean value. | |
boolean | compareNoAutoInc (boolean sig, boolean ref, boolean onSky, CalibrationDevice calDeviceName, boolean flagRow) |
Compare each attribute except the autoincrementable one of this StateRow with the corresponding parameters and return true if there is a match and false otherwise. | |
boolean | equalByRequiredValue (StateRow x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
boolean | compareRequiredValue (boolean sig, boolean ref, boolean onSky, CalibrationDevice calDeviceName, boolean flagRow) |
Protected Member Functions | |
void | setStateId (Tag stateId) throws IllegalAccessException |
Set stateId with the specified Tag value. | |
Package Functions | |
StateRow (StateTable table) | |
Create a StateRow. | |
StateRow (StateTable table, StateRow row) | |
Creates a StateRow using a copy constructor mechanism. | |
void | isAdded () |
Object[] | getAttributesValues () |
Returns all the attributes of an attribute of an ASDM table as an array of Object. |
alma.asdm.StateRow.StateRow | ( | StateTable | table | ) | [package] |
Create a StateRow.
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. |
alma.asdm.StateRow.StateRow | ( | StateTable | table, | |
StateRow | row | |||
) | [package] |
Creates a StateRow using a copy constructor mechanism.
Given a StateRow row and a StateTable table, the method creates a new StateRow 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. |
StateRowIDL alma.asdm.StateRow.toIDL | ( | ) |
Return this row in the form of an IDL struct.
void alma.asdm.StateRow.setFromIDL | ( | StateRowIDL | x | ) | throws ConversionException |
Fill the values of this row from the IDL struct StateRowIDL.
x | The IDL struct containing the values used to fill this row. |
String alma.asdm.StateRow.toXML | ( | ) | throws ConversionException |
Return this row in the form of an XML string.
ConversionException. |
void alma.asdm.StateRow.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. |
Tag alma.asdm.StateRow.getStateId | ( | ) |
Get stateId.
void alma.asdm.StateRow.setStateId | ( | Tag | stateId | ) | throws IllegalAccessException [protected] |
Set stateId with the specified Tag value.
stateId | The Tag value to which stateId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
boolean alma.asdm.StateRow.getSig | ( | ) |
Get sig.
void alma.asdm.StateRow.setSig | ( | boolean | sig | ) |
Set sig with the specified boolean value.
sig | The boolean value to which sig is to be set. |
boolean alma.asdm.StateRow.getRef | ( | ) |
Get ref.
void alma.asdm.StateRow.setRef | ( | boolean | ref | ) |
Set ref with the specified boolean value.
ref | The boolean value to which ref is to be set. |
boolean alma.asdm.StateRow.isWeightExists | ( | ) |
The attribute weight is optional.
Return true if this attribute exists.
float alma.asdm.StateRow.getWeight | ( | ) | throws IllegalAccessException |
Get weight, which is optional.
IllegalAccessException | If weight does not exist. |
void alma.asdm.StateRow.setWeight | ( | float | weight | ) |
Set weight with the specified float value.
weight | The float value to which weight is to be set. |
boolean alma.asdm.StateRow.getOnSky | ( | ) |
Get onSky.
void alma.asdm.StateRow.setOnSky | ( | boolean | onSky | ) |
Set onSky with the specified boolean value.
onSky | The boolean value to which onSky is to be set. |
CalibrationDevice alma.asdm.StateRow.getCalDeviceName | ( | ) |
Get calDeviceName.
void alma.asdm.StateRow.setCalDeviceName | ( | CalibrationDevice | calDeviceName | ) |
Set calDeviceName with the specified CalibrationDevice value.
calDeviceName | The CalibrationDevice value to which calDeviceName is to be set. |
boolean alma.asdm.StateRow.getFlagRow | ( | ) |
Get flagRow.
void alma.asdm.StateRow.setFlagRow | ( | boolean | flagRow | ) |
Set flagRow with the specified boolean value.
flagRow | The boolean value to which flagRow is to be set. |
boolean alma.asdm.StateRow.equalByRequiredValue | ( | StateRow | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | the StateRow whose required attributes of the value part will be compared with those of this. |
Object [] alma.asdm.StateRow.getAttributesValues | ( | ) | [package, virtual] |
Returns all the attributes of an attribute of an ASDM table as an array of Object.
Implements alma.asdm.ASDMRow.