HectorObjectMapper { public static boolean isSerializable(Class<?> clazz) { return isImplementedBy(clazz, Serializable.class); } HectorObjectMapper(ClassCacheMgr cacheMgr); T getObject(Keyspace keyspace, String colFamName, I pkObj); T saveObj(Keyspace keyspace, T obj); Collection<?> saveObjCollection(Keyspace keyspace, Collection<?> objColl); Collection<?> saveObjCollection(Keyspace keyspace, Collection<?> objColl, Mutator<byte[]> m); static Serializer<?> determineSerializer(Class<?> theType); static boolean isSerializable(Class<?> clazz); static boolean isImplementedBy(Class<?> clazz, Class<?> target); void setKeyConcatStrategy(KeyConcatenationStrategy keyConcatStrategy);  }
@Test public void testIsSerializable() { assertTrue(HectorObjectMapper.isSerializable(UUID.class)); }
@Test public void testIsNotSerializable() { assertFalse(HectorObjectMapper.isSerializable(HectorObjectMapper.class)); }