asdm::MainRow Class Reference

#include <MainRow.h>

List of all members.


Detailed Description

The MainRow class is a row of a MainTable.

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


Public Member Functions

MainTablegetTable () const
MainRowIDL * toIDL () const
void setFromIDL (MainRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
ArrayTime getTime () const
void setTime (ArrayTime time) throw (IllegalAccessException)
int getScanNumber () const
void setScanNumber (int scanNumber)
int getSubscanNumber () const
void setSubscanNumber (int subscanNumber)
TimeSampling getTimeSampling () const
void setTimeSampling (TimeSampling timeSampling)
int getNumIntegration () const
void setNumIntegration (int numIntegration)
EntityRef getDataOid () const
void setDataOid (EntityRef dataOid)
bool getFlagRow () const
void setFlagRow (bool flagRow)
Interval getInterval () const
void setInterval (Interval interval)
Tag getConfigDescriptionId () const
void setConfigDescriptionId (Tag configDescriptionId) throw (IllegalAccessException)
Tag getExecBlockId () const
void setExecBlockId (Tag execBlockId)
Tag getFieldId () const
void setFieldId (Tag fieldId) throw (IllegalAccessException)
vector< TaggetStateId () const
void setStateId (vector< Tag > stateId)
ConfigDescriptionRowgetConfigDescriptionUsingConfigDescriptionId ()
FieldRowgetFieldUsingFieldId ()
void setStateId (int i, Tag stateId) throw (OutOfBoundsException)
void addStateId (Tag id)
void addStateId (const vector< Tag > &id)
const Tag getStateId (int i)
StateRowgetState (int i)
vector< StateRow * > getStates ()
ExecBlockRowgetExecBlockUsingExecBlockId ()
bool compareNoAutoInc (Tag configDescriptionId, Tag fieldId, ArrayTime time, Tag execBlockId, vector< Tag > stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, bool flagRow, Interval interval)
bool compareRequiredValue (Tag execBlockId, vector< Tag > stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, bool flagRow, Interval interval)
bool equalByRequiredValue (MainRow *x)

Friends

class asdm::MainTable


Member Function Documentation

MainTable& asdm::MainRow::getTable (  )  const

Return the table to which this row belongs.

MainRowIDL* asdm::MainRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::MainRow::setFromIDL ( MainRowIDL  x  )  throw (ConversionException)

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

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

string asdm::MainRow::toXML (  )  const

Return this row in the form of an XML string.

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

void asdm::MainRow::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.

ArrayTime asdm::MainRow::getTime (  )  const

Get time.

Returns:
time as ArrayTime

void asdm::MainRow::setTime ( ArrayTime  time  )  throw (IllegalAccessException)

Set time with the specified ArrayTime.

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

int asdm::MainRow::getScanNumber (  )  const

Get scanNumber.

Returns:
scanNumber as int

void asdm::MainRow::setScanNumber ( int  scanNumber  ) 

Set scanNumber with the specified int.

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

int asdm::MainRow::getSubscanNumber (  )  const

Get subscanNumber.

Returns:
subscanNumber as int

void asdm::MainRow::setSubscanNumber ( int  subscanNumber  ) 

Set subscanNumber with the specified int.

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

TimeSampling asdm::MainRow::getTimeSampling (  )  const

Get timeSampling.

Returns:
timeSampling as TimeSampling

void asdm::MainRow::setTimeSampling ( TimeSampling  timeSampling  ) 

Set timeSampling with the specified TimeSampling.

Parameters:
timeSampling The TimeSampling value to which timeSampling is to be set.

int asdm::MainRow::getNumIntegration (  )  const

Get numIntegration.

Returns:
numIntegration as int

void asdm::MainRow::setNumIntegration ( int  numIntegration  ) 

Set numIntegration with the specified int.

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

EntityRef asdm::MainRow::getDataOid (  )  const

Get dataOid.

Returns:
dataOid as EntityRef

void asdm::MainRow::setDataOid ( EntityRef  dataOid  ) 

Set dataOid with the specified EntityRef.

Parameters:
dataOid The EntityRef value to which dataOid is to be set.

bool asdm::MainRow::getFlagRow (  )  const

Get flagRow.

Returns:
flagRow as bool

void asdm::MainRow::setFlagRow ( bool  flagRow  ) 

Set flagRow with the specified bool.

Parameters:
flagRow The bool value to which flagRow is to be set.

Interval asdm::MainRow::getInterval (  )  const

Get interval.

Returns:
interval as Interval

void asdm::MainRow::setInterval ( Interval  interval  ) 

Set interval with the specified Interval.

Parameters:
interval The Interval value to which interval is to be set.

Tag asdm::MainRow::getConfigDescriptionId (  )  const

Get configDescriptionId.

Returns:
configDescriptionId as Tag

void asdm::MainRow::setConfigDescriptionId ( Tag  configDescriptionId  )  throw (IllegalAccessException)

Set configDescriptionId with the specified Tag.

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

Tag asdm::MainRow::getExecBlockId (  )  const

Get execBlockId.

Returns:
execBlockId as Tag

void asdm::MainRow::setExecBlockId ( Tag  execBlockId  ) 

Set execBlockId with the specified Tag.

Parameters:
execBlockId The Tag value to which execBlockId is to be set.

Tag asdm::MainRow::getFieldId (  )  const

Get fieldId.

Returns:
fieldId as Tag

void asdm::MainRow::setFieldId ( Tag  fieldId  )  throw (IllegalAccessException)

Set fieldId with the specified Tag.

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

vector<Tag> asdm::MainRow::getStateId (  )  const

Get stateId.

Returns:
stateId as vector<Tag>

void asdm::MainRow::setStateId ( vector< Tag stateId  ) 

Set stateId with the specified vector<Tag> .

Parameters:
stateId The vector<Tag> value to which stateId is to be set.

ConfigDescriptionRow* asdm::MainRow::getConfigDescriptionUsingConfigDescriptionId (  ) 

configDescriptionId pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId

Returns:
a ConfigDescriptionRow*

FieldRow* asdm::MainRow::getFieldUsingFieldId (  ) 

fieldId pointer to the row in the Field table having Field.fieldId == fieldId

Returns:
a FieldRow*

void asdm::MainRow::setStateId ( int  i,
Tag  stateId 
) throw (OutOfBoundsException)

Set stateId[i] with the specified Tag.

Parameters:
i The index in stateId where to set the Tag value.
stateId The Tag value to which stateId[i] is to be set.
Exceptions:
OutOfBoundsException 

void asdm::MainRow::addStateId ( Tag  id  ) 

Append a Tag to stateId.

Parameters:
id the Tag to be appended to stateId

void asdm::MainRow::addStateId ( const vector< Tag > &  id  ) 

Append a vector of Tag to stateId.

Parameters:
id an array of Tag to be appended to stateId

const Tag asdm::MainRow::getStateId ( int  i  ) 

Returns the Tag stored in stateId at position i.

Parameters:
i the position in stateId where the Tag is retrieved.
Returns:
the Tag stored at position i in stateId.

StateRow* asdm::MainRow::getState ( int  i  ) 

Returns the StateRow linked to this row via the tag stored in stateId at position i.

Parameters:
i the position in stateId.
Returns:
a pointer on a StateRow whose key (a Tag) is equal to the Tag stored at position i in the stateId.

vector<StateRow *> asdm::MainRow::getStates (  ) 

Returns the vector of StateRow* linked to this row via the Tags stored in stateId

Returns:
an array of pointers on StateRow.

ExecBlockRow* asdm::MainRow::getExecBlockUsingExecBlockId (  ) 

execBlockId pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId

Returns:
a ExecBlockRow*

bool asdm::MainRow::compareNoAutoInc ( Tag  configDescriptionId,
Tag  fieldId,
ArrayTime  time,
Tag  execBlockId,
vector< Tag stateId,
int  scanNumber,
int  subscanNumber,
TimeSampling  timeSampling,
int  numIntegration,
EntityRef  dataOid,
bool  flagRow,
Interval  interval 
)

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

bool 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.

Parameters:
x a pointer on the MainRow 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:50 2007 for ASDM C++ Implementation by  doxygen 1.5.1