예제 #1
0
 protected String calculateNodeId() {
   IValue value = myWatchable.getValue();
   if (value == null) {
     return myWatchable.getName() + " = null";
   }
   return myWatchable.getName() + " = " + value.getValuePresentation();
 }
  @CodeOrchestraPatch
  protected String calculateNodeId() {
    String valuePresentation = getValuePresentation(myWatchable.getValue());

    if (EMPTY_VALUE_PRESENTATION.equals(valuePresentation)) {
      return myWatchable.getName();
    }

    return myWatchable.getName() + " = " + valuePresentation;
  }