create a new Blockette from the offered string
special field substitutions will be added if the makeProto boolean flag
is set to true, to reflect a prototype variant of the blockette
Construct and return a new CachedBlocketteDecorator seeding it with the offered Blockette
and indicating true if disk persistence caching is being used.
Pull back tables relating to the indicated blockette and mark them for
deletion by the database on the next export/update call -- does not delete
the table record (will happen after database update).
Abstract class representing all Director classes for exporting data
from an Object Container to any number of output formats, as dictated
by the Builder Class registered with it.
Extracts differences from the next 64 byte frame of the given compressed
byte array (starting at offset) and returns those differences in an int
array.
Extracts differences from the next 64 byte frame of the given compressed
byte array (starting at offset) and returns those differences in an int
array.
Return an integer that represents the lookupId of the
last added dictionary blockette to this container matching the
provided blockette delimited string.
return the dictionary reference index value of this object, provided that
it is a dictionary object...return 0 if we are not a dictionary object or
we do not have a reference value
return the dictionary reference index value of this object, provided that
it is a dictionary object...return 0 if we are not a dictionary object or
we do not have a reference value.
this version returns a Vector of PdccObjects, appropriate for cases where a blockette
references a repeat list within a repeat list of dictionary references, such as with
Blockette 60.
return an integer array of field numbers in the PdccObject that are to have
their values pieced together in order for a displayed label of the
PdccObject.
return a string representation of the length of the indicated field
number, which is either a single integer, or two integers separated by a
hyphen, which suggests a min and max length.
return a string representation of the length of the indicated field
number, which is either a single integer, or two integers separated by a
hyphen, which suggests a min and max length.
return a string representation of the length of the indicated field
number, which is either a single integer, or two integers separated by a
hyphen, which suggests a min and max length.
get the incremental lookup code for a new dictionary blockette of a given type
for the dictonary category node (type -12) provided
return a 1 on failure -- non fatal response
DEPRECATED -- does not handle predictive numbering for dictionary blockettes
Return a new lookupID number that is an incrementation of the previous one added to this container.
Return the number of fields String, which is a comma-separated list associating
number of fields with the SEED version, for the indicated blockette type.
Return an ORDER BY string that consists of the prominent blockette fields
in the listed order as provided by
PdccObjectLabelMap.getFieldLabels(int blkType).
get the number of fields in this repeat group, starting at the indicated
field number...this represents the 'width' size of the group, or number of
columns.
get the number of fields in this repeat group, starting at the indicated
field number...this represents the 'width' size of the group, or number of
columns.
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.
FOR RESPONSE BLOCKETTES that have special sorting, based on stage
number and then on blockette type, we perform an insertion sort so
that the JTree nodes are properly ordered.
Create director that registers to an indicated Object Builder, uses the
configuration in the indicated file, uses the configuration from the
indicated session name, connects to the database using the configuration
identified by the database configuration name, and maps to objects using
the indicated field mapper object.
Same as previous except that the database configuration is not indicated,
so a default database configuration, determined by the session
configuration name.
A factory class for returning generic representations for PdccObject types, filling the fields with
'stuffing', nonsense values that are nonetheless syntactically correct.
Concrete builder class for exporting Blockette objects to a miniSEED archive
file structure and tabulating the stored data in the form of database table
objects that can then be processed by PdccDbExportBuilder.
Create an instance of the miniSEED export builder, accepting the specified
configuration file, the session configuration name, the database
configuration name, and an instance of a table container object.
This class provides a mapping between object types and the field values they would display
as a short-hand label representation for things like JTree nodes.
This class is a generic file read buffer that takes on the
task of keeping a full byte array buffer available for Director
classes to extract from.
This class can be used for any file format.
send a notification to the tree model that the node represented by this
object is in need of a refresh on the display
An override of the PdccObject implementation
register an object container with this object for reference lookups
NOTE: not to be confused with getContainer, which is a MutableTreeNode
implementation.
remove references to the bound object both in this instance and the bound
object container...used as a precursor to permanently deleting this node
from the JTree.
Utility class for resolving DDL Dictionary Blockettes or Blockette 1000 integer
assigned values to a standard String name for the data encoding in question.
This class acts as a container to hold encoded bytes processed
by a Steim compression routine, as well as supporting information
relating to the data processed.
toggle the edit panel to being in 'dirty' condition, where values have been
changed from the original, or 'non-dirty', where values are unaltered since
last commit.
force the current volume number of this container to be the
indicated value -- this number can get changed via the add()
command, which polls for the current volume.
Create a new logical record and place it in the logicalRecord instance variable
SeedObject is an object to be put into the new logical record, which can help to
identify the traits that that logical record will have.
Mark table record in table container for UPDATE (u) or DELETE (d), depending on the
operation character, but ONLY if there is a db table object, otherwise nothing happens.