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

com.mycomm.dao.dao4comm.framework.AnnotationStructureStrategy Maven / Gradle / Ivy

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycomm.dao.dao4comm.framework;

import java.lang.reflect.Field;

/**
 *
 * @author jw362j
 */
public class AnnotationStructureStrategy {

    private String tableName;
    private String IdColumName;
    private Field idField;
    private Field simpleFields[];
    private String simpleFieldsNames[];

    private Field[] fieldOneToOne;

    private Field[] fieldOneToMany;

    public AnnotationStructureStrategy() {
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getIdColumName() {
        return IdColumName;
    }

    public void setIdColumName(String IdColumName) {
        this.IdColumName = IdColumName;
    }

    public Field[] getFieldOneToOne() {
        return fieldOneToOne;
    }

    public void setFieldOneToOne(Field[] fieldOneToOne) {
        this.fieldOneToOne = fieldOneToOne;
    }

    public Field[] getFieldOneToMany() {
        return fieldOneToMany;
    }

    public void setFieldOneToMany(Field[] fieldOneToMany) {
        this.fieldOneToMany = fieldOneToMany;
    }

    public String[] getSimpleFieldsNames() {
        return simpleFieldsNames;
    }

    public void setSimpleFieldsNames(String[] simpleFieldsNames) {
        this.simpleFieldsNames = simpleFieldsNames;
    }

    public Field[] getSimpleFields() {
        return simpleFields;
    }

    public void setSimpleFields(Field[] simpleFields) {
        this.simpleFields = simpleFields;
    }

    public Field getIdField() {
        return idField;
    }

    public void setIdField(Field idField) {
        this.idField = idField;
    }

    
    @Override
    public String toString() {
        return "AnnotationStructureStrategy{" + "tableName=" + tableName + ", IdColumName=" + IdColumName + ", simpleFieldsNames=" + simpleFieldsNames + ", fieldOneToOne=" + fieldOneToOne + ", fieldOneToMany=" + fieldOneToMany + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy