|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ValueLabel | |
---|---|
macaw.businessLayer | Contains classes that represent business concepts in the system. |
macaw.persistenceLayer | Contains the main APIs used by other software clients. |
macaw.persistenceLayer.demo | This package contains all the code required to run versions of Macaw's curation and retrieval services which store data in-memory. |
macaw.persistenceLayer.production | This package contains all the code required to run versions of Macaw's curation and retrieval services which store data in a MySQL database. |
macaw.presentationLayer | This is the main package that produces the GUI application forms for Macaw. |
Uses of ValueLabel in macaw.businessLayer |
---|
Methods in macaw.businessLayer that return types with arguments of type ValueLabel | |
---|---|
java.util.ArrayList<ValueLabel> |
Variable.getValueLabels()
|
java.util.ArrayList<ValueLabel> |
MacawRetrievalAPI.getValueLabels(User user,
java.lang.String variableName)
returns the value labels associated with a given variable |
java.util.ArrayList<ValueLabel> |
MacawCurationAPI.getValueLabels(User user,
Variable variable)
|
Methods in macaw.businessLayer with parameters of type ValueLabel | |
---|---|
void |
Variable.addValueLabel(ValueLabel valueLabel)
|
static java.util.ArrayList<MacawChangeEvent> |
ValueLabel.detectFieldChanges(User user,
Variable ownerVariable,
ValueLabel originalValueLabel,
ValueLabel revisedValueLabel)
|
static boolean |
ValueLabel.differencesExist(User user,
Variable ownerVariable,
ValueLabel originalValueLabel,
ValueLabel revisedValueLabel)
|
int |
MacawCurationAPI.getValueLabelIdentifier(User user,
Variable variable,
ValueLabel valueLabel)
|
boolean |
ValueLabel.hasSameDisplayName(ValueLabel valueLabel)
|
void |
Variable.removeValueLabel(ValueLabel valueLabel)
|
static void |
ValueLabel.validateFields(ValueLabel valueLabel)
|
Method parameters in macaw.businessLayer with type arguments of type ValueLabel | |
---|---|
void |
MacawCurationAPI.addValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
MacawCurationAPI.deleteValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
static java.lang.String[] |
ConstantConverter.getValueLabels(java.util.ArrayList<ValueLabel> valueLabels)
|
void |
Variable.setValueLabels(java.util.ArrayList<ValueLabel> valueLabels)
|
void |
MacawCurationAPI.updateValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
Uses of ValueLabel in macaw.persistenceLayer |
---|
Method parameters in macaw.persistenceLayer with type arguments of type ValueLabel | |
---|---|
static java.util.ArrayList<MacawChangeEvent> |
ChangeEventGenerator.addValueLabelsChange(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
produce change events for operations which involve adding value labels to the database |
static java.util.ArrayList<MacawChangeEvent> |
ChangeEventGenerator.deleteValueLabelsChange(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
produce change events for operations which involve deleting value labels from the database |
Uses of ValueLabel in macaw.persistenceLayer.demo |
---|
Methods in macaw.persistenceLayer.demo that return types with arguments of type ValueLabel | |
---|---|
java.util.ArrayList<ValueLabel> |
DemonstrationRetrievalService.getValueLabels(User user,
java.lang.String variableName)
|
java.util.ArrayList<ValueLabel> |
InMemoryVariableManager.getValueLabels(User user,
Variable variable)
|
java.util.ArrayList<ValueLabel> |
InMemoryValueLabelManager.getValueLabels(User user,
Variable variable)
|
java.util.ArrayList<ValueLabel> |
DemonstrationCurationService.getValueLabels(User user,
Variable variable)
|
Methods in macaw.persistenceLayer.demo with parameters of type ValueLabel | |
---|---|
int |
DemonstrationCurationService.getValueLabelIdentifier(User user,
Variable variable,
ValueLabel valueLabel)
|
int |
InMemoryValueLabelManager.getValueLabelIdentifier(Variable variable,
ValueLabel valueLabel)
|
Method parameters in macaw.persistenceLayer.demo with type arguments of type ValueLabel | |
---|---|
void |
InMemoryValueLabelManager.addValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
DemonstrationCurationService.addValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
InMemoryValueLabelManager.deleteValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
DemonstrationCurationService.deleteValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
InMemoryValueLabelManager.updateValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> revisedValueLabels)
|
void |
DemonstrationCurationService.updateValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
Uses of ValueLabel in macaw.persistenceLayer.production |
---|
Methods in macaw.persistenceLayer.production that return ValueLabel | |
---|---|
ValueLabel |
SQLValueLabelManager.getOriginalValueLabel(java.sql.Connection connection,
ValueLabel targetValueLabel)
|
Methods in macaw.persistenceLayer.production that return types with arguments of type ValueLabel | |
---|---|
java.util.ArrayList<ValueLabel> |
SQLValueLabelManager.getValueLabels(java.sql.Connection connection,
User user,
java.lang.String variableName)
|
java.util.ArrayList<ValueLabel> |
SQLValueLabelManager.getValueLabels(java.sql.Connection connection,
User user,
Variable variable)
|
java.util.ArrayList<ValueLabel> |
ProductionRetrievalService.getValueLabels(User user,
java.lang.String variableName)
|
java.util.ArrayList<ValueLabel> |
ProductionCurationService.getValueLabels(User user,
Variable variable)
|
Methods in macaw.persistenceLayer.production with parameters of type ValueLabel | |
---|---|
void |
SQLValueLabelManager.checkValueLabelExists(java.sql.Connection connection,
ValueLabel candidateValueLabel)
public void checkValueLabelDuplicate(Connection connection, Variable variable, ValueLabel candidateValueLabel) throws MacawException { StringBuilder query = new StringBuilder(); query.append("SELECT identifier "); query.append("FROM value_labels "); query.append("WHERE variable_id=? AND (value=? OR label=?);"); //TO DO ResultSet resultSet = null; PreparedStatement statement = null; try { statement = connection.prepareStatement(query.toString()); statement.setInt(1, variable.getIdentifier()); statement.setString(2, candidateValueLabel.getValue()); statement.setString(3, candidateValueLabel.getLabel()); resultSet = statement.executeQuery(); if (resultSet.next() == true) { int resultIdentifier = resultSet.getInt(1); if (resultIdentifier != candidateValueLabel.getIdentifier()) { //items have same display name but different IDs. |
ValueLabel |
SQLValueLabelManager.getOriginalValueLabel(java.sql.Connection connection,
ValueLabel targetValueLabel)
|
int |
SQLValueLabelManager.getValueLabelIdentifier(java.sql.Connection connection,
Variable variable,
ValueLabel candidateValueLabel)
|
int |
ProductionCurationService.getValueLabelIdentifier(User user,
Variable variable,
ValueLabel valueLabel)
|
Method parameters in macaw.persistenceLayer.production with type arguments of type ValueLabel | |
---|---|
void |
SQLValueLabelManager.addValueLabels(java.sql.Connection connection,
User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
ProductionCurationService.addValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
SQLValueLabelManager.deleteValueLabels(java.sql.Connection connection,
User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
ProductionCurationService.deleteValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
void |
SQLValueLabelManager.updateValueLabels(java.sql.Connection connection,
User user,
Variable variable,
java.util.ArrayList<ValueLabel> revisedValueLabels)
|
void |
ProductionCurationService.updateValueLabels(User user,
Variable variable,
java.util.ArrayList<ValueLabel> valueLabels)
|
Uses of ValueLabel in macaw.presentationLayer |
---|
Methods in macaw.presentationLayer that return types with arguments of type ValueLabel | |
---|---|
java.util.ArrayList<ValueLabel> |
VariableLabelTableModel.getData()
|
Methods in macaw.presentationLayer with parameters of type ValueLabel | |
---|---|
void |
VariableLabelTableModel.addValueLabel(int row,
ValueLabel valueLabel)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |