private String prepareString(Relevation newRelevation) { String relevation = newRelevation.getRelevationString().Replace("~", ""); relevation += "|" + newRelevation.getStructureValidation() + "|" + newRelevation.getConsistencyValidation() + "|" + newRelevation.getMaxRadioactivityLevel() + "|" + newRelevation.getRadioactivityInterpretation() + "|" + newRelevation.getStructureValidation() + "|" + newRelevation.getConsistencyValidation() + "|" + newRelevation.getMaxTemperatureLevel() + "|" + newRelevation.getTemperatureInterpretation()+ "|"; return relevation; }
public void dispatchRelevation(Relevation relevation) { this.sendRelevationToStateManager(relevation); // Send to RelevationStateManager if (relevation.getStructureValidation() == "OK") this.sendRelevationToMetatagManager(relevation); // Send to MetatagManager this.sendRelevationToJournalingManager(relevation); // Send to JournalingManager }