AccessionMCPD.java

/*
 * Copyright 2021 Global Crop Diversity Trust
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.gringlobal.model.community;

import java.time.Instant;

public class AccessionMCPD {

	/** Accession ID. */
	public long id;

	/** Is visible? */
	public String isWebVisible;

	/**
	 * <code>PUID</code> Persistent unique identifier
	 */
	public String puid;
	/**
	 * <code>INSTCODE</code> Institute code
	 */
	public String instCode;
	/**
	 * <code>ACCENUMB</code> Accession number
	 */
	public String acceNumb;
	/**
	 * <code>COLLNUMB</code> Collecting number
	 */
	public String collNumb;
	/**
	 * <code>COLLCODE</code> Collecting institute code
	 */
	public String collCode;
	/**
	 * <code>COLLNAME</code> Collecting institute name
	 */
	public String collName;
	/**
	 * <code>COLLINSTADDRESS</code> Collecting institute address
	 */
	public String collInstAddress;
	/**
	 * <code>COLLMISSID</code> Collecting mission identifier
	 */
	public String collMissid;
	/**
	 * <code>GENUS</code> Genus
	 */
	public String genus;
	/**
	 * <code>SPECIES</code> Species
	 */
	public String species;
	/**
	 * <code>SPAUTHOR</code> Species authority
	 */
	public String spAuthor;
	/**
	 * <code>SUBTAXA</code> Subtaxon
	 */
	public String subtaxa;
	/**
	 * <code>SUBTAUTHOR</code> Subtaxon authority
	 */
	public String subtAuthor;
	/**
	 * <code>CROPNAME</code> Common crop name
	 */
	public String cropName;
	/**
	 * <code>ACCENAME</code> Accession name
	 */
	public String acceName;
	/**
	 * <code>ACQDATE</code> Acquisition date(YYYYMMDD)
	 */
	public String acqDate;
	/**
	 * <code>ORIGCTY</code> Country of origin
	 */
	public String origCty;
	/**
	 * <code>COLLSITE</code> Location of collecting site
	 */
	public String collSite;
	/**
	 * <code>DECLATITUDE</code> Latitude of collecting site(Decimal format)
	 */
	public Double decLatitude;
	/**
	 * <code>DECLONGITUDE</code> Longitude of collecting site (Decimal degrees
	 * format)
	 */
	public Double decLongitude;
	/**
	 * <code>COORDUNCERT</code> Coordinate uncertainty [m]
	 */
	public Integer coordUncert;
	/**
	 * <code>COORDDATUM</code> Coordinate datum
	 */
	public String coordDatum;
	/**
	 * <code>GEOREFMETH</code> Georeferencing method
	 */
	public String geoRefMeth;
	/**
	 * <code>ELEVATION</code> Elevation of collecting site [masl]
	 */
	public Integer elevation;
	/**
	 * <code>COLLDATE</code> Collecting date of sample [YYYYMMDD]
	 */
	public String collDate;
	/**
	 * <code>BREDCODE</code> Breeding institute code
	 */
	public String bredCode;
	/**
	 * <code>BREDNAME</code> Breeding institute name
	 */
	public String bredName;
	/**
	 * <code>SAMPSTAT</code> Biological status of accession
	 */
	public Integer sampStat;
	/**
	 * <code>ANCEST</code> Ancestral data
	 */
	public String ancest;
	/**
	 * <code>COLLSRC</code> Collecting/acquisition source
	 */
	public Integer collSrc;
	/**
	 * <code>DONORCODE</code> Donor institute code
	 */
	public String donorCode;
	/**
	 * <code>DONORNAME</code> Donor institute name
	 */
	public String donorName;
	/**
	 * <code>DONORNUMB</code> Donor accession number
	 */
	public String donorNumb;
	/**
	 * <code>OTHERNUMB</code> Other identifiers associated with the accession
	 */
	public String otherNumb;
	/**
	 * <code>DUPLSITE</code> Location of safety duplicates
	 */
	public String duplSite;
	/**
	 * <code>DUPLINSTNAME</code> Institute maintaining safety duplicates
	 */
	public String duplInstName;
	/**
	 * <code>STORAGE</code> Type of germplasm storage
	 */
	public String storage;
	/**
	 * <code>MLSSTAT</code> MLS status of the accession
	 */
	public Integer mlsStat;
	/**
	 * <code>REMARKS</code> Remarks
	 */
	public String remarks;
	/**
	 * <code>CURATION</code> curationType
	 */
	public String curationType;
	
	// ---- Genesys Extensions to MCPD
	
	/**
	 * <code>ACCEURL</code> Accession URL
	 */
	public String acceUrl;

	/**
	 * <code>AVAILABILITY</code> Availability of accession for distribution
	 */
	public Boolean availability;

	/**
	 * <code>HISTORICAL</code> Historic records
	 */
	public Boolean historical;

	/**
	 * <code>LASTMODIFIED</code> Last modified date
	 */
	public Instant lastModified;
}