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

org.molgenis.omx.xgap.SpotMetaData 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/SpotMetaData.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 SpotMetaData extends DefaultEntityMetaData
{
	public SpotMetaData()
	{
		super("Spot", Spot.class);
		setLabel("Spot");
		setDescription("\n\t\t\t\tThis is the spot on a microarray.\n\t\t\t\t
\n\t\t\t\tNote: We don't distinquish between probes (the sequence) and spots\n\t\t\t\t(the sequence as spotted on the array).\n\t\t\t"); 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 mismatch = new DefaultAttributeMetaData("Mismatch", BOOL); mismatch.setDefaultValue(false); mismatch.setLabel("Mismatch"); mismatch.setDescription("Indicating whether the probe is a match"); mismatch.setIdAttribute(false); mismatch.setNillable(false); mismatch.setReadOnly(false); mismatch.setUnique(false); mismatch.setAuto(false); mismatch.setAggregateable(true); addAttributeMetaData(mismatch); DefaultAttributeMetaData probeSet = new DefaultAttributeMetaData("ProbeSet", XREF); probeSet.setLabel("ProbeSet"); probeSet.setDescription("Optional: probeset this probe belongs to (e.g., in Affymetrix assays)."); probeSet.setIdAttribute(false); probeSet.setNillable(true); probeSet.setReadOnly(false); probeSet.setUnique(false); probeSet.setAuto(false); probeSet.setRefEntity(new org.molgenis.omx.xgap.ProbeSetMetaData()); probeSet.setAggregateable(true); addAttributeMetaData(probeSet); DefaultAttributeMetaData reportsFor = new DefaultAttributeMetaData("ReportsFor", XREF); reportsFor.setLabel("ReportsFor"); reportsFor.setDescription("The gene this probe reports for."); reportsFor.setIdAttribute(false); reportsFor.setNillable(true); reportsFor.setReadOnly(false); reportsFor.setUnique(false); reportsFor.setAuto(false); reportsFor.setRefEntity(new org.molgenis.omx.xgap.GeneMetaData()); reportsFor.setAggregateable(true); addAttributeMetaData(reportsFor); DefaultAttributeMetaData x = new DefaultAttributeMetaData("x", INT); x.setLabel("x"); x.setDescription("Row"); x.setIdAttribute(false); x.setNillable(false); x.setReadOnly(false); x.setUnique(false); x.setAuto(false); x.setAggregateable(false); addAttributeMetaData(x); DefaultAttributeMetaData y = new DefaultAttributeMetaData("y", INT); y.setLabel("y"); y.setDescription("Column"); y.setIdAttribute(false); y.setNillable(false); y.setReadOnly(false); y.setUnique(false); y.setAuto(false); y.setAggregateable(false); addAttributeMetaData(y); DefaultAttributeMetaData gridX = new DefaultAttributeMetaData("GridX", INT); gridX.setLabel("GridX"); gridX.setDescription("Meta Row"); gridX.setIdAttribute(false); gridX.setNillable(true); gridX.setReadOnly(false); gridX.setUnique(false); gridX.setAuto(false); gridX.setAggregateable(false); addAttributeMetaData(gridX); DefaultAttributeMetaData gridY = new DefaultAttributeMetaData("GridY", INT); gridY.setLabel("GridY"); gridY.setDescription("Meta Column"); gridY.setIdAttribute(false); gridY.setNillable(true); gridY.setReadOnly(false); gridY.setUnique(false); gridY.setAuto(false); gridY.setAggregateable(false); addAttributeMetaData(gridY); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy