#include <FlagCmdRow.h>
Generated from model's revision "1.41", branch "HEAD"
Public Member Functions | |
FlagCmdTable & | getTable () const |
FlagCmdRowIDL * | toIDL () const |
void | setFromIDL (FlagCmdRowIDL x) throw (ConversionException) |
string | toXML () const |
void | setFromXML (string rowDoc) throw (ConversionException) |
ArrayTimeInterval | getTimeInterval () const |
void | setTimeInterval (ArrayTimeInterval timeInterval) throw (IllegalAccessException) |
string | getType () const |
void | setType (string type) |
string | getReason () const |
void | setReason (string reason) |
int | getLevel () const |
void | setLevel (int level) |
int | getSeverity () const |
void | setSeverity (int severity) |
bool | getApplied () const |
void | setApplied (bool applied) |
string | getCommand () const |
void | setCommand (string command) |
bool | compareNoAutoInc (ArrayTimeInterval timeInterval, string type, string reason, int level, int severity, bool applied, string command) |
bool | compareRequiredValue (string type, string reason, int level, int severity, bool applied, string command) |
bool | equalByRequiredValue (FlagCmdRow *x) |
Friends | |
class | asdm::FlagCmdTable |
FlagCmdTable& asdm::FlagCmdRow::getTable | ( | ) | const |
Return the table to which this row belongs.
FlagCmdRowIDL* asdm::FlagCmdRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::FlagCmdRow::setFromIDL | ( | FlagCmdRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct FlagCmdRowIDL.
x | The IDL struct containing the values used to fill this row. |
string asdm::FlagCmdRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::FlagCmdRow::setFromXML | ( | string | rowDoc | ) | throw (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. |
ArrayTimeInterval asdm::FlagCmdRow::getTimeInterval | ( | ) | const |
Get timeInterval.
void asdm::FlagCmdRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) | throw (IllegalAccessException) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
string asdm::FlagCmdRow::getType | ( | ) | const |
Get type.
void asdm::FlagCmdRow::setType | ( | string | type | ) |
Set type with the specified string.
type | The string value to which type is to be set. |
string asdm::FlagCmdRow::getReason | ( | ) | const |
Get reason.
void asdm::FlagCmdRow::setReason | ( | string | reason | ) |
Set reason with the specified string.
reason | The string value to which reason is to be set. |
int asdm::FlagCmdRow::getLevel | ( | ) | const |
Get level.
void asdm::FlagCmdRow::setLevel | ( | int | level | ) |
Set level with the specified int.
level | The int value to which level is to be set. |
int asdm::FlagCmdRow::getSeverity | ( | ) | const |
Get severity.
void asdm::FlagCmdRow::setSeverity | ( | int | severity | ) |
Set severity with the specified int.
severity | The int value to which severity is to be set. |
bool asdm::FlagCmdRow::getApplied | ( | ) | const |
Get applied.
void asdm::FlagCmdRow::setApplied | ( | bool | applied | ) |
Set applied with the specified bool.
applied | The bool value to which applied is to be set. |
string asdm::FlagCmdRow::getCommand | ( | ) | const |
Get command.
void asdm::FlagCmdRow::setCommand | ( | string | command | ) |
Set command with the specified string.
command | The string value to which command is to be set. |
bool asdm::FlagCmdRow::compareNoAutoInc | ( | ArrayTimeInterval | timeInterval, | |
string | type, | |||
string | reason, | |||
int | level, | |||
int | severity, | |||
bool | applied, | |||
string | command | |||
) |
Compare each mandatory attribute except the autoincrementable one of this FlagCmdRow with the corresponding parameters and return true if there is a match and false otherwise.
bool asdm::FlagCmdRow::equalByRequiredValue | ( | FlagCmdRow * | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | a pointer on the FlagCmdRow whose required attributes of the value part will be compared with those of this. |