alma.asdm.CalReductionRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The CalReductionRow class is a row of a CalReductionTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

CalReductionTable getTable ()
 Return the table to which this row belongs.
CalReductionRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (CalReductionRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct CalReductionRowIDL.
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.
Tag getCalReductionId ()
 Get calReductionId.
int getNumApplied ()
 Get numApplied.
void setNumApplied (int numApplied)
 Set numApplied with the specified int value.
int getNumParam ()
 Get numParam.
void setNumParam (int numParam)
 Set numParam with the specified int value.
ArrayTime getTimeReduced ()
 Get timeReduced.
void setTimeReduced (ArrayTime timeReduced)
 Set timeReduced with the specified ArrayTime value.
String[] getCalAppliedArray ()
 Get calAppliedArray.
void setCalAppliedArray (String[] calAppliedArray)
 Set calAppliedArray with the specified String[] value.
String[] getParamSet ()
 Get paramSet.
void setParamSet (String[] paramSet)
 Set paramSet with the specified String[] value.
String getMessages ()
 Get messages.
void setMessages (String messages)
 Set messages with the specified String value.
String getSoftware ()
 Get software.
void setSoftware (String software)
 Set software with the specified String value.
String getSoftwareVersion ()
 Get softwareVersion.
void setSoftwareVersion (String softwareVersion)
 Set softwareVersion with the specified String value.
int getNumInvalidConditions ()
 Get numInvalidConditions.
void setNumInvalidConditions (int numInvalidConditions)
 Set numInvalidConditions with the specified int value.
InvalidatingCondition[] getInvalidConditions ()
 Get invalidConditions.
void setInvalidConditions (InvalidatingCondition[] invalidConditions)
 Set invalidConditions with the specified InvalidatingCondition[] value.
boolean compareNoAutoInc (int numApplied, int numParam, ArrayTime timeReduced, String[] calAppliedArray, String[] paramSet, String messages, String software, String softwareVersion, int numInvalidConditions, InvalidatingCondition[] invalidConditions)
 Compare each attribute except the autoincrementable one of this CalReductionRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (CalReductionRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numApplied, int numParam, ArrayTime timeReduced, String[] calAppliedArray, String[] paramSet, String messages, String software, String softwareVersion, int numInvalidConditions, InvalidatingCondition[] invalidConditions)

Protected Member Functions

void setCalReductionId (Tag calReductionId) throws IllegalAccessException
 Set calReductionId with the specified Tag value.

Package Functions

 CalReductionRow (CalReductionTable table)
 Create a CalReductionRow.
 CalReductionRow (CalReductionTable table, CalReductionRow row)
 Creates a CalReductionRow 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.


Constructor & Destructor Documentation

alma.asdm.CalReductionRow.CalReductionRow ( CalReductionTable  table  )  [package]

Create a CalReductionRow.

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.CalReductionRow.CalReductionRow ( CalReductionTable  table,
CalReductionRow  row 
) [package]

Creates a CalReductionRow using a copy constructor mechanism.

Given a CalReductionRow row and a CalReductionTable table, the method creates a new CalReductionRow 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

CalReductionRowIDL alma.asdm.CalReductionRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.CalReductionRow.setFromIDL ( CalReductionRowIDL  x  )  throws ConversionException

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

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

String alma.asdm.CalReductionRow.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.CalReductionRow.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. 

Tag alma.asdm.CalReductionRow.getCalReductionId (  ) 

Get calReductionId.

Returns:
calReductionId as Tag

void alma.asdm.CalReductionRow.setCalReductionId ( Tag  calReductionId  )  throws IllegalAccessException [protected]

Set calReductionId with the specified Tag value.

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

int alma.asdm.CalReductionRow.getNumApplied (  ) 

Get numApplied.

Returns:
numApplied as int

void alma.asdm.CalReductionRow.setNumApplied ( int  numApplied  ) 

Set numApplied with the specified int value.

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

int alma.asdm.CalReductionRow.getNumParam (  ) 

Get numParam.

Returns:
numParam as int

void alma.asdm.CalReductionRow.setNumParam ( int  numParam  ) 

Set numParam with the specified int value.

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

ArrayTime alma.asdm.CalReductionRow.getTimeReduced (  ) 

Get timeReduced.

Returns:
timeReduced as ArrayTime

void alma.asdm.CalReductionRow.setTimeReduced ( ArrayTime  timeReduced  ) 

Set timeReduced with the specified ArrayTime value.

Parameters:
timeReduced The ArrayTime value to which timeReduced is to be set.

String [] alma.asdm.CalReductionRow.getCalAppliedArray (  ) 

Get calAppliedArray.

Returns:
calAppliedArray as String[]

void alma.asdm.CalReductionRow.setCalAppliedArray ( String[]  calAppliedArray  ) 

Set calAppliedArray with the specified String[] value.

Parameters:
calAppliedArray The String[] value to which calAppliedArray is to be set.

String [] alma.asdm.CalReductionRow.getParamSet (  ) 

Get paramSet.

Returns:
paramSet as String[]

void alma.asdm.CalReductionRow.setParamSet ( String[]  paramSet  ) 

Set paramSet with the specified String[] value.

Parameters:
paramSet The String[] value to which paramSet is to be set.

String alma.asdm.CalReductionRow.getMessages (  ) 

Get messages.

Returns:
messages as String

void alma.asdm.CalReductionRow.setMessages ( String  messages  ) 

Set messages with the specified String value.

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

String alma.asdm.CalReductionRow.getSoftware (  ) 

Get software.

Returns:
software as String

void alma.asdm.CalReductionRow.setSoftware ( String  software  ) 

Set software with the specified String value.

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

String alma.asdm.CalReductionRow.getSoftwareVersion (  ) 

Get softwareVersion.

Returns:
softwareVersion as String

void alma.asdm.CalReductionRow.setSoftwareVersion ( String  softwareVersion  ) 

Set softwareVersion with the specified String value.

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

int alma.asdm.CalReductionRow.getNumInvalidConditions (  ) 

Get numInvalidConditions.

Returns:
numInvalidConditions as int

void alma.asdm.CalReductionRow.setNumInvalidConditions ( int  numInvalidConditions  ) 

Set numInvalidConditions with the specified int value.

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

InvalidatingCondition [] alma.asdm.CalReductionRow.getInvalidConditions (  ) 

Get invalidConditions.

Returns:
invalidConditions as InvalidatingCondition[]

void alma.asdm.CalReductionRow.setInvalidConditions ( InvalidatingCondition[]  invalidConditions  ) 

Set invalidConditions with the specified InvalidatingCondition[] value.

Parameters:
invalidConditions The InvalidatingCondition[] value to which invalidConditions is to be set.

boolean alma.asdm.CalReductionRow.equalByRequiredValue ( CalReductionRow  x  ) 

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

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

Object [] alma.asdm.CalReductionRow.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:22 2007 for ASDM Java Implementation by  doxygen 1.5.1