alma.asdm.MainRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The MainRow class is a row of a MainTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

MainTable getTable ()
 Return the table to which this row belongs.
MainRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (MainRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct MainRowIDL.
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.
ArrayTime getTime ()
 Get time.
void setTime (ArrayTime time) throws IllegalAccessException
 Set time with the specified ArrayTime value.
int getScanNumber ()
 Get scanNumber.
void setScanNumber (int scanNumber)
 Set scanNumber with the specified int value.
int getSubscanNumber ()
 Get subscanNumber.
void setSubscanNumber (int subscanNumber)
 Set subscanNumber with the specified int value.
TimeSampling getTimeSampling ()
 Get timeSampling.
void setTimeSampling (TimeSampling timeSampling)
 Set timeSampling with the specified TimeSampling value.
int getNumIntegration ()
 Get numIntegration.
void setNumIntegration (int numIntegration)
 Set numIntegration with the specified int value.
EntityRef getDataOid ()
 Get dataOid.
void setDataOid (EntityRef dataOid)
 Set dataOid with the specified EntityRef value.
boolean getFlagRow ()
 Get flagRow.
void setFlagRow (boolean flagRow)
 Set flagRow with the specified boolean value.
Interval getInterval ()
 Get interval.
void setInterval (Interval interval)
 Set interval with the specified Interval value.
Tag getConfigDescriptionId ()
 Get configDescriptionId.
void setConfigDescriptionId (Tag configDescriptionId) throws IllegalAccessException
 Set configDescriptionId with the specified Tag value.
Tag getExecBlockId ()
 Get execBlockId.
void setExecBlockId (Tag execBlockId)
 Set execBlockId with the specified Tag value.
Tag getFieldId ()
 Get fieldId.
void setFieldId (Tag fieldId) throws IllegalAccessException
 Set fieldId with the specified Tag value.
Tag[] getStateId ()
 Get stateId.
void setStateId (Tag[] stateId)
 Set stateId with the specified Tag[] value.
ConfigDescriptionRow getConfigDescriptionUsingConfigDescriptionId ()
 Returns the pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId.
FieldRow getFieldUsingFieldId ()
 Returns the pointer to the row in the Field table having Field.fieldId == fieldId.
void setStateId (int i, Tag stateId) throws IndexOutOfBoundsException
 Set stateId[i] with the specified Tag value.
ExecBlockRow getExecBlockUsingExecBlockId ()
 Returns the pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId.
boolean compareNoAutoInc (Tag configDescriptionId, Tag fieldId, ArrayTime time, Tag execBlockId, Tag[] stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, boolean flagRow, Interval interval)
 Compare each attribute except the autoincrementable one of this MainRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (MainRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (Tag execBlockId, Tag[] stateId, int scanNumber, int subscanNumber, TimeSampling timeSampling, int numIntegration, EntityRef dataOid, boolean flagRow, Interval interval)

Package Functions

 MainRow (MainTable table)
 Create a MainRow.
 MainRow (MainTable table, MainRow row)
 Creates a MainRow using a copy constructor mechanism.
void isAdded ()
void addStateId (Tag id)
 Append a Tag to stateId.
void addStateId (Tag[] id)
 Append an array of Tag to stateId.
Tag getStateId (int i) throws IndexOutOfBoundsException
 Returns the Tag stored in stateId at position i.
StateRow getState (int i) throws IndexOutOfBoundsException, NoSuchRow
 Returns the StateRow linked to this row via the Tag stored in stateId at position i.
StateRow[] getStates () throws NoSuchRow
 Returns the array of StateRow linked to this row via the Tags stored in stateId.
Object[] getAttributesValues ()
 Returns all the attributes of an attribute of an ASDM table as an array of Object.


Constructor & Destructor Documentation

alma.asdm.MainRow.MainRow ( MainTable  table  )  [package]

Create a MainRow.

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

Creates a MainRow using a copy constructor mechanism.

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

MainRowIDL alma.asdm.MainRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.MainRow.setFromIDL ( MainRowIDL  x  )  throws ConversionException

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

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

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

ArrayTime alma.asdm.MainRow.getTime (  ) 

Get time.

Returns:
time as ArrayTime

void alma.asdm.MainRow.setTime ( ArrayTime  time  )  throws IllegalAccessException

Set time with the specified ArrayTime value.

Parameters:
time The ArrayTime value to which time 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.MainRow.getScanNumber (  ) 

Get scanNumber.

Returns:
scanNumber as int

void alma.asdm.MainRow.setScanNumber ( int  scanNumber  ) 

Set scanNumber with the specified int value.

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

int alma.asdm.MainRow.getSubscanNumber (  ) 

Get subscanNumber.

Returns:
subscanNumber as int

void alma.asdm.MainRow.setSubscanNumber ( int  subscanNumber  ) 

Set subscanNumber with the specified int value.

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

TimeSampling alma.asdm.MainRow.getTimeSampling (  ) 

Get timeSampling.

Returns:
timeSampling as TimeSampling

void alma.asdm.MainRow.setTimeSampling ( TimeSampling  timeSampling  ) 

Set timeSampling with the specified TimeSampling value.

Parameters:
timeSampling The TimeSampling value to which timeSampling is to be set.

int alma.asdm.MainRow.getNumIntegration (  ) 

Get numIntegration.

Returns:
numIntegration as int

void alma.asdm.MainRow.setNumIntegration ( int  numIntegration  ) 

Set numIntegration with the specified int value.

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

EntityRef alma.asdm.MainRow.getDataOid (  ) 

Get dataOid.

Returns:
dataOid as EntityRef

void alma.asdm.MainRow.setDataOid ( EntityRef  dataOid  ) 

Set dataOid with the specified EntityRef value.

Parameters:
dataOid The EntityRef value to which dataOid is to be set.

boolean alma.asdm.MainRow.getFlagRow (  ) 

Get flagRow.

Returns:
flagRow as boolean

void alma.asdm.MainRow.setFlagRow ( boolean  flagRow  ) 

Set flagRow with the specified boolean value.

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

Interval alma.asdm.MainRow.getInterval (  ) 

Get interval.

Returns:
interval as Interval

void alma.asdm.MainRow.setInterval ( Interval  interval  ) 

Set interval with the specified Interval value.

Parameters:
interval The Interval value to which interval is to be set.

Tag alma.asdm.MainRow.getConfigDescriptionId (  ) 

Get configDescriptionId.

Returns:
configDescriptionId as Tag

void alma.asdm.MainRow.setConfigDescriptionId ( Tag  configDescriptionId  )  throws IllegalAccessException

Set configDescriptionId with the specified Tag value.

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

Tag alma.asdm.MainRow.getExecBlockId (  ) 

Get execBlockId.

Returns:
execBlockId as Tag

void alma.asdm.MainRow.setExecBlockId ( Tag  execBlockId  ) 

Set execBlockId with the specified Tag value.

Parameters:
execBlockId The Tag value to which execBlockId is to be set.

Tag alma.asdm.MainRow.getFieldId (  ) 

Get fieldId.

Returns:
fieldId as Tag

void alma.asdm.MainRow.setFieldId ( Tag  fieldId  )  throws IllegalAccessException

Set fieldId with the specified Tag value.

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

Tag [] alma.asdm.MainRow.getStateId (  ) 

Get stateId.

Returns:
stateId as Tag[]

void alma.asdm.MainRow.setStateId ( Tag[]  stateId  ) 

Set stateId with the specified Tag[] value.

Parameters:
stateId The Tag[] value to which stateId is to be set.

ConfigDescriptionRow alma.asdm.MainRow.getConfigDescriptionUsingConfigDescriptionId (  ) 

Returns the pointer to the row in the ConfigDescription table having ConfigDescription.configDescriptionId == configDescriptionId.

Returns:
a ConfigDescriptionRow

FieldRow alma.asdm.MainRow.getFieldUsingFieldId (  ) 

Returns the pointer to the row in the Field table having Field.fieldId == fieldId.

Returns:
a FieldRow

void alma.asdm.MainRow.setStateId ( int  i,
Tag  stateId 
) throws IndexOutOfBoundsException

Set stateId[i] with the specified Tag value.

Parameters:
i The index in stateId where to set the Tag value.
stateId The Tag value to which stateId[i] is to be set.
Exceptions:
IndexOutOfBoundsException 

void alma.asdm.MainRow.addStateId ( Tag  id  )  [package]

Append a Tag to stateId.

Parameters:
id the Tag to be appended to stateId

void alma.asdm.MainRow.addStateId ( Tag[]  id  )  [package]

Append an array of Tag to stateId.

Parameters:
id an array of Tag to be appended to stateId

ExecBlockRow alma.asdm.MainRow.getExecBlockUsingExecBlockId (  ) 

Returns the pointer to the row in the ExecBlock table having ExecBlock.execBlockId == execBlockId.

Returns:
a ExecBlockRow

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

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

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

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