Enum Constant and Description |
---|
DOMINANCE
Marks the edge as active part of some functional relation.
|
LINK
Marks the edge as an empty connection that only serves
as a link between two nodes and does not carry any
constraints.
|
PRECEDENCE
Matching against total order of source and target
SearchNode . |
TRANSITIVE
Transitive closure.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
java.lang.String |
getToken() |
static EdgeType |
parseEdgeType(java.lang.String s) |
static EdgeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeType LINK
public static final EdgeType DOMINANCE
public static final EdgeType TRANSITIVE
SearchNode
of this edge. Constraints set for this edge
might be used for the initial matching check but subsequent
expansions should ignore them.
This edge type cannot be used together with negation!
public static final EdgeType PRECEDENCE
SearchNode
.
Note that the concrete order is data specific and may vary. Usually
it is given by the initial order of word tokens within a sentence
that are represented by nodes in the graph.public static EdgeType[] values()
for (EdgeType c : EdgeType.values()) System.out.println(c);
public static EdgeType 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 getToken()
public java.lang.String getName()
getName
in interface de.ims.icarus.util.id.Identity
public java.lang.String getDescription()
getDescription
in interface de.ims.icarus.util.id.Identity
public static EdgeType parseEdgeType(java.lang.String s) throws java.text.ParseException
java.text.ParseException
public java.lang.String getId()
getId
in interface de.ims.icarus.util.id.Identity
Identity.getId()
public javax.swing.Icon getIcon()
getIcon
in interface de.ims.icarus.util.id.Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface de.ims.icarus.util.id.Identity
Identity.getOwner()