@Test public void testToString() throws Exception { assertEquals("xx#~#some text#~#", new NonI18NModel("some text").toString()); }
@Override public String toString() { if (value != null) { return I18NModel.DEFAULT + SEPARATOR + value + SEPARATOR; } return null; }
NonI18NModel implements I18NModel { @Override public String toString() { if (value != null) { return I18NModel.DEFAULT + SEPARATOR + value + SEPARATOR; } return null; } }
NonI18NModel implements I18NModel { @Override public String toString() { if (value != null) { return I18NModel.DEFAULT + SEPARATOR + value + SEPARATOR; } return null; } NonI18NModel(final String value); }
NonI18NModel implements I18NModel { @Override public String toString() { if (value != null) { return I18NModel.DEFAULT + SEPARATOR + value + SEPARATOR; } return null; } NonI18NModel(final String value); @Override String getValue(final String locale); @Override void putValue(final String locale, final String value); @Override Map<String, String> getAllValues(); @Override I18NModel copy(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString(); }
NonI18NModel implements I18NModel { @Override public String toString() { if (value != null) { return I18NModel.DEFAULT + SEPARATOR + value + SEPARATOR; } return null; } NonI18NModel(final String value); @Override String getValue(final String locale); @Override void putValue(final String locale, final String value); @Override Map<String, String> getAllValues(); @Override I18NModel copy(); @Override boolean equals(final Object o); @Override int hashCode(); @Override String toString();  }