001/*
002 * Copyright (c) 2006-2011 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     Florent Guillaume
011 */
012package org.nuxeo.ecm.core.storage.sql.jdbc;
013
014import org.nuxeo.common.xmap.annotation.XNode;
015import org.nuxeo.common.xmap.annotation.XObject;
016
017/**
018 * Descriptor for the registration of a QueryMaker.
019 */
020@XObject(value = "queryMaker")
021public class QueryMakerDescriptor {
022
023    @XNode("@name")
024    public String name = "";
025
026    @XNode("@enabled")
027    public boolean enabled = true;
028
029    @XNode(value = "", trim = true)
030    public Class<? extends QueryMaker> queryMaker;
031
032}