asdm::ProcessorRow Class Reference

#include <ProcessorRow.h>

List of all members.


Detailed Description

The ProcessorRow class is a row of a ProcessorTable.

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


Public Member Functions

ProcessorTablegetTable () const
ProcessorRowIDL * toIDL () const
void setFromIDL (ProcessorRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
Tag getProcessorId () const
ProcessorType getType () const
void setType (ProcessorType type)
string getSubType () const
void setSubType (string subType)
bool isFlagRowExists () const
bool getFlagRow () const throw (IllegalAccessException)
void setFlagRow (bool flagRow)
void clearFlagRow ()
Tag getAlmaCorrelatorModeId () const
void setAlmaCorrelatorModeId (Tag almaCorrelatorModeId)
CorrelatorModeRowgetCorrelatorModeUsingAlmaCorrelatorModeId ()
bool compareNoAutoInc (Tag almaCorrelatorModeId, ProcessorType type, string subType)
bool compareRequiredValue (Tag almaCorrelatorModeId, ProcessorType type, string subType)
bool equalByRequiredValue (ProcessorRow *x)

Friends

class asdm::ProcessorTable


Member Function Documentation

ProcessorTable& asdm::ProcessorRow::getTable (  )  const

Return the table to which this row belongs.

ProcessorRowIDL* asdm::ProcessorRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::ProcessorRow::setFromIDL ( ProcessorRowIDL  x  )  throw (ConversionException)

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

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

string asdm::ProcessorRow::toXML (  )  const

Return this row in the form of an XML string.

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

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

Tag asdm::ProcessorRow::getProcessorId (  )  const

Get processorId.

Returns:
processorId as Tag

ProcessorType asdm::ProcessorRow::getType (  )  const

Get type.

Returns:
type as ProcessorType

void asdm::ProcessorRow::setType ( ProcessorType  type  ) 

Set type with the specified ProcessorType.

Parameters:
type The ProcessorType value to which type is to be set.

string asdm::ProcessorRow::getSubType (  )  const

Get subType.

Returns:
subType as string

void asdm::ProcessorRow::setSubType ( string  subType  ) 

Set subType with the specified string.

Parameters:
subType The string value to which subType is to be set.

bool asdm::ProcessorRow::isFlagRowExists (  )  const

The attribute flagRow is optional. Return true if this attribute exists.

Returns:
true if and only if the flagRow attribute exists.

bool asdm::ProcessorRow::getFlagRow (  )  const throw (IllegalAccessException)

Get flagRow, which is optional.

Returns:
flagRow as bool
Exceptions:
IllegalAccessException If flagRow does not exist.

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

Set flagRow with the specified bool.

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

void asdm::ProcessorRow::clearFlagRow (  ) 

Mark flagRow, which is an optional field, as non-existent.

Tag asdm::ProcessorRow::getAlmaCorrelatorModeId (  )  const

Get almaCorrelatorModeId.

Returns:
almaCorrelatorModeId as Tag

void asdm::ProcessorRow::setAlmaCorrelatorModeId ( Tag  almaCorrelatorModeId  ) 

Set almaCorrelatorModeId with the specified Tag.

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

CorrelatorModeRow* asdm::ProcessorRow::getCorrelatorModeUsingAlmaCorrelatorModeId (  ) 

almaCorrelatorModeId pointer to the row in the CorrelatorMode table having CorrelatorMode.almaCorrelatorModeId == almaCorrelatorModeId

Returns:
a CorrelatorModeRow*

bool asdm::ProcessorRow::compareNoAutoInc ( Tag  almaCorrelatorModeId,
ProcessorType  type,
string  subType 
)

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

bool asdm::ProcessorRow::equalByRequiredValue ( ProcessorRow 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 ProcessorRow 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