Ejemplo n.º 1
0
  public String toString(String desc, int indent) {
    StringBuffer strBuffer = new StringBuffer();

    if (desc != null) {
      CdrHelper.printIndent(strBuffer, indent);
      strBuffer.append(desc).append(":\n");
    }

    CdrHelper.printIndent(strBuffer, indent + 1);
    strBuffer.append("member: ").append(member).append("\n");

    return strBuffer.toString();
  }
Ejemplo n.º 2
0
  public String toString(String desc, int indent) {
    StringBuffer strBuffer = new StringBuffer();

    if (desc != null) {
      CdrHelper.printIndent(strBuffer, indent);
      strBuffer.append(desc).append(":\n");
    }

    CdrHelper.printIndent(strBuffer, indent + 1);
    strBuffer.append("unique_device_identifier: ").append(unique_device_identifier).append("\n");

    CdrHelper.printIndent(strBuffer, indent + 1);
    strBuffer.append("partition: ").append(partition).append("\n");

    return strBuffer.toString();
  }
Ejemplo n.º 3
0
  public String toString(String desc, int indent) {
    StringBuffer strBuffer = new StringBuffer();

    if (desc != null) {
      CdrHelper.printIndent(strBuffer, indent);
      strBuffer.append(desc).append(":\n");
    }

    CdrHelper.printIndent(strBuffer, indent + 1);
    strBuffer.append("controlType: ").append(controlType).append("\n");
    strBuffer.append(multiplier.toString("multiplier ", indent + 1));
    strBuffer.append(unit.toString("unit ", indent + 1));
    CdrHelper.printIndent(strBuffer, indent + 1);
    strBuffer.append("value: ").append(value).append("\n");

    return strBuffer.toString();
  }
Ejemplo n.º 4
0
  /** Print Method */
  public String toString(String desc, int indent) {
    StringBuffer strBuffer = new StringBuffer();

    CdrHelper.printIndent(strBuffer, indent);

    if (desc != null) {
      strBuffer.append(desc).append(": ");
    }

    strBuffer.append(this);
    strBuffer.append("\n");
    return strBuffer.toString();
  }