Back to project page dbpersian.
The source code is released under:
MIT License
If you think the Android project dbpersian listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.dbpersian.processor; //from ww w .j a va 2 s. c om import javax.lang.model.element.TypeElement; import javax.lang.model.element.VariableElement; public class DbForeignKeyReaderDescr { private TypeElement mDbTableElement; private VariableElement mVarElement; private DbColumnDescr mRefDbColumnDescr; public DbForeignKeyReaderDescr(TypeElement dbTableElement, VariableElement varElement, DbColumnDescr refDbColumnDescr) { mDbTableElement = dbTableElement; mVarElement = varElement; mRefDbColumnDescr = refDbColumnDescr; } public DbColumnDescr getRefDbColumnDescr() { return mRefDbColumnDescr; } @SuppressWarnings("unused") public String getCapitalizedRefColumnName() { return Utilities.capitalize(mRefDbColumnDescr.getDbColumn().fkColumn()); } @SuppressWarnings("unused") public String getJavaFieldName() { return mVarElement.getSimpleName().toString(); } @SuppressWarnings("unused") public String getCapitalizedJavaFieldName() { return Utilities.capitalize(mVarElement.getSimpleName().toString()); } @SuppressWarnings("unused") public String getJavaFieldType() { return mVarElement.asType().toString(); } }