public class Reference extends DBConnector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INST_TABLENAME |
static java.lang.String |
INVES_TABLENAME |
static java.lang.String |
LOG_IDENTIFIERCOLUMN |
static org.apache.log4j.Logger |
logger |
static java.lang.String |
NODE_TABLENAME |
static java.lang.String |
REFERENCECOLUMN |
static java.lang.String |
TITLECOLUMN |
ARCHIVE_STATUS_TABLE_NAME, CERTIFICATION_STATUS_TABLE_NAME, ISO_BASIC, NSSDCA_STATUS_TABLE_NAME
Constructor and Description |
---|
Reference() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLog_identifier() |
java.util.List<Reference> |
getProductAllReferences(java.lang.String tableName) |
java.util.List<Reference> |
getProductReferences(java.lang.String identifier,
java.lang.String tableName)
Product instrument/investigation/node Reference Query - Query the instrument_reference table for a list of instrument/investigation/node references for a product.
|
java.lang.String |
getReference() |
java.lang.String |
getTitle() |
void |
insertReference(java.lang.String logicalIdentifier,
java.lang.String reference,
java.lang.String title,
java.lang.String tableName) |
void |
setLog_identifier(java.lang.String log_identifier) |
void |
setReference(java.lang.String reference) |
void |
setTitle(java.lang.String title) |
void |
updateReference(java.lang.String logicalIdentifier,
java.lang.String reference,
java.lang.String title,
java.lang.String tableName) |
getConnection
public static org.apache.log4j.Logger logger
public static final java.lang.String INST_TABLENAME
public static final java.lang.String INVES_TABLENAME
public static final java.lang.String NODE_TABLENAME
public static final java.lang.String LOG_IDENTIFIERCOLUMN
public static final java.lang.String REFERENCECOLUMN
public static final java.lang.String TITLECOLUMN
public Reference() throws java.lang.ClassNotFoundException, java.sql.SQLException
java.lang.ClassNotFoundException
java.sql.SQLException
public java.lang.String getLog_identifier()
public void setLog_identifier(java.lang.String log_identifier)
log_identifier,
- the log_identifier to setpublic java.lang.String getReference()
public void setReference(java.lang.String reference)
reference,
- the reference to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title,
- the title to setpublic java.util.List<Reference> getProductAllReferences(java.lang.String tableName)
public java.util.List<Reference> getProductReferences(java.lang.String identifier, java.lang.String tableName)
identifier
- tableName
- public void insertReference(java.lang.String logicalIdentifier, java.lang.String reference, java.lang.String title, java.lang.String tableName)
logicalIdentifier
- reference
- title
- tableName
- public void updateReference(java.lang.String logicalIdentifier, java.lang.String reference, java.lang.String title, java.lang.String tableName)
logicalIdentifier
- reference
- title
- tableName
- Copyright © 2010-2018 Planetary Data System. All Rights Reserved.