com.github.rkmk.mapper.AnnotatedFields Maven / Gradle / Ivy
package com.github.rkmk.mapper;
import java.util.ArrayList;
import java.util.List;
public class AnnotatedFields {
private List values = new ArrayList<>();
private List primaryKeys = new ArrayList<>();
public List values() {
return values;
}
public List getPrimaryKeys() {
return primaryKeys;
}
public void add(AnnotatedField annotatedField) {
if(annotatedField == null) return;
if(annotatedField.isPrimaryKey()) {
primaryKeys.add(annotatedField);
}else {
values.add(annotatedField);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy