All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nosql.metamodel.mapping-metamodel-processor.1.1.4.source-code.metamodel.mustache Maven / Gradle / Ivy

The newest version!
/*
*  Copyright (c) 2023 Otávio Santana and others
*   All rights reserved. This program and the accompanying materials
*   are made available under the terms of the Eclipse Public License v1.0
*   and Apache License v2.0 which accompanies this distribution.
*   The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
*   and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php.
*
*   You may elect to redistribute this code under either of these licenses.
*
*   Contributors:
*
*   Otavio Santana
*/
package {{packageName}};

import jakarta.data.metamodel.StaticMetamodel;
import javax.annotation.processing.Generated;
import org.eclipse.jnosql.mapping.semistructured.metamodel.attributes.NoSQLAttribute;
{{#containsStringAttribute}}
import org.eclipse.jnosql.mapping.semistructured.metamodel.attributes.StringAttribute;
{{/containsStringAttribute}}
{{#containsBooleanAttribute}}
import org.eclipse.jnosql.mapping.semistructured.metamodel.attributes.BooleanAttribute;
{{/containsBooleanAttribute}}
{{#containsCriteriaAttribute}}
import org.eclipse.jnosql.mapping.semistructured.metamodel.attributes.CriteriaAttribute;
{{/containsCriteriaAttribute}}
//CHECKSTYLE:OFF
@StaticMetamodel({{entity}}.class)
@Generated(value = "The StaticMetamodel of the class {{entity}} provider by Eclipse JNoSQL", date = "{{now}}")
public interface {{className}} {

        {{#fields}}
        String {{constantName}} = "{{name}}";
        {{/fields}}
   
        {{#fields}}
        {{className}}<{{entity}}> {{fieldName}} = new NoSQLAttribute<>({{constantName}});
        {{/fields}}

}
//CHECKSTYLE:ON




© 2015 - 2025 Weber Informatics LLC | Privacy Policy