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(); }
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(); }
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(); }
/** 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(); }