Generated from model's revision 1.46, branch HEAD
Name | Type | Comment
|
---|---|---|
Key
| ||
sourceId | int |
|
spectralWindowId | Tag |
|
timeInterval | ArrayTimeInterval |
|
Value (Mandarory)
| ||
numLines | int |
|
sourceName | String |
|
code | String |
|
direction | Angle[] | 2
|
properMotion | AngularRate[] | 2
|
Value (Optional)
| ||
sourceParameterId | int |
|
catalog | String |
|
calibrationGroup | int |
|
position | Length[] | 3
|
transition | String[] | numLines
|
restFrequency | Frequency[] | numLines
|
sysVel | Speed[] | numLines
|
sourceModel | SourceModel |
|
deltaVel | Speed |
|
rangeVel | Speed[] | 2
|
Public Member Functions | |
String[] | getAttributesNames () |
Returns the names of the attributes of the rows stored in that table. | |
ASDM | getContainer () |
Return the container to which this table belongs. | |
int | size () |
Return the number of rows in the table. | |
String | getName () |
Return the name of this table. | |
String | toString () |
Returns "SourceTable" followed by the current size of the table between parenthesis. | |
SourceRow | newRow () |
Create a new row with default values . | |
SourceRow | add (SourceRow x) |
Append a row to a SourceTable which has simply 1) an autoincrementable attribute (sourceId) 2) a temporal attribute (timeInterval) in its key section. | |
SourceRow | newRow (Tag spectralWindowId, ArrayTimeInterval timeInterval, int numLines, String sourceName, String code, Angle[] direction, AngularRate[] properMotion) |
Create a new row initialized to the specified values. | |
SourceRow | newRow (SourceRow row) |
Create a new row using a copy constructor mechanism. | |
SourceRow[] | get () |
Get all rows. | |
SourceRow | getRowByKey (int sourceId, Tag spectralWindowId, ArrayTimeInterval timeInterval) |
Returns a SourceRow given a key. | |
SourceRow[] | getRowBySourceId (int sourceId) |
Returns an array rows whose key element sourceId is equal to the parameter sourceId. | |
SourceRow | lookup (Tag spectralWindowId, ArrayTimeInterval timeInterval, int numLines, String sourceName, String code, Angle[] direction, AngularRate[] properMotion) |
Look up the table for a row whose all attributes except the autoincrementable one are equal to the corresponding parameters of the method. | |
ASDMRow[] | getRows () |
Returns the rows of an ASDMTable as an array of ASDMRow. | |
SourceTableIDL | toIDL () |
Convert this table into a SourceTableIDL CORBA structure. | |
void | fromIDL (SourceTableIDL x) throws DuplicateKey,ConversionException, UniquenessViolationException |
Populate this table from the content of a SourceTableIDL Corba structure. | |
byte[] | toFITS () throws ConversionException |
To be implemented. | |
void | fromFITS (byte[] fits) throws ConversionException |
To be implemented. | |
String | toVOTable () throws ConversionException |
To be implemented. | |
void | fromVOTable (String vo) throws ConversionException |
To be implemented. | |
String | toXML () throws ConversionException |
Translate this table to an XML representation conform to the schema defined for Source (SourceTable.xsd). | |
void | fromXML (String xmlDoc) throws ConversionException |
Populate this table from the content of a XML document that is required to be conform to the XML schema defined for a Source (SourceTable.xsd). | |
byte[] | toMIME () throws ConversionException |
Serialize this into a stream of bytes and encapsulates that stream into a MIME message. | |
void | toFile (String directory) throws ConversionException |
Stores a representation (binary or XML) of this table into a file. | |
void | setFromFile (String directory) throws ConversionException |
Reads and parses a file containing a representation of a SourceTable as those produced by the toFile method. | |
Entity | getEntity () |
Returns the table's entity. | |
void | setEntity (Entity e) |
Set the table's entity. | |
void | fromArchive (Archiver ar, String UID) throws ConversionException, ArchiverException |
Static Public Member Functions | |
String[] | getKeyName () |
Return the list of field names that make up key key as an array of strings. | |
Package Functions | |
String | Key (Tag spectralWindowId) |
Returns a string built by concatenating the ascii representation of the parameters values suffixed with a "_" character. | |
boolean | inKey (String s) |
SourceTable (ASDM container) | |
Create a SourceTable. | |
void | setFromMIME (byte[] mimeMsg) throws ConversionException |
Extracts the binary part of a MIME message and deserialize its content to fill this with the result of the deserialization. | |
String | toArchive (Archiver ar) throws ConversionException, ArchiverException |
Store this table into the archive. |
|
Create a SourceTable. This constructor has package access because only the container can create tables. All tables must know the container to which they belong.
|
|
Append a row to a SourceTable which has simply 1) an autoincrementable attribute (sourceId) 2) a temporal attribute (timeInterval) in its key section. 3) other attributes in the key section (defining a so called context). If there is already a row in the table whose key section non including is equal to x's one and whose value section is equal to x's one then return this row, otherwise add x to the collection of rows. |
|
Populate this table from the content of a SourceTableIDL Corba structure.
|
|
Populate this table from the content of a XML document that is required to be conform to the XML schema defined for a Source (SourceTable.xsd).
Implements alma.asdm.Representable.
|
|
Get all rows.
|
|
Returns the names of the attributes of the rows stored in that table.
Implements alma.asdm.ASDMTable.
|
|
Return the container to which this table belongs.
|
|
Returns the table's entity.
Implements alma.asdm.Representable.
|
|
Return the list of field names that make up key key as an array of strings.
|
|
Return the name of this table.
Implements alma.asdm.ASDMTable.
|
|
Returns a SourceRow given a key.
|
|
Returns an array rows whose key element sourceId is equal to the parameter sourceId.
|
|
Returns the rows of an ASDMTable as an array of ASDMRow.
Implements alma.asdm.ASDMTable.
|
|
Returns a string built by concatenating the ascii representation of the parameters values suffixed with a "_" character.
|
|
Look up the table for a row whose all attributes except the autoincrementable one are equal to the corresponding parameters of the method.
|
|
Create a new row using a copy constructor mechanism. The method creates a new SourceRow owned by this. Each attribute of the created row is a (deep) copy of the corresponding attribute of row. The method does not add the created row to this, its simply parents it to this, 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 new SourceRow with default values for its attributes.
|
|
Create a new row initialized to the specified values. (the autoincrementable attribute if any is not in the parameter list)
|
|
Create a new row with default values .
|
|
Set the table's entity.
Implements alma.asdm.Representable.
|
|
Reads and parses a file containing a representation of a SourceTable as those produced by the toFile method. This table is populated with the result of the parsing.
|
|
Extracts the binary part of a MIME message and deserialize its content to fill this with the result of the deserialization.
|
|
Return the number of rows in the table.
Implements alma.asdm.ASDMTable.
|
|
Store this table into the archive.
|
|
Stores a representation (binary or XML) of this table into a file. Depending on the boolean value of its private field fileAsBin a binary serialization of this (fileAsBin==true) will be saved in a file "Source.bin" or an XML representation (fileAsBin==false) will be saved in a file "Source.xml". The file is always written in a directory whose name is passed as a parameter.
|
|
Convert this table into a SourceTableIDL CORBA structure.
|
|
Serialize this into a stream of bytes and encapsulates that stream into a MIME message.
|
|
Returns "SourceTable" followed by the current size of the table between parenthesis. Example : SpectralWindowTable(12)
|
|
Translate this table to an XML representation conform to the schema defined for Source (SourceTable.xsd).
Implements alma.asdm.Representable.
|