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

com.zhuang.data.orm.mapping.ColumnMapping Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
package com.zhuang.data.orm.mapping;

public class ColumnMapping {

    private String columnName;
    private String propertyName;
    private Class propertyType;
    private boolean isId;
    private boolean isGeneratedValue;

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public Class getPropertyType() {
        return propertyType;
    }

    public void setPropertyType(Class propertyType) {
        this.propertyType = propertyType;
    }

    public boolean getIsId() {
        return isId;
    }

    public void setIsId(boolean isId) {
        this.isId = isId;
    }

    public boolean getIsGeneratedValue() {
        return isGeneratedValue;
    }

    public void setIsGeneratedValue(boolean isAutoGenerate) {
        this.isGeneratedValue = isAutoGenerate;
    }

    @Override
    public String toString() {
        return "ColumnMapping{" +
                "columnName='" + columnName + '\'' +
                ", isId=" + isId +
                ", propertyName='" + propertyName + '\'' +
                ", propertyType=" + propertyType +
                ", isGeneratedValue=" + isGeneratedValue +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy