Skip to content

Commit

Permalink
temporarily remove the geological fields as they need terms to map to...
Browse files Browse the repository at this point in the history
  • Loading branch information
djtfmartin committed Sep 26, 2024
1 parent 12b1654 commit 03bb56a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ public class OccurrenceSearchParameter implements SearchParameter, Serializable
*/
public final static OccurrenceSearchParameter LAST_INTERPRETED = new OccurrenceSearchParameter("LAST_INTERPRETED", Date.class);


/**
* Modified date in ISO 8601 formats:yyyy, yyyy-MM, yyyy-MM-dd and MM-dd.
* This parameter accepts comma separated range values, examples of valid ranges are:
Expand Down Expand Up @@ -803,20 +804,20 @@ public class OccurrenceSearchParameter implements SearchParameter, Serializable
*/
public final static OccurrenceSearchParameter GBIF_ID = new OccurrenceSearchParameter("GBIF_ID", String.class);

/**
* Geological time of an occurrence that searchs in the chronostratigraphy fields.
*/
public final static OccurrenceSearchParameter GEOLOGICAL_TIME = new OccurrenceSearchParameter("GEOLOGICAL_TIME", String.class);

/**
* Searchs in the lithostratigraphy fields(bed, formation, group, member).
*/
public final static OccurrenceSearchParameter LITHOSTRATIGRAPHY = new OccurrenceSearchParameter("LITHOSTRATIGRAPHY", String.class);

/**
* Searchs in the biostratigraphy fields(lowest and highest biostratigraphy).
*/
public final static OccurrenceSearchParameter BIOSTRATIGRAPHY = new OccurrenceSearchParameter("BIOSTRATIGRAPHY", String.class);
// /**
// * Geological time of an occurrence that searchs in the chronostratigraphy fields.
// */
// public final static OccurrenceSearchParameter GEOLOGICAL_TIME = new OccurrenceSearchParameter("GEOLOGICAL_TIME", String.class);
//
// /**
// * Searchs in the lithostratigraphy fields(bed, formation, group, member).
// */
// public final static OccurrenceSearchParameter LITHOSTRATIGRAPHY = new OccurrenceSearchParameter("LITHOSTRATIGRAPHY", String.class);
//
// /**
// * Searchs in the biostratigraphy fields(lowest and highest biostratigraphy).
// */
// public final static OccurrenceSearchParameter BIOSTRATIGRAPHY = new OccurrenceSearchParameter("BIOSTRATIGRAPHY", String.class);

public static OccurrenceSearchParameter[] values(){

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,17 +257,17 @@ public void addGadmLevel3GidFilter(String gadm3) {
addParameter(OccurrenceSearchParameter.GADM_LEVEL_3_GID, gadm3);
}

public void addGeologicalTimeFilter(String geologicalTimeConcept) {
addParameter(OccurrenceSearchParameter.GEOLOGICAL_TIME, geologicalTimeConcept);
}

public void addLithostratigraphyFilter(String lithostratigraphy) {
addParameter(OccurrenceSearchParameter.LITHOSTRATIGRAPHY, lithostratigraphy);
}

public void addBiostratigraphyFilter(String biostratigraphy) {
addParameter(OccurrenceSearchParameter.BIOSTRATIGRAPHY, biostratigraphy);
}
// public void addGeologicalTimeFilter(String geologicalTimeConcept) {
// addParameter(OccurrenceSearchParameter.GEOLOGICAL_TIME, geologicalTimeConcept);
// }
//
// public void addLithostratigraphyFilter(String lithostratigraphy) {
// addParameter(OccurrenceSearchParameter.LITHOSTRATIGRAPHY, lithostratigraphy);
// }
//
// public void addBiostratigraphyFilter(String biostratigraphy) {
// addParameter(OccurrenceSearchParameter.BIOSTRATIGRAPHY, biostratigraphy);
// }

@Experimental
public void addInstitutionKeyFilter(String institutionKey) {
Expand Down

0 comments on commit 03bb56a

Please sign in to comment.