org.sfm.reflect.meta.IndexedColumn Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simpleFlatMapper Show documentation
Show all versions of simpleFlatMapper Show documentation
Java library to map flat record - ResultSet, csv - to java object with minimum configuration and low footprint.
package org.sfm.reflect.meta;
public class IndexedColumn {
private final int indexValue;
private final PropertyNameMatcher subPropertyNameMatcher;
public IndexedColumn(int indexValue, PropertyNameMatcher subPropertyNameMatcher) {
this.indexValue = indexValue;
this.subPropertyNameMatcher = subPropertyNameMatcher;
}
public int getIndexValue() {
return indexValue;
}
public PropertyNameMatcher getSubPropertyNameMatcher() {
return subPropertyNameMatcher;
}
public boolean hasSubProperty() {
return subPropertyNameMatcher != null;
}
}