Enum Constant and Description |
---|
DISJUNCTION
Marks a node that serves as branching point within a disjunction
|
GENERAL
A node without restrictions
|
INTERMEDIATE
A node that is neither a leaf nor a root.
|
LEAF
Node without outgoing edges and exactly one incoming edge
|
NON_ROOT
A node that is not a root.
|
PARENT
A node that is not a leaf.
|
ROOT
Node without incoming edges and at least one outgoing edge
|
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 NodeType |
parseNodeType(java.lang.String s) |
static NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeType ROOT
public static final NodeType LEAF
public static final NodeType GENERAL
public static final NodeType DISJUNCTION
public static final NodeType INTERMEDIATE
public static final NodeType NON_ROOT
public static final NodeType PARENT
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 NodeType parseNodeType(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()