return new PersistenceQueryFindUsingApplibQueryDefaultData(findByQuery.getSpecification(), findByQuery.getQueryName(), encode(findByQuery.getArgumentsAdaptersByParameterName()), findByQuery.getCardinality());
}
@Override
protected PersistenceQuery doDecode(final ObjectSpecification specification, final PersistenceQueryData persistenceQueryData) {
final PersistenceQueryFindUsingApplibQueryDefaultData findByQueryData = downcast(persistenceQueryData);
return new PersistenceQueryFindUsingApplibQueryDefault(specification, findByQueryData.getQueryName(), decode(findByQueryData.getArgumentDatasByParameterName()), (findByQueryData.getCardinality()));
}