alma.asdm.EphemerisRow Class Reference

Inherits alma.asdm.ASDMRow.

List of all members.


Detailed Description

The EphemerisRow class is a row of a EphemerisTable.

Generated from model's revision 1.41, branch HEAD


Public Member Functions

EphemerisTable getTable ()
 Return the table to which this row belongs.
EphemerisRowIDL toIDL ()
 Return this row in the form of an IDL struct.
void setFromIDL (EphemerisRowIDL x) throws ConversionException
 Fill the values of this row from the IDL struct EphemerisRowIDL.
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 getEphemerisId ()
 Get ephemerisId.
boolean equalByRequiredValue (EphemerisRow x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
boolean compareRequiredValue ()

Protected Member Functions

void setEphemerisId (Tag ephemerisId) throws IllegalAccessException
 Set ephemerisId with the specified Tag value.

Package Functions

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

Create a EphemerisRow.

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

Creates a EphemerisRow using a copy constructor mechanism.

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

EphemerisRowIDL alma.asdm.EphemerisRow.toIDL (  ) 

Return this row in the form of an IDL struct.

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

void alma.asdm.EphemerisRow.setFromIDL ( EphemerisRowIDL  x  )  throws ConversionException

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

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

String alma.asdm.EphemerisRow.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.EphemerisRow.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.EphemerisRow.getEphemerisId (  ) 

Get ephemerisId.

Returns:
ephemerisId as Tag

void alma.asdm.EphemerisRow.setEphemerisId ( Tag  ephemerisId  )  throws IllegalAccessException [protected]

Set ephemerisId with the specified Tag value.

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

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

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

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

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