alma.asdm.FlagCmdRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The FlagCmdRow class is a row of a FlagCmdTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

FlagCmdTable getTable ()
 Return the table to which this row belongs.
FlagCmdRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (FlagCmdRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct FlagCmdRowIDL.
String toXML () throws ConversionException
 Return this row in the form of an XML string.
void setFromXML (String rowDoc) throws ConversionException
 Fill the values of this row from an XML string that was produced by the toXML() method.
ArrayTimeInterval getTimeInterval ()
 Get timeInterval.
void setTimeInterval (ArrayTimeInterval timeInterval) throws IllegalAccessException
 Set timeInterval with the specified ArrayTimeInterval value.
String getType ()
 Get type.
void setType (String type)
 Set type with the specified String value.
String getReason ()
 Get reason.
void setReason (String reason)
 Set reason with the specified String value.
int getLevel ()
 Get level.
void setLevel (int level)
 Set level with the specified int value.
int getSeverity ()
 Get severity.
void setSeverity (int severity)
 Set severity with the specified int value.
boolean getApplied ()
 Get applied.
void setApplied (boolean applied)
 Set applied with the specified boolean value.
String getCommand ()
 Get command.
void setCommand (String command)
 Set command with the specified String value.
boolean compareNoAutoInc (ArrayTimeInterval timeInterval, String type, String reason, int level, int severity, boolean applied, String command)
 Compare each attribute except the autoincrementable one of this FlagCmdRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (FlagCmdRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (String type, String reason, int level, int severity, boolean applied, String command)

Package Functions

 FlagCmdRow (FlagCmdTable table)
 Create a FlagCmdRow.
 FlagCmdRow (FlagCmdTable table, FlagCmdRow row)
 Creates a FlagCmdRow using a copy constructor mechanism.
void isAdded ()
Object[] getAttributesValues ()
 Returns all the attributes of an attribute of an ASDM table as an array of Object.

Package Attributes

ArrayTimeInterval timeInterval


Constructor & Destructor Documentation

alma.asdm.FlagCmdRow.FlagCmdRow ( FlagCmdTable  table  )  [package]

Create a FlagCmdRow.

This constructor has package access because only the table can create rows. All rows know the table to which they belong.

Parameters:
table The table to which this row belongs.

alma.asdm.FlagCmdRow.FlagCmdRow ( FlagCmdTable  table,
FlagCmdRow  row 
) [package]

Creates a FlagCmdRow using a copy constructor mechanism.

Given a FlagCmdRow row and a FlagCmdTable table, the method creates a new FlagCmdRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.

This constructor has package access because only the table can create rows. All rows know the table to which they belong.

Parameters:
table The table to which this row belongs.
row The row which is to be copied.


Member Function Documentation

FlagCmdRowIDL alma.asdm.FlagCmdRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.FlagCmdRow.setFromIDL ( FlagCmdRowIDL  x  )  throws 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.

String alma.asdm.FlagCmdRow.toXML (  )  throws ConversionException

Return this row in the form of an XML string.

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

void alma.asdm.FlagCmdRow.setFromXML ( String  rowDoc  )  throws 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.
Exceptions:
ConversionException. 

ArrayTimeInterval alma.asdm.FlagCmdRow.getTimeInterval (  ) 

Get timeInterval.

Returns:
timeInterval as ArrayTimeInterval

void alma.asdm.FlagCmdRow.setTimeInterval ( ArrayTimeInterval  timeInterval  )  throws IllegalAccessException

Set timeInterval with the specified ArrayTimeInterval value.

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.

String alma.asdm.FlagCmdRow.getType (  ) 

Get type.

Returns:
type as String

void alma.asdm.FlagCmdRow.setType ( String  type  ) 

Set type with the specified String value.

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

String alma.asdm.FlagCmdRow.getReason (  ) 

Get reason.

Returns:
reason as String

void alma.asdm.FlagCmdRow.setReason ( String  reason  ) 

Set reason with the specified String value.

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

int alma.asdm.FlagCmdRow.getLevel (  ) 

Get level.

Returns:
level as int

void alma.asdm.FlagCmdRow.setLevel ( int  level  ) 

Set level with the specified int value.

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

int alma.asdm.FlagCmdRow.getSeverity (  ) 

Get severity.

Returns:
severity as int

void alma.asdm.FlagCmdRow.setSeverity ( int  severity  ) 

Set severity with the specified int value.

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

boolean alma.asdm.FlagCmdRow.getApplied (  ) 

Get applied.

Returns:
applied as boolean

void alma.asdm.FlagCmdRow.setApplied ( boolean  applied  ) 

Set applied with the specified boolean value.

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

String alma.asdm.FlagCmdRow.getCommand (  ) 

Get command.

Returns:
command as String

void alma.asdm.FlagCmdRow.setCommand ( String  command  ) 

Set command with the specified String value.

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

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

Object [] alma.asdm.FlagCmdRow.getAttributesValues (  )  [package, virtual]

Returns all the attributes of an attribute of an ASDM table as an array of Object.

Returns:
an array of Object.

Implements alma.asdm.ASDMRow.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:47:23 2007 for ASDM Java Implementation by  doxygen 1.5.1