alma.asdm.SquareLawDetectorRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The SquareLawDetectorRow class is a row of a SquareLawDetectorTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

SquareLawDetectorTable getTable ()
 Return the table to which this row belongs.
SquareLawDetectorRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (SquareLawDetectorRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct SquareLawDetectorRowIDL.
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 getSquareLawDetectorId ()
 Get squareLawDetectorId.
int getNumBand ()
 Get numBand.
void setNumBand (int numBand) throws IllegalAccessException
 Set numBand with the specified int value.
DetectorBandType getBandType ()
 Get bandType.
void setBandType (DetectorBandType bandType) throws IllegalAccessException
 Set bandType with the specified DetectorBandType value.
boolean compareNoAutoInc (int numBand, DetectorBandType bandType)
 Compare each attribute except the autoincrementable one of this SquareLawDetectorRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (SquareLawDetectorRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (int numBand, DetectorBandType bandType)

Protected Member Functions

void setSquareLawDetectorId (Tag squareLawDetectorId) throws IllegalAccessException
 Set squareLawDetectorId with the specified Tag value.

Package Functions

 SquareLawDetectorRow (SquareLawDetectorTable table)
 Create a SquareLawDetectorRow.
 SquareLawDetectorRow (SquareLawDetectorTable table, SquareLawDetectorRow row)
 Creates a SquareLawDetectorRow 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.SquareLawDetectorRow.SquareLawDetectorRow SquareLawDetectorTable  table  )  [package]
 

Create a SquareLawDetectorRow.

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.SquareLawDetectorRow.SquareLawDetectorRow SquareLawDetectorTable  table,
SquareLawDetectorRow  row
[package]
 

Creates a SquareLawDetectorRow using a copy constructor mechanism.

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

boolean alma.asdm.SquareLawDetectorRow.compareNoAutoInc int  numBand,
DetectorBandType  bandType
 

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

boolean alma.asdm.SquareLawDetectorRow.equalByRequiredValue SquareLawDetectorRow  x  ) 
 

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

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

Object [] alma.asdm.SquareLawDetectorRow.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.

DetectorBandType alma.asdm.SquareLawDetectorRow.getBandType  ) 
 

Get bandType.

Returns:
bandType as DetectorBandType

int alma.asdm.SquareLawDetectorRow.getNumBand  ) 
 

Get numBand.

Returns:
numBand as int

Tag alma.asdm.SquareLawDetectorRow.getSquareLawDetectorId  ) 
 

Get squareLawDetectorId.

Returns:
squareLawDetectorId as Tag

SquareLawDetectorTable alma.asdm.SquareLawDetectorRow.getTable  ) 
 

Return the table to which this row belongs.

void alma.asdm.SquareLawDetectorRow.setBandType DetectorBandType  bandType  )  throws IllegalAccessException
 

Set bandType with the specified DetectorBandType value.

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

void alma.asdm.SquareLawDetectorRow.setFromIDL SquareLawDetectorRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.SquareLawDetectorRow.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. 

void alma.asdm.SquareLawDetectorRow.setNumBand int  numBand  )  throws IllegalAccessException
 

Set numBand with the specified int value.

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

void alma.asdm.SquareLawDetectorRow.setSquareLawDetectorId Tag  squareLawDetectorId  )  throws IllegalAccessException [protected]
 

Set squareLawDetectorId with the specified Tag value.

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

SquareLawDetectorRowIDL alma.asdm.SquareLawDetectorRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

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


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:46:48 2008 for ASDM Java Implementation by doxygen 1.3.8