edu.iris.Fissures.seed.container
Class SeedObjectTagMap

java.lang.Object
  extended by edu.iris.Fissures.seed.container.SeedObjectTagMap

public class SeedObjectTagMap
extends java.lang.Object

This class provides a mapping between blockettes and the field values they would use for memory map or other persistence tagging. (see SeedObjectTag) This class will return only the information it can glean from the current blockette and is not aware of its current station, channel, and epoch context in the rest of the SEED volume. Therefore, this just supplies supplementary information.

Version:
7/23/09
Author:
Robert Casey, IRIS DMC

Constructor Summary
SeedObjectTagMap()
           
 
Method Summary
static java.util.HashMap<java.lang.String,java.lang.String> getTagFields(Blockette blk)
          Return a hashmap that represents the per tag field information available in the current blockette provided.
static Blockette setTagFieldsToBlk(Blockette blk, SeedObjectTag tag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeedObjectTagMap

public SeedObjectTagMap()
Method Detail

getTagFields

public static java.util.HashMap<java.lang.String,java.lang.String> getTagFields(Blockette blk)
                                                                         throws SeedException
Return a hashmap that represents the per tag field information available in the current blockette provided. This hashmap is compliant with that used by SeedObjectTag (see idFieldNames). For context fill by a parent blockette, use a "?" in the field value to signal value replacement by parent context. Stations have an instance field that follows it. The convention is to use a single lower case character to denote a unique instance of the station name. Use the tag's increment() method to seek a unique instance tag [a-z].

Throws:
SeedException

setTagFieldsToBlk

public static Blockette setTagFieldsToBlk(Blockette blk,
                                          SeedObjectTag tag)
                                   throws SeedException
Throws:
SeedException