public interface MoleculeArchiveProperties<M extends Molecule,I extends MarsMetadata> extends JsonConvertibleRecord
Modifier and Type | Method and Description |
---|---|
void |
addAllChannels(java.util.Set<java.lang.Integer> channels)
Add molecule channel indexes to the global set that contains a record of
all unique channel indexes that are represented in the archive.
|
void |
addAllColumns(java.util.List<java.lang.String> columns)
Add column names to the unique set of column names in use in molecule
Tables.
|
void |
addAllColumns(java.util.Set<java.lang.String> columns)
Add column names to the unique set of column names in use in molecule
Tables.
|
void |
addAllParameters(java.util.Set<java.lang.String> parameters)
Add molecule parameter names to the global set that contains a record of
all unique parameter names that are being used.
|
void |
addAllPositions(java.util.Set<java.lang.String> positions)
Add molecule position names to the global set that contains a record of all
unique position names that are being used.
|
void |
addAllRegions(java.util.Set<java.lang.String> regions)
Add molecule region names to the global set that contains a record of all
unique region names that are being used.
|
void |
addAllSegmentsTableNames(java.util.Set<java.util.List<java.lang.String>> segmentTableNames)
Add segment table names to the unique set of segment table names found in
molecule records.
|
void |
addAllTags(java.util.Set<java.lang.String> tags)
Add molecule tags to the global set that contains a record of all unique
tag names that are being used.
|
void |
addChannel(int channel)
Add a channel index to the global set that contains a record of all unique
indexes that are represented in the archive.
|
void |
addColumn(java.lang.String column)
Add a column name to the unique set of column names in use in molecule
DataTables.
|
void |
addComment(java.lang.String comment)
Add to archive comments.
|
void |
addMetadataProperties(I metadata)
Update global sets to include metadata properties.
|
void |
addMoleculeProperties(M molecule)
Update global sets to include molecule properties.
|
void |
addParameter(java.lang.String parameterName)
Add a molecule parameter name to the global set that contains a record of
all unique parameter names that are being used.
|
void |
addPosition(java.lang.String position)
Add a molecule position name to the global set that contains a record of
all unique position names that are being used.
|
void |
addRegion(java.lang.String region)
Add a molecule region name to the global set that contains a record of all
unique region names that are being used.
|
void |
addSegmentsTableNames(java.util.List<java.lang.String> segmentTableName)
Add a segment table name to the unique set of segment table names found in
molecule records.
|
void |
addTag(java.lang.String tag)
Add a molecule tag to the global set that contains a record of all unique
tag names that are being used.
|
void |
clear()
Clear contents of all global sets and records counts.
|
java.util.Set<java.lang.Integer> |
getChannelSet()
Get the set of channel indexes for molecules in the archive.
|
java.util.Set<java.lang.String> |
getColumnSet()
Get the unique set of column names in use in molecule Tables.
|
java.lang.String |
getComments()
Get archive comments.
|
MarsDocument |
getDocument(java.lang.String name)
Retrieve document.
|
java.util.Set<java.lang.String> |
getDocumentNames()
Get the names of all documents.
|
java.lang.String |
getInputSchema()
Get the Json input schema for the archive.
|
int |
getNumberOfMetadatas()
Get the number of MarsMetadata records in the archive.
|
int |
getNumberOfMolecules()
Get the number of molecule in the archive.
|
java.util.Set<java.lang.String> |
getParameterSet()
Get the set of molecule parameter names in use.
|
java.util.Set<java.lang.String> |
getPositionSet()
Get the set of molecule position names in use.
|
java.util.Set<java.lang.String> |
getRegionSet()
Get the set of molecule region names in use.
|
java.util.Set<java.util.List<java.lang.String>> |
getSegmentsTableNames()
Get the unique set of segment table names found in molecule records.
|
java.util.Set<java.lang.String> |
getTagSet()
Get the set of molecule tag names in use.
|
void |
merge(MoleculeArchiveProperties<?,?> properties,
java.lang.String archiveName)
Used to during merge MoleculeArchive merge events to merge the properties
of another archive into this one.
|
void |
putDocument(MarsDocument document)
Add additional comments or reports as documents.
|
void |
putDocument(java.lang.String name,
java.lang.String content)
Add additional comments or reports as documents.
|
void |
removeAllDocuments()
Remove all documents.
|
void |
removeDocument(java.lang.String name)
Remove document.
|
void |
setChannelSet(java.util.Set<java.lang.Integer> channelSet)
Redefine the set of molecule channels in use.
|
void |
setColumnSet(java.util.Set<java.lang.String> moleculeDataTableColumnSet)
Redefine the unique set of column names in use in molecule Tables.
|
void |
setComments(java.lang.String comments)
Overwrite archive comments with new set of comments.
|
void |
setNumberOfMetadatas(int numMetadata)
Set the number of MarsMetadata records in the archive.
|
void |
setNumberOfMolecules(int numMolecules)
Set the number of molecule in the archive.
|
void |
setParameterSet(java.util.Set<java.lang.String> parameterSet)
Redefine the set of molecule parameter names in use.
|
void |
setParent(MoleculeArchive<? extends Molecule,? extends MarsMetadata,? extends MoleculeArchiveProperties<?,?>,? extends MoleculeArchiveIndex<?,?>> archive)
Set the parent
MoleculeArchive that this record is stored in. |
void |
setPositionSet(java.util.Set<java.lang.String> positionSet)
Redefine the set of molecule position names in use.
|
void |
setRegionSet(java.util.Set<java.lang.String> regionSet)
Redefine the set of molecule region names in use.
|
void |
setSegmentsTableNames(java.util.Set<java.util.List<java.lang.String>> moleculeSegmentTableNames)
Redefine the unique set of segment table names found in molecule records.
|
void |
setTagSet(java.util.Set<java.lang.String> tagSet)
Redefine the set of molecule tags in use.
|
dumpJSON, fromJSON, getJsonGenerator, getJsonParser, setJsonField, setShowWarnings, toJSON
java.lang.String getInputSchema()
void addTag(java.lang.String tag)
tag
- The tag to add.void addAllTags(java.util.Set<java.lang.String> tags)
tags
- Set of tags to add.java.util.Set<java.lang.String> getTagSet()
void setTagSet(java.util.Set<java.lang.String> tagSet)
tagSet
- The tag set.void addChannel(int channel)
channel
- The channel for this molecule.void addAllChannels(java.util.Set<java.lang.Integer> channels)
channels
- The channels to add.java.util.Set<java.lang.Integer> getChannelSet()
void setChannelSet(java.util.Set<java.lang.Integer> channelSet)
channelSet
- The set of channels.void addParameter(java.lang.String parameterName)
parameterName
- The parameter name to add.void addAllParameters(java.util.Set<java.lang.String> parameters)
parameters
- The parameters to add.java.util.Set<java.lang.String> getParameterSet()
void setParameterSet(java.util.Set<java.lang.String> parameterSet)
parameterSet
- The set of parameters.void addPosition(java.lang.String position)
position
- The position name to add.void addAllPositions(java.util.Set<java.lang.String> positions)
positions
- The position names to add.java.util.Set<java.lang.String> getPositionSet()
void setPositionSet(java.util.Set<java.lang.String> positionSet)
positionSet
- The position set.void addRegion(java.lang.String region)
region
- The region name to add.void addAllRegions(java.util.Set<java.lang.String> regions)
regions
- The region names to add.java.util.Set<java.lang.String> getRegionSet()
void setRegionSet(java.util.Set<java.lang.String> regionSet)
regionSet
- The region set.void setNumberOfMolecules(int numMolecules)
numMolecules
- Total molecule count.int getNumberOfMolecules()
void setNumberOfMetadatas(int numMetadata)
numMetadata
- Total metadata count.int getNumberOfMetadatas()
void addColumn(java.lang.String column)
column
- The column name to add.void addAllColumns(java.util.Set<java.lang.String> columns)
columns
- The set column names to add.void addAllColumns(java.util.List<java.lang.String> columns)
columns
- The list of column names to add.void setColumnSet(java.util.Set<java.lang.String> moleculeDataTableColumnSet)
moleculeDataTableColumnSet
- The set of molecule table columns names.java.util.Set<java.lang.String> getColumnSet()
void addSegmentsTableNames(java.util.List<java.lang.String> segmentTableName)
segmentTableName
- The segment table names.void addAllSegmentsTableNames(java.util.Set<java.util.List<java.lang.String>> segmentTableNames)
segmentTableNames
- The segment Table names.void setSegmentsTableNames(java.util.Set<java.util.List<java.lang.String>> moleculeSegmentTableNames)
moleculeSegmentTableNames
- The molecule segment table names.java.util.Set<java.util.List<java.lang.String>> getSegmentsTableNames()
java.lang.String getComments()
void addComment(java.lang.String comment)
comment
- The comment to add.void setComments(java.lang.String comments)
comments
- The comments to set.void putDocument(java.lang.String name, java.lang.String content)
name
- Document name.content
- Document content.void putDocument(MarsDocument document)
document
- Document.MarsDocument getDocument(java.lang.String name)
name
- Document name.void removeDocument(java.lang.String name)
name
- Document name.void removeAllDocuments()
java.util.Set<java.lang.String> getDocumentNames()
void merge(MoleculeArchiveProperties<?,?> properties, java.lang.String archiveName)
properties
- MoleculeArchiveProperties record to merge into this one.archiveName
- Name of the archive that is being merged with this one.void clear()
void addMoleculeProperties(M molecule)
molecule
- The Molecule
to add the properties from.void addMetadataProperties(I metadata)
metadata
- The MarsMetadata
to add the properties from.void setParent(MoleculeArchive<? extends Molecule,? extends MarsMetadata,? extends MoleculeArchiveProperties<?,?>,? extends MoleculeArchiveIndex<?,?>> archive)
MoleculeArchive
that this record is stored in.archive
- The MoleculeArchive
holding this record.