/** * Copyright (C) 2012-2013 Selventa, Inc. * * This file is part of the OpenBEL Framework. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * The OpenBEL Framework is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public * License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with the OpenBEL Framework. If not, see <http://www.gnu.org/licenses/>. * * Additional Terms under LGPL v3: * * This license does not authorize you and you are prohibited from using the * name, trademarks, service marks, logos or similar indicia of Selventa, Inc., * or, in the discretion of other licensors or authors of the program, the * name, trademarks, service marks, logos or similar indicia of such authors or * licensors, in any marketing or advertising materials relating to your * distribution of the program or any covered product. This restriction does * not waive or limit your obligation to keep intact all copyright notices set * forth in the program as delivered to you. * * If you distribute the program in whole or in part, or any modified version * of the program, and you assume contractual liability to the recipient with * respect to the program or modified version, then you will indemnify the * authors and licensors of the program for any liabilities that these * contractual assumptions directly impose on those licensors and authors. */ package org.openbel.bel.xbel.model; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for function. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * <simpleType name="function"> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="proteinAbundance"/> * <enumeration value="proteinModification"/> * <enumeration value="substitution"/> * <enumeration value="truncation"/> * <enumeration value="rnaAbundance"/> * <enumeration value="abundance"/> * <enumeration value="microRNAAbundance"/> * <enumeration value="geneAbundance"/> * <enumeration value="biologicalProcess"/> * <enumeration value="pathology"/> * <enumeration value="complexAbundance"/> * <enumeration value="translocation"/> * <enumeration value="cellSecretion"/> * <enumeration value="cellSurfaceExpression"/> * <enumeration value="reaction"/> * <enumeration value="compositeAbundance"/> * <enumeration value="fusion"/> * <enumeration value="reactants"/> * <enumeration value="products"/> * <enumeration value="degradation"/> * <enumeration value="molecularActivity"/> * <enumeration value="catalyticActivity"/> * <enumeration value="kinaseActivity"/> * <enumeration value="phosphataseActivity"/> * <enumeration value="peptidaseActivity"/> * <enumeration value="ribosylationActivity"/> * <enumeration value="transcriptionalActivity"/> * <enumeration value="transportActivity"/> * <enumeration value="gtpBoundActivity"/> * <enumeration value="chaperoneActivity"/> * <enumeration value="list"/> * </restriction> * </simpleType> * </pre> * */ @XmlType(name = "function") @XmlEnum public enum Function { /** * * The protein abundance BEL function. * * */ @XmlEnumValue("proteinAbundance") PROTEIN_ABUNDANCE("proteinAbundance"), /** * * The protein modification BEL function for a protein abundance. * * */ @XmlEnumValue("proteinModification") PROTEIN_MODIFICATION("proteinModification"), /** * * The substitution BEL function for a protein abundance. * * */ @XmlEnumValue("substitution") SUBSTITUTION("substitution"), /** * * The truncation BEL function for a protein abundance. * * */ @XmlEnumValue("truncation") TRUNCATION("truncation"), /** * * The rna abundance BEL function. * * */ @XmlEnumValue("rnaAbundance") RNA_ABUNDANCE("rnaAbundance"), /** * * The abundance BEL function. * * */ @XmlEnumValue("abundance") ABUNDANCE("abundance"), /** * * The micro rna abundance BEL function. * * */ @XmlEnumValue("microRNAAbundance") MICRO_RNA_ABUNDANCE("microRNAAbundance"), /** * * The gene abundance BEL function. * * */ @XmlEnumValue("geneAbundance") GENE_ABUNDANCE("geneAbundance"), /** * * The biological process BEL function. * * */ @XmlEnumValue("biologicalProcess") BIOLOGICAL_PROCESS("biologicalProcess"), /** * * The pathology BEL function. * * */ @XmlEnumValue("pathology") PATHOLOGY("pathology"), /** * * The complex abundance BEL function. * * */ @XmlEnumValue("complexAbundance") COMPLEX_ABUNDANCE("complexAbundance"), /** * * The translocation BEL function. * * */ @XmlEnumValue("translocation") TRANSLOCATION("translocation"), /** * * The cell secretion BEL function. * * */ @XmlEnumValue("cellSecretion") CELL_SECRETION("cellSecretion"), /** * * The cell surface expression BEL function. * * */ @XmlEnumValue("cellSurfaceExpression") CELL_SURFACE_EXPRESSION("cellSurfaceExpression"), /** * * The reaction BEL function. * * */ @XmlEnumValue("reaction") REACTION("reaction"), /** * * The composite abundance BEL function. * * */ @XmlEnumValue("compositeAbundance") COMPOSITE_ABUNDANCE("compositeAbundance"), /** * * The fusion BEL function. * * */ @XmlEnumValue("fusion") FUSION("fusion"), /** * * The reactants BEL function. * * */ @XmlEnumValue("reactants") REACTANTS("reactants"), /** * * The products BEL function. * * */ @XmlEnumValue("products") PRODUCTS("products"), /** * * The degradation BEL function. * * */ @XmlEnumValue("degradation") DEGRADATION("degradation"), /** * * The molecular activity BEL function. * * */ @XmlEnumValue("molecularActivity") MOLECULAR_ACTIVITY("molecularActivity"), /** * * The catalytic activity BEL function. * * */ @XmlEnumValue("catalyticActivity") CATALYTIC_ACTIVITY("catalyticActivity"), /** * * The kinase activity BEL function. * * */ @XmlEnumValue("kinaseActivity") KINASE_ACTIVITY("kinaseActivity"), /** * * The phosphatase activity BEL function. * * */ @XmlEnumValue("phosphataseActivity") PHOSPHATASE_ACTIVITY("phosphataseActivity"), /** * * The peptidase activity BEL function. * * */ @XmlEnumValue("peptidaseActivity") PEPTIDASE_ACTIVITY("peptidaseActivity"), /** * * The ribosylation activity BEL function. * * */ @XmlEnumValue("ribosylationActivity") RIBOSYLATION_ACTIVITY("ribosylationActivity"), /** * * The transcriptional activity BEL function. * * */ @XmlEnumValue("transcriptionalActivity") TRANSCRIPTIONAL_ACTIVITY("transcriptionalActivity"), /** * * The transport activity BEL function. * * */ @XmlEnumValue("transportActivity") TRANSPORT_ACTIVITY("transportActivity"), /** * * The gtp-bound activity BEL function. * * */ @XmlEnumValue("gtpBoundActivity") GTP_BOUND_ACTIVITY("gtpBoundActivity"), /** * * The chaperone activity BEL function. * * */ @XmlEnumValue("chaperoneActivity") CHAPERONE_ACTIVITY("chaperoneActivity"), /** * * The list BEL function. * * */ @XmlEnumValue("list") LIST("list"); private final String value; Function(String v) { value = v; } public String value() { return value; } public static Function fromValue(String v) { for (Function c : Function.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }