public class Role extends DBConnector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EMAILCOLUMN |
static org.apache.log4j.Logger |
logger |
static java.lang.String |
REFERENCECOLUMN |
ARCHIVE_STATUS_TABLE_NAME, CERTIFICATION_STATUS_TABLE_NAME, ISO_BASIC, NSSDCA_STATUS_TABLE_NAME
Constructor and Description |
---|
Role() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEmail() |
java.lang.String |
getReference() |
java.util.List<Role> |
getRoles() |
void |
insertRole(java.lang.String email,
java.lang.String reference) |
void |
setEmail(java.lang.String email) |
void |
setReference(java.lang.String reference) |
getConnection
public static org.apache.log4j.Logger logger
public static final java.lang.String EMAILCOLUMN
public static final java.lang.String REFERENCECOLUMN
public Role() throws java.lang.ClassNotFoundException, java.sql.SQLException
java.lang.ClassNotFoundException
java.sql.SQLException
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
email,
- the email to setpublic java.lang.String getReference()
public void setReference(java.lang.String reference)
reference,
- the reference to setpublic java.util.List<Role> getRoles()
public void insertRole(java.lang.String email, java.lang.String reference)
email
- reference
- Copyright © 2010-2018 Planetary Data System. All Rights Reserved.