return new BogotaChecklistImportConfigurator(source, destination);
}
- /**
- * @param uri
- * @param destination
- */
private BogotaChecklistImportConfigurator(URI uri, ICdmDataSource destination) {
super(uri, destination);
}
- /**
- * {@inheritDoc}
- */
@Override
public ImportStateBase getNewState() {
return new SimpleExcelTaxonImportState<>(this);
}
- /**
- * {@inheritDoc}
- */
+ @SuppressWarnings("unchecked")
@Override
protected void makeIoClassList() {
ioClassList = new Class[]{
};
}
- /**
- * @return the secReference
- */
public Reference getSecReference() {
return secReference;
}
-
-
- /**
- * @param secReference
- */
public void setSecReference(Reference secReference) {
this.secReference = secReference;
}
//***************************** METHODS *********************************/
-
- /**
- * @param state
- * @return
- */
protected IdentifiableSource makeOriginalSource(SimpleExcelTaxonImportState<CONFIG> state) {
return IdentifiableSource.NewDataImportInstance("line: " + state.getCurrentLine(), null, state.getConfig().getSourceReference());
}
higherNode.addChildTaxon(taxon, null, null);
}
- /**
- * @param line
- * @param keys
- * @param expectedKeys
- */
protected void checkAllKeysExist(String line, Set<String> keys, List<String> expectedKeys) {
for (String key: keys) {
if (! expectedKeys.contains(key)){
}
}
-
- /**
- * @param state
- * @param name
- */
protected void replaceAuthorNamesAndNomRef(SimpleExcelTaxonImportState<CONFIG> state,
IBotanicalName name) {
TeamOrPersonBase<?> combAuthor = name.getCombinationAuthorship();
}
}
- /**
- * @param state
- * @param nomRef
- */
private Reference getExistingReference(SimpleExcelTaxonImportState<CONFIG> state, Reference ref) {
if (ref == null){
return null;
boolean referenceMapIsInitialized;
- /**
- * @param state
- */
private void initRerenceMap(SimpleExcelTaxonImportState<CONFIG> state) {
if (!referenceMapIsInitialized){
List<String> propertyPaths = Arrays.asList("");
boolean agentMapIsInitialized = false;
- /**
- * @param state
- *
- */
@SuppressWarnings("rawtypes")
private void initAgentMap(SimpleExcelTaxonImportState<CONFIG> state) {
if (!agentMapIsInitialized){
}
}
- /**
- * @param state
- * @param combAuthor
- * @return
- */
protected TeamOrPersonBase<?> getExistingAuthor(SimpleExcelTaxonImportState<CONFIG> state,
TeamOrPersonBase<?> author) {
if (author == null){
}
}
-
- /**
- * @param state
- * @param author
- */
private void handleTeam(SimpleExcelTaxonImportState<CONFIG> state, Team team) {
List<Person> members = team.getTeamMembers();
for (int i =0; i< members.size(); i++){
state.putAgentBase(person.getTitleCache(), person);
}
}
-
}
-
-
}