public enum RelationType extends Enum<RelationType>
Modifier and Type | Class and Description |
---|---|
static class |
RelationType.Polarity |
Enum Constant and Description |
---|
ANCESTOR |
CONSIDER |
DEVELOPSFROM |
HASPART |
IDENTITY |
ISA |
NEGATIVEREGULATES |
OCCURSIN |
PARTOF |
POSITIVEREGULATES |
REGULATES |
REPLACEDBY |
RESULTSIN |
UNKNOWN |
Modifier and Type | Field and Description |
---|---|
String |
alternativeCode |
String |
code |
Color |
color |
String |
description |
String |
formalCode |
RelationType.Polarity |
polarity |
Modifier and Type | Method and Description |
---|---|
static EnumSet<RelationType> |
forCodes(String types) |
static RelationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RelationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RelationType ANCESTOR
public static final RelationType IDENTITY
public static final RelationType ISA
public static final RelationType PARTOF
public static final RelationType REGULATES
public static final RelationType POSITIVEREGULATES
public static final RelationType NEGATIVEREGULATES
public static final RelationType DEVELOPSFROM
public static final RelationType REPLACEDBY
public static final RelationType CONSIDER
public static final RelationType HASPART
public static final RelationType OCCURSIN
public static final RelationType RESULTSIN
public static final RelationType UNKNOWN
public String code
public String description
public String formalCode
public String alternativeCode
public Color color
public RelationType.Polarity polarity
public static RelationType[] values()
for (RelationType c : RelationType.values()) System.out.println(c);
public static RelationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EnumSet<RelationType> forCodes(String types)
Copyright © 2010–2016. All rights reserved.