@Test public void convertNullToString() { assertNull(this.converter.convertToString(null)); }
@Override protected String convertToString(EntityReference entityReference) { if (entityReference == null) { return null; } return underscoreToCamelCase(entityReference.getType().name().toLowerCase()) + ':' + this.defaultEntityReferenceSerializer.serialize(entityReference); }
EntityTreeNodeIdConverter extends AbstractConverter<EntityReference> { @Override protected String convertToString(EntityReference entityReference) { if (entityReference == null) { return null; } return underscoreToCamelCase(entityReference.getType().name().toLowerCase()) + ':' + this.defaultEntityReferenceSerializer.serialize(entityReference); } }
EntityTreeNodeIdConverter extends AbstractConverter<EntityReference> { @Override protected String convertToString(EntityReference entityReference) { if (entityReference == null) { return null; } return underscoreToCamelCase(entityReference.getType().name().toLowerCase()) + ':' + this.defaultEntityReferenceSerializer.serialize(entityReference); }  }
EntityTreeNodeIdConverter extends AbstractConverter<EntityReference> { @Override protected String convertToString(EntityReference entityReference) { if (entityReference == null) { return null; } return underscoreToCamelCase(entityReference.getType().name().toLowerCase()) + ':' + this.defaultEntityReferenceSerializer.serialize(entityReference); }   }
EntityTreeNodeIdConverter extends AbstractConverter<EntityReference> { @Override protected String convertToString(EntityReference entityReference) { if (entityReference == null) { return null; } return underscoreToCamelCase(entityReference.getType().name().toLowerCase()) + ':' + this.defaultEntityReferenceSerializer.serialize(entityReference); }    }