edu.iris.dmc.pdcc.director
Class PdccFieldMapper

java.lang.Object
  extended byedu.iris.Fissures.seed.director.FieldMapper
      extended byedu.iris.dmc.pdcc.director.PdccFieldMapper
All Implemented Interfaces:
java.lang.Cloneable

public class PdccFieldMapper
extends FieldMapper

Responsible for managing the mapping between Blockette Objects and DB tables.

Version:
2004
Author:
Robert Casey, IRIS DMC

Field Summary
 
Fields inherited from class edu.iris.Fissures.seed.director.FieldMapper
destMap, destSize, mapped, mapperType, sourceMap, sourceSize, typeNum
 
Constructor Summary
PdccFieldMapper()
          Create an instance of FieldMapper of type SEED for use by PDCC.
 
Method Summary
 int[] getSourceMap()
          return a copy of the current sourcemap, whose array index is the source table field number and the value at that index is the destination field number.
 void insert(java.lang.Object sourceObj)
          insert values from PdccTableRecord object into the Blockette mapping
 java.lang.String toString()
          return a properly formatted string that is compatible with the SEED Builder class
 
Methods inherited from class edu.iris.Fissures.seed.director.FieldMapper
addField, allocateMapSpace, clone, generateMap, getDestObjType, getField, getType, reset, setDestObjType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdccFieldMapper

public PdccFieldMapper()
Create an instance of FieldMapper of type SEED for use by PDCC.

Method Detail

insert

public void insert(java.lang.Object sourceObj)
            throws java.lang.Exception
insert values from PdccTableRecord object into the Blockette mapping

Specified by:
insert in class FieldMapper
Throws:
java.lang.Exception

toString

public java.lang.String toString()
return a properly formatted string that is compatible with the SEED Builder class

Specified by:
toString in class FieldMapper

getSourceMap

public int[] getSourceMap()
return a copy of the current sourcemap, whose array index is the source table field number and the value at that index is the destination field number.



brought to you by Incorporated Research Institutions for Seismology
June 29 2006