alma.asdm.ProcessorRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The ProcessorRow class is a row of a ProcessorTable.

Generated from model's revision 1.46, branch HEAD


Public Member Functions

ProcessorTable getTable ()
 Return the table to which this row belongs.
ProcessorRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (ProcessorRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct ProcessorRowIDL.
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 getProcessorId ()
 Get processorId.
ProcessorType getType ()
 Get type.
void setType (ProcessorType type) throws IllegalAccessException
 Set type with the specified ProcessorType value.
String getSubType ()
 Get subType.
void setSubType (String subType) throws IllegalAccessException
 Set subType with the specified String value.
boolean isFlagRowExists ()
 The attribute flagRow is optional.
boolean getFlagRow () throws IllegalAccessException
 Get flagRow, which is optional.
void setFlagRow (boolean flagRow)
 Set flagRow with the specified boolean value.
void clearFlagRow ()
 Mark flagRow, which is an optional field, as non-existent.
Tag getAlmaCorrelatorModeId ()
 Get almaCorrelatorModeId.
void setAlmaCorrelatorModeId (Tag almaCorrelatorModeId) throws IllegalAccessException
 Set almaCorrelatorModeId with the specified Tag value.
CorrelatorModeRow getCorrelatorModeUsingAlmaCorrelatorModeId ()
 Returns the pointer to the row in the CorrelatorMode table having CorrelatorMode.almaCorrelatorModeId == almaCorrelatorModeId.
boolean compareNoAutoInc (Tag almaCorrelatorModeId, ProcessorType type, String subType)
 Compare each attribute except the autoincrementable one of this ProcessorRow with the corresponding parameters and return true if there is a match and false otherwise.
boolean equalByRequiredValue (ProcessorRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue (Tag almaCorrelatorModeId, ProcessorType type, String subType)

Protected Member Functions

void setProcessorId (Tag processorId) throws IllegalAccessException
 Set processorId with the specified Tag value.

Package Functions

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

Create a ProcessorRow.

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.ProcessorRow.ProcessorRow ProcessorTable  table,
ProcessorRow  row
[package]
 

Creates a ProcessorRow using a copy constructor mechanism.

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

void alma.asdm.ProcessorRow.clearFlagRow  ) 
 

Mark flagRow, which is an optional field, as non-existent.

boolean alma.asdm.ProcessorRow.compareNoAutoInc Tag  almaCorrelatorModeId,
ProcessorType  type,
String  subType
 

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

boolean alma.asdm.ProcessorRow.equalByRequiredValue ProcessorRow  x  ) 
 

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

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

Tag alma.asdm.ProcessorRow.getAlmaCorrelatorModeId  ) 
 

Get almaCorrelatorModeId.

Returns:
almaCorrelatorModeId as Tag

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

CorrelatorModeRow alma.asdm.ProcessorRow.getCorrelatorModeUsingAlmaCorrelatorModeId  ) 
 

Returns the pointer to the row in the CorrelatorMode table having CorrelatorMode.almaCorrelatorModeId == almaCorrelatorModeId.

Returns:
a CorrelatorModeRow

boolean alma.asdm.ProcessorRow.getFlagRow  )  throws IllegalAccessException
 

Get flagRow, which is optional.

Returns:
flagRow as boolean
Exceptions:
IllegalAccessException If flagRow does not exist.

Tag alma.asdm.ProcessorRow.getProcessorId  ) 
 

Get processorId.

Returns:
processorId as Tag

String alma.asdm.ProcessorRow.getSubType  ) 
 

Get subType.

Returns:
subType as String

ProcessorTable alma.asdm.ProcessorRow.getTable  ) 
 

Return the table to which this row belongs.

ProcessorType alma.asdm.ProcessorRow.getType  ) 
 

Get type.

Returns:
type as ProcessorType

boolean alma.asdm.ProcessorRow.isFlagRowExists  ) 
 

The attribute flagRow is optional.

Return true if this attribute exists.

Returns:
true if and only if the flagRow attribute exists.

void alma.asdm.ProcessorRow.setAlmaCorrelatorModeId Tag  almaCorrelatorModeId  )  throws IllegalAccessException
 

Set almaCorrelatorModeId with the specified Tag value.

Parameters:
almaCorrelatorModeId The Tag value to which almaCorrelatorModeId 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.ProcessorRow.setFlagRow boolean  flagRow  ) 
 

Set flagRow with the specified boolean value.

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

void alma.asdm.ProcessorRow.setFromIDL ProcessorRowIDL  x  )  throws ConversionException
 

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

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

void alma.asdm.ProcessorRow.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.ProcessorRow.setProcessorId Tag  processorId  )  throws IllegalAccessException [protected]
 

Set processorId with the specified Tag value.

Parameters:
processorId The Tag value to which processorId 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.ProcessorRow.setSubType String  subType  )  throws IllegalAccessException
 

Set subType with the specified String value.

Parameters:
subType The String value to which subType 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.ProcessorRow.setType ProcessorType  type  )  throws IllegalAccessException
 

Set type with the specified ProcessorType value.

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

ProcessorRowIDL alma.asdm.ProcessorRow.toIDL  ) 
 

Return this row in the form of an IDL struct.

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

String alma.asdm.ProcessorRow.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:47 2008 for ASDM Java Implementation by doxygen 1.3.8