asdm::FlagCmdRow Class Reference

#include <FlagCmdRow.h>

List of all members.


Detailed Description

The FlagCmdRow class is a row of a FlagCmdTable.

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


Public Member Functions

FlagCmdTablegetTable () 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)
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)


Member Function Documentation

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.

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

bool asdm::FlagCmdRow::getApplied  )  const
 

Get applied.

Returns:
applied as bool

string asdm::FlagCmdRow::getCommand  )  const
 

Get command.

Returns:
command as string

int asdm::FlagCmdRow::getLevel  )  const
 

Get level.

Returns:
level as int

string asdm::FlagCmdRow::getReason  )  const
 

Get reason.

Returns:
reason as string

int asdm::FlagCmdRow::getSeverity  )  const
 

Get severity.

Returns:
severity as int

FlagCmdTable& asdm::FlagCmdRow::getTable  )  const
 

Return the table to which this row belongs.

ArrayTimeInterval asdm::FlagCmdRow::getTimeInterval  )  const
 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

string asdm::FlagCmdRow::getType  )  const
 

Get type.

Returns:
type as string

void asdm::FlagCmdRow::setApplied bool  applied  ) 
 

Set applied with the specified bool.

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

void asdm::FlagCmdRow::setCommand string  command  ) 
 

Set command with the specified string.

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

void asdm::FlagCmdRow::setFromIDL FlagCmdRowIDL  x  )  throw (ConversionException)
 

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

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

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.

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

void asdm::FlagCmdRow::setLevel int  level  ) 
 

Set level with the specified int.

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

void asdm::FlagCmdRow::setReason string  reason  ) 
 

Set reason with the specified string.

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

void asdm::FlagCmdRow::setSeverity int  severity  ) 
 

Set severity with the specified int.

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

void asdm::FlagCmdRow::setTimeInterval ArrayTimeInterval  timeInterval  ) 
 

Set timeInterval with the specified ArrayTimeInterval.

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

void asdm::FlagCmdRow::setType string  type  ) 
 

Set type with the specified string.

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

FlagCmdRowIDL* asdm::FlagCmdRow::toIDL  )  const
 

Return this row in the form of an IDL struct.

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

string asdm::FlagCmdRow::toXML  )  const
 

Return this row in the form of an XML string.

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


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