Generated from model's revision 1.41, branch HEAD
Public Member Functions | |
StationTable | getTable () |
Return the table to which this row belongs. | |
StationRowIDL | toIDL () |
Return this row in the form of an IDL struct. | |
void | setFromIDL (StationRowIDL x) throws ConversionException |
Fill the values of this row from the IDL struct StationRowIDL. | |
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. | |
String | getName () |
Get name. | |
void | setName (String name) |
Set name with the specified String value. | |
Length[] | getPosition () |
Get position. | |
void | setPosition (Length[] position) |
Set position with the specified Length[] value. | |
StationType | getType () |
Get type. | |
void | setType (StationType type) |
Set type with the specified StationType value. | |
Tag | getStationId () |
Get stationId. | |
boolean | compareNoAutoInc (String name, Length[] position, StationType type) |
Compare each attribute except the autoincrementable one of this StationRow with the corresponding parameters and return true if there is a match and false otherwise. | |
boolean | equalByRequiredValue (StationRow x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. | |
boolean | compareRequiredValue (String name, Length[] position, StationType type) |
Protected Member Functions | |
void | setStationId (Tag stationId) throws IllegalAccessException |
Set stationId with the specified Tag value. | |
Package Functions | |
StationRow (StationTable table) | |
Create a StationRow. | |
StationRow (StationTable table, StationRow row) | |
Creates a StationRow 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.StationRow.StationRow | ( | StationTable | table | ) | [package] |
Create a StationRow.
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.StationRow.StationRow | ( | StationTable | table, | |
StationRow | row | |||
) | [package] |
Creates a StationRow using a copy constructor mechanism.
Given a StationRow row and a StationTable table, the method creates a new StationRow 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. |
StationRowIDL alma.asdm.StationRow.toIDL | ( | ) |
Return this row in the form of an IDL struct.
void alma.asdm.StationRow.setFromIDL | ( | StationRowIDL | x | ) | throws ConversionException |
Fill the values of this row from the IDL struct StationRowIDL.
x | The IDL struct containing the values used to fill this row. |
String alma.asdm.StationRow.toXML | ( | ) | throws ConversionException |
Return this row in the form of an XML string.
ConversionException. |
void alma.asdm.StationRow.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. |
String alma.asdm.StationRow.getName | ( | ) |
Get name.
void alma.asdm.StationRow.setName | ( | String | name | ) |
Set name with the specified String value.
name | The String value to which name is to be set. |
Length [] alma.asdm.StationRow.getPosition | ( | ) |
Get position.
void alma.asdm.StationRow.setPosition | ( | Length[] | position | ) |
Set position with the specified Length[] value.
position | The Length[] value to which position is to be set. |
StationType alma.asdm.StationRow.getType | ( | ) |
Get type.
void alma.asdm.StationRow.setType | ( | StationType | type | ) |
Set type with the specified StationType value.
type | The StationType value to which type is to be set. |
Tag alma.asdm.StationRow.getStationId | ( | ) |
Get stationId.
void alma.asdm.StationRow.setStationId | ( | Tag | stationId | ) | throws IllegalAccessException [protected] |
Set stationId with the specified Tag value.
stationId | The Tag value to which stationId 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.StationRow.equalByRequiredValue | ( | StationRow | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | the StationRow whose required attributes of the value part will be compared with those of this. |
Object [] alma.asdm.StationRow.getAttributesValues | ( | ) | [package, virtual] |
Returns all the attributes of an attribute of an ASDM table as an array of Object.
Implements alma.asdm.ASDMRow.