コード例 #1
0
  /** Inbound Binary facet Implementation */
  public void valueChanged(boolean newValue) {
    if (DebugFlag.TRACE) LogTools.trace(logger, 20, "valueChanged() - invoked on inbound facet");
    String binaryString = binaryValue.trim();
    if (newValue) {
      if (binaryString.equalsIgnoreCase("true")) {
        unaryControlConduit.valueChanged();
        unaryClient.valueChanged();
      } else if (binaryString.equalsIgnoreCase("both")) {
        unaryControlConduit.valueChanged();
        unaryClient.valueChanged();
      }

    } else {
      if (binaryString.equalsIgnoreCase("false")) {
        unaryControlConduit.valueChanged();
        unaryClient.valueChanged();
      } else if (binaryString.equalsIgnoreCase("both")) {
        unaryControlConduit.valueChanged();
        unaryClient.valueChanged();
      }
    }
  }
コード例 #2
0
 public void setBinaryValue(String string) {
   if (DebugFlag.TRACE) LogTools.trace(logger, 20, "setBinaryValue() - invoked");
   this.binaryValue = string;
 }