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

templates.pojo.pojo_class.ftl Maven / Gradle / Ivy

The newest version!
// This class is autogenerated.
package ${dataElement.namespace};

/**
 * ${dataElement.documentation}.
 * @version ${dataElement.version}.
 * @author ${dataElement.author}.
 */

 import lombok.*;
 import java.util.*;

 @Data
 @EqualsAndHashCode(${dataElement.identifiers})
 @ToString(${dataElement.identifiers})
 <#if dataElement.extends>
 public class ${dataElement.name} extends ${dataElement.baseType} {
 <#else>
 public class ${dataElement.name} {
 

 <#list dataElement.fields as field>
    <#if field.array>

        /**
         * ${field.documentation}.
         */
        private List<${field.javaType}> ${field.name} = new ArrayList<>();

    <#else>
      /**
        * ${field.documentation}.
        */
        private ${field.javaType} ${field.name};
    

 
 }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy