@Test void testToString() { instance.setMCL("testMcl"); String result = instance.toString(); assertEquals("CSM(MCL/testMcl )", result); }
@Override public String toString() { StringBuilder csm = new StringBuilder(); csm.append("CSM(MCL/"); csm.append(getMCL()); csm.append(" "); for (String tag : orderedTags) { csm.append(tag); csm.append("/"); csm.append(getFieldContent(tag)); csm.append(" "); } csm.append(")"); return csm.toString(); }
CryptographicServiceMessage implements Loggeable { @Override public String toString() { StringBuilder csm = new StringBuilder(); csm.append("CSM(MCL/"); csm.append(getMCL()); csm.append(" "); for (String tag : orderedTags) { csm.append(tag); csm.append("/"); csm.append(getFieldContent(tag)); csm.append(" "); } csm.append(")"); return csm.toString(); } }
CryptographicServiceMessage implements Loggeable { @Override public String toString() { StringBuilder csm = new StringBuilder(); csm.append("CSM(MCL/"); csm.append(getMCL()); csm.append(" "); for (String tag : orderedTags) { csm.append(tag); csm.append("/"); csm.append(getFieldContent(tag)); csm.append(" "); } csm.append(")"); return csm.toString(); } CryptographicServiceMessage();  CryptographicServiceMessage(String mcl); }
CryptographicServiceMessage implements Loggeable { @Override public String toString() { StringBuilder csm = new StringBuilder(); csm.append("CSM(MCL/"); csm.append(getMCL()); csm.append(" "); for (String tag : orderedTags) { csm.append(tag); csm.append("/"); csm.append(getFieldContent(tag)); csm.append(" "); } csm.append(")"); return csm.toString(); } CryptographicServiceMessage();  CryptographicServiceMessage(String mcl); void setMCL(String mcl); String getMCL(); void addField(String tag, String content); String getFieldContent(String tag); @Override String toString(); @Override void dump(PrintStream p, String indent); static CryptographicServiceMessage parse(String csmString); }
CryptographicServiceMessage implements Loggeable { @Override public String toString() { StringBuilder csm = new StringBuilder(); csm.append("CSM(MCL/"); csm.append(getMCL()); csm.append(" "); for (String tag : orderedTags) { csm.append(tag); csm.append("/"); csm.append(getFieldContent(tag)); csm.append(" "); } csm.append(")"); return csm.toString(); } CryptographicServiceMessage();  CryptographicServiceMessage(String mcl); void setMCL(String mcl); String getMCL(); void addField(String tag, String content); String getFieldContent(String tag); @Override String toString(); @Override void dump(PrintStream p, String indent); static CryptographicServiceMessage parse(String csmString); static final String MCL_RSI; static final String MCL_KSM; static final String MCL_RSM; static final String MCL_ESM; static final String TAG_RCV; static final String TAG_ORG; static final String TAG_SVR; static final String TAG_KD; static final String TAG_CTP; static final String TAG_CTR; static final String TAG_ERF; }