public enum Relationship extends java.lang.Enum<Relationship>
TableNode.addRelation(int, com.mindfusion.diagramming.Relationship, com.mindfusion.diagramming.TableNode, int)
method of the TableNode class.| Enum Constant and Description |
|---|
ManyToOne
The specified row is at the "many" end of a one-to-many relation.
|
OneToMany
The specified row is at the "one" end of a one-to-many relation.
|
| Modifier and Type | Method and Description |
|---|---|
static Relationship |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Relationship[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Relationship OneToMany
public static final Relationship ManyToOne
public static Relationship[] values()
for (Relationship c : Relationship.values()) System.out.println(c);
public static Relationship 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 null