List of usage examples for org.springframework.data.domain Persistable getClass
@HotSpotIntrinsicCandidate public final native Class<?> getClass();
From source file:org.obiba.mica.file.FileUtils.java
public static String getEntityPath(Persistable persistable) { return String.format("/%s/%s", CaseFormat.UPPER_CAMEL.to(CaseFormat.LOWER_HYPHEN, persistable.getClass().getSimpleName()), persistable.getId());/*from w w w .j av a 2 s. c om*/ }