asdm::DopplerRow Class Reference

#include <DopplerRow.h>

List of all members.


Detailed Description

The DopplerRow class is a row of a DopplerTable.

Generated from model's revision "1.41", branch "HEAD"


Public Member Functions

DopplerTablegetTable () const
DopplerRowIDL * toIDL () const
void setFromIDL (DopplerRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
int getDopplerId () const
int getTransitionIndex () const
void setTransitionIndex (int transitionIndex)
Speed getVelDef () const
void setVelDef (Speed velDef)
int getSourceId () const
void setSourceId (int sourceId) throw (IllegalAccessException)
vector< SourceRow * > getSources ()
bool compareNoAutoInc (int sourceId, int transitionIndex, Speed velDef)
bool compareRequiredValue (int transitionIndex, Speed velDef)
bool equalByRequiredValue (DopplerRow *x)

Friends

class asdm::DopplerTable


Member Function Documentation

DopplerTable& asdm::DopplerRow::getTable (  )  const

Return the table to which this row belongs.

DopplerRowIDL* asdm::DopplerRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::DopplerRow::setFromIDL ( DopplerRowIDL  x  )  throw (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.

string asdm::DopplerRow::toXML (  )  const

Return this row in the form of an XML string.

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

void asdm::DopplerRow::setFromXML ( string  rowDoc  )  throw (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.

int asdm::DopplerRow::getDopplerId (  )  const

Get dopplerId.

Returns:
dopplerId as int

int asdm::DopplerRow::getTransitionIndex (  )  const

Get transitionIndex.

Returns:
transitionIndex as int

void asdm::DopplerRow::setTransitionIndex ( int  transitionIndex  ) 

Set transitionIndex with the specified int.

Parameters:
transitionIndex The int value to which transitionIndex is to be set.

Speed asdm::DopplerRow::getVelDef (  )  const

Get velDef.

Returns:
velDef as Speed

void asdm::DopplerRow::setVelDef ( Speed  velDef  ) 

Set velDef with the specified Speed.

Parameters:
velDef The Speed value to which velDef is to be set.

int asdm::DopplerRow::getSourceId (  )  const

Get sourceId.

Returns:
sourceId as int

void asdm::DopplerRow::setSourceId ( int  sourceId  )  throw (IllegalAccessException)

Set sourceId with the specified int.

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.

vector<SourceRow *> asdm::DopplerRow::getSources (  ) 

Get the collection of row in the Source table having sourceId == this.sourceId

Returns:
a vector of SourceRow *

bool asdm::DopplerRow::compareNoAutoInc ( int  sourceId,
int  transitionIndex,
Speed  velDef 
)

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

bool 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 a pointer on the DopplerRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:49 2007 for ASDM C++ Implementation by  doxygen 1.5.1