コード例 #1
0
  public Collection<String> print() {
    Collection<String> lines = new ArrayList<String>();

    lines.add("LucentQueryTgConfEvent ::=");
    lines.add("{");

    String indent = "  ";

    lines.addAll(ASNInteger.print(this.idleTrunks, "idleTrunks", indent));
    lines.addAll(ASNInteger.print(this.usedTrunks, "usedTrunks", indent));

    lines.add("}");
    return lines;
  }
コード例 #2
0
  public Collection<String> print() {
    Collection<String> lines = new ArrayList<String>();

    lines.add("LucentV6QueryAgentStateConfEvent ::=");
    lines.add("{");

    String indent = "  ";

    lines.addAll(LucentWorkMode.print(this.workMode, "workMode", indent));
    lines.addAll(LucentTalkState.print(this.talkState, "talkState", indent));
    lines.addAll(ASNInteger.print(this.reasonCode, "reasonCode", indent));
    lines.addAll(LucentWorkMode.print(this.pendingWorkMode, "pendingWorkMode", indent));
    lines.addAll(ASNInteger.print(this.pendingReasonCode, "pendingReasonCode", indent));

    lines.add("}");
    return lines;
  }
コード例 #3
0
  public static Collection<String> print(LucentUserCollectCode _this, String name, String _indent) {
    Collection<String> lines = new ArrayList<String>();

    if (_this == null) {
      lines.add(_indent + name + " <null>");
      return lines;
    }
    if (name != null) {
      lines.add(_indent + name);
    }
    lines.add(_indent + "{");

    String indent = _indent + "  ";

    lines.addAll(CollectCodeType.print(_this.type, "type", indent));
    lines.addAll(ASNInteger.print(_this.digitsToBeCollected, "digitsToBeCollected", indent));
    lines.addAll(ASNInteger.print(_this.timeout, "timeout", indent));
    lines.addAll(CSTAConnectionID.print(_this.collectParty, "collectParty", indent));
    lines.addAll(SpecificEvent.print(_this.specificEvent, "specificEvent", indent));

    lines.add(_indent + "}");
    return lines;
  }