public enum A5BaseRelation extends java.lang.Enum<A5BaseRelation> implements BaseRelation
Enum Constant and Description |
---|
DISJOINT |
EQUIV |
OVERLAP |
SUBSUME |
SUBSUMED |
Modifier and Type | Field and Description |
---|---|
int |
index |
A5BaseRelation |
inverse |
java.lang.String |
relation
NO CHANGE IS NECESSARY BEYOND THIS POINT (only change the class name)
Unfortunately, this MUST be copied in all class.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
A5BaseRelation |
getInverse() |
java.lang.String |
getString() |
void |
init(int idx,
A5BaseRelation inv) |
static A5BaseRelation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static A5BaseRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
write(java.io.PrintWriter writer) |
public static final A5BaseRelation EQUIV
public static final A5BaseRelation SUBSUMED
public static final A5BaseRelation SUBSUME
public static final A5BaseRelation OVERLAP
public static final A5BaseRelation DISJOINT
public final java.lang.String relation
public int index
public A5BaseRelation inverse
public static A5BaseRelation[] values()
for (A5BaseRelation c : A5BaseRelation.values()) System.out.println(c);
public static A5BaseRelation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getString()
getString
in interface BaseRelation
public int getIndex()
getIndex
in interface BaseRelation
public A5BaseRelation getInverse()
getInverse
in interface BaseRelation
public void init(int idx, A5BaseRelation inv)
public void write(java.io.PrintWriter writer)
write
in interface BaseRelation
(C) INRIA & friends, 2003-2020