org.molgenis.omx.xgap.SNP_PolymorphismMetaData Maven / Gradle / Ivy
/* File: /tmp/molgenis/target/checkout/molgenis-omx-das/target/generated-sources/molgenis/java/org/molgenis/omx/xgap/SNP_PolymorphismMetaData.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 SNP_PolymorphismMetaData extends DefaultEntityMetaData
{
public SNP_PolymorphismMetaData()
{
super("SNP_Polymorphism", SNP_Polymorphism.class);
setLabel("SNP_Polymorphism");
setDescription("Link table for many-to-many relationship 'SNP.Polymorphism'.");
DefaultAttributeMetaData autoid = new DefaultAttributeMetaData("autoid", INT);
autoid.setLabel("autoid");
autoid.setDescription("automatic id field to ensure ordering of mrefs");
autoid.setIdAttribute(true);
autoid.setNillable(false);
autoid.setReadOnly(false);
autoid.setUnique(false);
autoid.setAuto(true);
autoid.setVisible(false);
autoid.setAggregateable(false);
addAttributeMetaData(autoid);
DefaultAttributeMetaData polymorphism = new DefaultAttributeMetaData("Polymorphism", XREF);
polymorphism.setLabel("Polymorphism");
polymorphism.setDescription("");
polymorphism.setIdAttribute(false);
polymorphism.setNillable(false);
polymorphism.setReadOnly(false);
polymorphism.setUnique(false);
polymorphism.setAuto(false);
polymorphism.setRefEntity(new org.molgenis.omx.xgap.PolymorphismMetaData());
polymorphism.setLabelAttribute(true);
polymorphism.setAggregateable(false);
addAttributeMetaData(polymorphism);
DefaultAttributeMetaData sNP = new DefaultAttributeMetaData("SNP", XREF);
sNP.setLabel("SNP");
sNP.setDescription("");
sNP.setIdAttribute(false);
sNP.setNillable(false);
sNP.setReadOnly(false);
sNP.setUnique(false);
sNP.setAuto(false);
sNP.setRefEntity(new org.molgenis.omx.xgap.SNPMetaData());
sNP.setLabelAttribute(true);
sNP.setAggregateable(false);
addAttributeMetaData(sNP);
}
}