alma.asdm.DopplerRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The DopplerRow class is a row of a DopplerTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

DopplerTable getTable ()
 Return the table to which this row belongs.
DopplerRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (DopplerRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct DopplerRowIDL.
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.
int getDopplerId ()
 Get dopplerId.
int getTransitionIndex ()
 Get transitionIndex.
void setTransitionIndex (int transitionIndex) throws IllegalAccessException
 Set transitionIndex with the specified int value.
Speed getVelDef ()
 Get velDef.
void setVelDef (Speed velDef) throws IllegalAccessException
 Set velDef with the specified Speed value.
int getSourceId ()
 Get sourceId.
void setSourceId (int sourceId) throws IllegalAccessException
 Set sourceId with the specified int value.
SourceRow[] getSources () throws InvalidAccessException, NoSuchRow
 Get the collection of rows in the Source table having sourceId == this.sourceId.
boolean compareNoAutoInc (int sourceId, int transitionIndex, Speed velDef)
 Compare each attribute except the autoincrementable one of this DopplerRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (DopplerRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int transitionIndex, Speed velDef)

Protected Member Functions

void setDopplerId (int dopplerId) throws IllegalAccessException
 Set dopplerId with the specified int value.

Package Functions

 DopplerRow (DopplerTable table)
 Create a DopplerRow.
 DopplerRow (DopplerTable table, DopplerRow row)
 Creates a DopplerRow 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.


Constructor & Destructor Documentation

alma.asdm.DopplerRow.DopplerRow DopplerTable  table  )  [package]
 

Create a DopplerRow.

This constructor has package access because only the table can create rows. All rows know the table to which they belong.

Parameters:
table The table to which this row belongs.

alma.asdm.DopplerRow.DopplerRow DopplerTable  table,
DopplerRow  row
[package]
 

Creates a DopplerRow using a copy constructor mechanism.

Given a DopplerRow row and a DopplerTable table, the method creates a new DopplerRow 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.

Parameters:
table The table to which this row belongs.
row The row which is to be copied.


Member Function Documentation

boolean alma.asdm.DopplerRow.compareNoAutoInc int  sourceId,
int  transitionIndex,
Speed  velDef
 

Compare each attribute except the autoincrementable one of this DopplerRow with the corresponding parameters and return true if there is a match and false otherwise.

boolean alma.asdm.DopplerRow.equalByRequiredValue DopplerRow  x  ) 
 

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Parameters:
x the DopplerRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.

Object [] alma.asdm.DopplerRow.getAttributesValues  )  [package, virtual]
 

Returns all the attributes of an attribute of an ASDM table as an array of Object.

Returns:
an array of Object.

Implements alma.asdm.ASDMRow.

int alma.asdm.DopplerRow.getDopplerId  ) 
 

Get dopplerId.

Returns:
dopplerId as int

int alma.asdm.DopplerRow.getSourceId  ) 
 

Get sourceId.

Returns:
sourceId as int

DopplerTable alma.asdm.DopplerRow.getTable  ) 
 

Return the table to which this row belongs.

int alma.asdm.DopplerRow.getTransitionIndex  ) 
 

Get transitionIndex.

Returns:
transitionIndex as int

Speed alma.asdm.DopplerRow.getVelDef  ) 
 

Get velDef.

Returns:
velDef as Speed

void alma.asdm.DopplerRow.setDopplerId int  dopplerId  )  throws IllegalAccessException [protected]
 

Set dopplerId with the specified int value.

Parameters:
dopplerId The int value to which dopplerId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

void alma.asdm.DopplerRow.setFromIDL DopplerRowIDL  x  )  throws ConversionException
 

Fill the values of this row from the IDL struct DopplerRowIDL.

Parameters:
x The IDL struct containing the values used to fill this row.

void alma.asdm.DopplerRow.setFromXML String  rowDoc  )  throws ConversionException
 

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

Parameters:
x The XML string being used to set the values of this row.
Exceptions:
ConversionException. 

void alma.asdm.DopplerRow.setSourceId int  sourceId  )  throws IllegalAccessException
 

Set sourceId with the specified int value.

Parameters:
sourceId The int value to which sourceId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

void alma.asdm.DopplerRow.setTransitionIndex int  transitionIndex  )  throws IllegalAccessException
 

Set transitionIndex with the specified int value.

Parameters:
transitionIndex The int value to which transitionIndex is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

void alma.asdm.DopplerRow.setVelDef Speed  velDef  )  throws IllegalAccessException
 

Set velDef with the specified Speed value.

Parameters:
velDef The Speed value to which velDef is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

DopplerRowIDL alma.asdm.DopplerRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

Returns:
The values of this row as a DopplerRowIDL struct.

String alma.asdm.DopplerRow.toXML  )  throws ConversionException
 

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.
Exceptions:
ConversionException. 


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:46:46 2008 for ASDM Java Implementation by doxygen 1.3.8