All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.molgenis.omx.xgap.VariantMetaData Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
/* File:        /tmp/molgenis/target/checkout/molgenis-omx-das/target/generated-sources/molgenis/java/org/molgenis/omx/xgap/VariantMetaData.java
 * Generator:   org.molgenis.generators.EntityMetaDataGen 4.0.0-testing
 *
 * THIS FILE HAS BEEN GENERATED, PLEASE DO NOT EDIT!
 */
package org.molgenis.omx.xgap;

import static org.molgenis.MolgenisFieldTypes.FieldTypeEnum.*;
import org.molgenis.data.support.DefaultEntityMetaData;
import org.molgenis.data.support.DefaultAttributeMetaData;

public class VariantMetaData extends DefaultEntityMetaData
{
	public VariantMetaData()
	{
		super("Variant", Variant.class);
		setLabel("Variant");
		setDescription("A SNP is a special kind of Marker, but can also be seen as a phenotype to map against in some cases. A single-nucleotide polymorphism is a DNA sequence variation occurring when a single nucleotide in the genome (or other shared sequence) differs between members of a biological species or paired chromosomes in an individual.");
		
		DefaultAttributeMetaData id = new DefaultAttributeMetaData("id", INT);
		id.setLabel("id");
		id.setDescription("automatically generated internal id, only for internal use.");
		id.setIdAttribute(true);
		id.setNillable(false);
		id.setReadOnly(true);
		id.setUnique(false);
		id.setAuto(true);
		id.setVisible(false);
		id.setAggregateable(false);
		addAttributeMetaData(id);	
		DefaultAttributeMetaData identifier = new DefaultAttributeMetaData("Identifier", STRING);
		identifier.setLabel("Identifier");
		identifier.setDescription("user supplied or automatically assigned (using a decorator) unique and short identifier, e.g. MA1234");
		identifier.setIdAttribute(false);
		identifier.setNillable(false);
		identifier.setReadOnly(false);
		identifier.setUnique(true);
		identifier.setAuto(false);
		identifier.setLabelAttribute(true);
		identifier.setLookupAttribute(true);
		identifier.setAggregateable(false);
		addAttributeMetaData(identifier);	
		DefaultAttributeMetaData name = new DefaultAttributeMetaData("Name", STRING);
		name.setLabel("Name");
		name.setDescription("human readible name, not necessary unique.");
		name.setIdAttribute(false);
		name.setNillable(false);
		name.setReadOnly(false);
		name.setUnique(false);
		name.setAuto(false);
		name.setLookupAttribute(true);
		name.setAggregateable(false);
		addAttributeMetaData(name);	
		DefaultAttributeMetaData __Type = new DefaultAttributeMetaData("__Type", ENUM);
		__Type.setLabel("__Type");
		__Type.setDescription("Subtypes have to be set to allow searching");
		__Type.setIdAttribute(false);
		__Type.setNillable(false);
		__Type.setReadOnly(true);
		__Type.setUnique(false);
		__Type.setAuto(true);
		__Type.setVisible(false);
		__Type.setAggregateable(false);
		addAttributeMetaData(__Type);	
		DefaultAttributeMetaData description = new DefaultAttributeMetaData("description", TEXT);
		description.setLabel("description");
		description.setDescription("(Optional) Rudimentary meta data about the observable feature. Use of ontology       terms references to establish unambigious descriptions is recommended");
		description.setIdAttribute(false);
		description.setNillable(true);
		description.setReadOnly(false);
		description.setUnique(false);
		description.setAuto(false);
		description.setLookupAttribute(true);
		description.setAggregateable(false);
		addAttributeMetaData(description);	
		DefaultAttributeMetaData chromosome = new DefaultAttributeMetaData("Chromosome", XREF);
		chromosome.setLabel("Chromosome");
		chromosome.setDescription("Reference to the chromosome this     position belongs to.");
		chromosome.setIdAttribute(false);
		chromosome.setNillable(true);
		chromosome.setReadOnly(false);
		chromosome.setUnique(false);
		chromosome.setAuto(false);
		chromosome.setRefEntity(new org.molgenis.omx.xgap.ChromosomeMetaData());
		chromosome.setAggregateable(false);
		addAttributeMetaData(chromosome);	
		DefaultAttributeMetaData cM = new DefaultAttributeMetaData("cM", DECIMAL);
		cM.setLabel("cMPosition");
		cM.setDescription("genetic map position in centi morgan (cM).");
		cM.setIdAttribute(false);
		cM.setNillable(true);
		cM.setReadOnly(false);
		cM.setUnique(false);
		cM.setAuto(false);
		cM.setAggregateable(false);
		addAttributeMetaData(cM);	
		DefaultAttributeMetaData bpStart = new DefaultAttributeMetaData("bpStart", LONG);
		bpStart.setLabel("Start (5')");
		bpStart.setDescription("numeric basepair postion (5') on the chromosome");
		bpStart.setIdAttribute(false);
		bpStart.setNillable(true);
		bpStart.setReadOnly(false);
		bpStart.setUnique(false);
		bpStart.setAuto(false);
		bpStart.setAggregateable(false);
		addAttributeMetaData(bpStart);	
		DefaultAttributeMetaData bpEnd = new DefaultAttributeMetaData("bpEnd", LONG);
		bpEnd.setLabel("End");
		bpEnd.setDescription("numeric basepair postion (3') on the chromosome");
		bpEnd.setIdAttribute(false);
		bpEnd.setNillable(true);
		bpEnd.setReadOnly(false);
		bpEnd.setUnique(false);
		bpEnd.setAuto(false);
		bpEnd.setAggregateable(false);
		addAttributeMetaData(bpEnd);	
		DefaultAttributeMetaData seq = new DefaultAttributeMetaData("Seq", TEXT);
		seq.setLabel("Seq");
		seq.setDescription("The FASTA text representation of the sequence.");
		seq.setIdAttribute(false);
		seq.setNillable(true);
		seq.setReadOnly(false);
		seq.setUnique(false);
		seq.setAuto(false);
		seq.setAggregateable(false);
		addAttributeMetaData(seq);	
		DefaultAttributeMetaData symbol = new DefaultAttributeMetaData("Symbol", STRING);
		symbol.setLabel("Symbol");
		symbol.setDescription("todo");
		symbol.setIdAttribute(false);
		symbol.setNillable(true);
		symbol.setReadOnly(false);
		symbol.setUnique(false);
		symbol.setAuto(false);
		symbol.setAggregateable(false);
		addAttributeMetaData(symbol);	
		DefaultAttributeMetaData mutationPosition = new DefaultAttributeMetaData("MutationPosition", INT);
		mutationPosition.setLabel("MutationPosition");
		mutationPosition.setDescription("");
		mutationPosition.setIdAttribute(false);
		mutationPosition.setNillable(true);
		mutationPosition.setReadOnly(false);
		mutationPosition.setUnique(false);
		mutationPosition.setAuto(false);
		mutationPosition.setAggregateable(false);
		addAttributeMetaData(mutationPosition);	
		DefaultAttributeMetaData cdnaPosition = new DefaultAttributeMetaData("CdnaPosition", INT);
		cdnaPosition.setLabel("CdnaPosition");
		cdnaPosition.setDescription("");
		cdnaPosition.setIdAttribute(false);
		cdnaPosition.setNillable(true);
		cdnaPosition.setReadOnly(false);
		cdnaPosition.setUnique(false);
		cdnaPosition.setAuto(false);
		cdnaPosition.setAggregateable(false);
		addAttributeMetaData(cdnaPosition);	
		DefaultAttributeMetaData aaPosition = new DefaultAttributeMetaData("AaPosition", INT);
		aaPosition.setLabel("AaPosition");
		aaPosition.setDescription("");
		aaPosition.setIdAttribute(false);
		aaPosition.setNillable(true);
		aaPosition.setReadOnly(false);
		aaPosition.setUnique(false);
		aaPosition.setAuto(false);
		aaPosition.setAggregateable(false);
		addAttributeMetaData(aaPosition);	
		DefaultAttributeMetaData variantLength = new DefaultAttributeMetaData("VariantLength", INT);
		variantLength.setLabel("VariantLength");
		variantLength.setDescription("");
		variantLength.setIdAttribute(false);
		variantLength.setNillable(true);
		variantLength.setReadOnly(false);
		variantLength.setUnique(false);
		variantLength.setAuto(false);
		variantLength.setAggregateable(false);
		addAttributeMetaData(variantLength);	
		DefaultAttributeMetaData event = new DefaultAttributeMetaData("Event", STRING);
		event.setLabel("Event");
		event.setDescription("");
		event.setIdAttribute(false);
		event.setNillable(true);
		event.setReadOnly(false);
		event.setUnique(false);
		event.setAuto(false);
		event.setAggregateable(false);
		addAttributeMetaData(event);	
		DefaultAttributeMetaData ntChange = new DefaultAttributeMetaData("NtChange", STRING);
		ntChange.setLabel("NtChange");
		ntChange.setDescription("");
		ntChange.setIdAttribute(false);
		ntChange.setNillable(true);
		ntChange.setReadOnly(false);
		ntChange.setUnique(false);
		ntChange.setAuto(false);
		ntChange.setAggregateable(false);
		addAttributeMetaData(ntChange);	
		DefaultAttributeMetaData codonchange = new DefaultAttributeMetaData("Codonchange", STRING);
		codonchange.setLabel("Codonchange");
		codonchange.setDescription("");
		codonchange.setIdAttribute(false);
		codonchange.setNillable(true);
		codonchange.setReadOnly(false);
		codonchange.setUnique(false);
		codonchange.setAuto(false);
		codonchange.setAggregateable(false);
		addAttributeMetaData(codonchange);	
		DefaultAttributeMetaData cdnaNotation = new DefaultAttributeMetaData("CdnaNotation", STRING);
		cdnaNotation.setLabel("CdnaNotation");
		cdnaNotation.setDescription("");
		cdnaNotation.setIdAttribute(false);
		cdnaNotation.setNillable(true);
		cdnaNotation.setReadOnly(false);
		cdnaNotation.setUnique(false);
		cdnaNotation.setAuto(false);
		cdnaNotation.setAggregateable(false);
		addAttributeMetaData(cdnaNotation);	
		DefaultAttributeMetaData gdnaNotation = new DefaultAttributeMetaData("GdnaNotation", STRING);
		gdnaNotation.setLabel("GdnaNotation");
		gdnaNotation.setDescription("");
		gdnaNotation.setIdAttribute(false);
		gdnaNotation.setNillable(true);
		gdnaNotation.setReadOnly(false);
		gdnaNotation.setUnique(false);
		gdnaNotation.setAuto(false);
		gdnaNotation.setAggregateable(false);
		addAttributeMetaData(gdnaNotation);	
		DefaultAttributeMetaData aaNotation = new DefaultAttributeMetaData("AaNotation", STRING);
		aaNotation.setLabel("AaNotation");
		aaNotation.setDescription("");
		aaNotation.setIdAttribute(false);
		aaNotation.setNillable(true);
		aaNotation.setReadOnly(false);
		aaNotation.setUnique(false);
		aaNotation.setAuto(false);
		aaNotation.setAggregateable(false);
		addAttributeMetaData(aaNotation);	
		DefaultAttributeMetaData exon = new DefaultAttributeMetaData("Exon", STRING);
		exon.setLabel("Exon");
		exon.setDescription("");
		exon.setIdAttribute(false);
		exon.setNillable(true);
		exon.setReadOnly(false);
		exon.setUnique(false);
		exon.setAuto(false);
		exon.setAggregateable(false);
		addAttributeMetaData(exon);	
		DefaultAttributeMetaData consequence = new DefaultAttributeMetaData("Consequence", STRING);
		consequence.setLabel("Consequence");
		consequence.setDescription("");
		consequence.setIdAttribute(false);
		consequence.setNillable(true);
		consequence.setReadOnly(false);
		consequence.setUnique(false);
		consequence.setAuto(false);
		consequence.setAggregateable(false);
		addAttributeMetaData(consequence);	
		DefaultAttributeMetaData inheritance = new DefaultAttributeMetaData("Inheritance", STRING);
		inheritance.setLabel("Inheritance");
		inheritance.setDescription("");
		inheritance.setIdAttribute(false);
		inheritance.setNillable(true);
		inheritance.setReadOnly(false);
		inheritance.setUnique(false);
		inheritance.setAuto(false);
		inheritance.setAggregateable(false);
		addAttributeMetaData(inheritance);	
		DefaultAttributeMetaData reportedSNP = new DefaultAttributeMetaData("ReportedSNP", BOOL);
		reportedSNP.setLabel("ReportedSNP");
		reportedSNP.setDescription("");
		reportedSNP.setIdAttribute(false);
		reportedSNP.setNillable(true);
		reportedSNP.setReadOnly(false);
		reportedSNP.setUnique(false);
		reportedSNP.setAuto(false);
		reportedSNP.setAggregateable(true);
		addAttributeMetaData(reportedSNP);	
		DefaultAttributeMetaData effectOnSplicing = new DefaultAttributeMetaData("EffectOnSplicing", BOOL);
		effectOnSplicing.setLabel("EffectOnSplicing");
		effectOnSplicing.setDescription("");
		effectOnSplicing.setIdAttribute(false);
		effectOnSplicing.setNillable(true);
		effectOnSplicing.setReadOnly(false);
		effectOnSplicing.setUnique(false);
		effectOnSplicing.setAuto(false);
		effectOnSplicing.setAggregateable(true);
		addAttributeMetaData(effectOnSplicing);	
		DefaultAttributeMetaData pathogenicity = new DefaultAttributeMetaData("Pathogenicity", STRING);
		pathogenicity.setLabel("Pathogenicity");
		pathogenicity.setDescription("");
		pathogenicity.setIdAttribute(false);
		pathogenicity.setNillable(true);
		pathogenicity.setReadOnly(false);
		pathogenicity.setUnique(false);
		pathogenicity.setAuto(false);
		pathogenicity.setAggregateable(false);
		addAttributeMetaData(pathogenicity);	
		DefaultAttributeMetaData gene = new DefaultAttributeMetaData("Gene", STRING);
		gene.setLabel("Gene");
		gene.setDescription("");
		gene.setIdAttribute(false);
		gene.setNillable(true);
		gene.setReadOnly(false);
		gene.setUnique(false);
		gene.setAuto(false);
		gene.setAggregateable(false);
		addAttributeMetaData(gene);	
		DefaultAttributeMetaData idMutation = new DefaultAttributeMetaData("IdMutation", INT);
		idMutation.setLabel("IdMutation");
		idMutation.setDescription("");
		idMutation.setIdAttribute(false);
		idMutation.setNillable(true);
		idMutation.setReadOnly(false);
		idMutation.setUnique(false);
		idMutation.setAuto(false);
		idMutation.setAggregateable(false);
		addAttributeMetaData(idMutation);	
		DefaultAttributeMetaData detailsForMutation = new DefaultAttributeMetaData("DetailsForMutation", HYPERLINK);
		detailsForMutation.setLabel("DetailsForMutation");
		detailsForMutation.setDescription("");
		detailsForMutation.setIdAttribute(false);
		detailsForMutation.setNillable(true);
		detailsForMutation.setReadOnly(false);
		detailsForMutation.setUnique(false);
		detailsForMutation.setAuto(false);
		detailsForMutation.setAggregateable(false);
		addAttributeMetaData(detailsForMutation);	
		DefaultAttributeMetaData track = new DefaultAttributeMetaData("Track", XREF);
		track.setLabel("Track");
		track.setDescription("");
		track.setIdAttribute(false);
		track.setNillable(false);
		track.setReadOnly(false);
		track.setUnique(false);
		track.setAuto(false);
		track.setRefEntity(new org.molgenis.omx.xgap.TrackMetaData());
		track.setAggregateable(true);
		addAttributeMetaData(track);	
		
	}
	
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy