public enum Cardinality extends java.lang.Enum<Cardinality>
Cardinality describes how tables are joined by stating how many rows in one table match rows in another table. Cardinalities are needed when detecting aliases and contexts to resolve loops in the data foundation. See the Information Design Tool User Guide for more information.
DataFoundationPackageImpl.getCardinality()| Enum Constant and Description |
|---|
C1_1
The 'C1 1' literal object.
|
C1_N
The 'C1 N' literal object.
|
CN_1
The 'CN 1' literal object.
|
CN_N
The 'CN N' literal object.
|
CUNKNOWN
The 'CUNKNOWN' literal object.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
C1_1_VALUE
The 'C1 1' literal value.
|
static int |
C1_N_VALUE
The 'C1 N' literal value.
|
static int |
CN_1_VALUE
The 'CN 1' literal value.
|
static int |
CN_N_VALUE
The 'CN N' literal value.
|
static int |
CUNKNOWN_VALUE
The 'CUNKNOWN' literal value.
|
static java.util.List<Cardinality> |
VALUES
A public read-only list of all the 'Cardinality' enumerators.
|
| Modifier and Type | Method and Description |
|---|---|
static Cardinality |
get(int value)
Returns the 'Cardinality' literal with the specified integer value.
|
static Cardinality |
get(java.lang.String literal)
Returns the 'Cardinality' literal with the specified literal value.
|
static Cardinality |
getByName(java.lang.String name)
Returns the 'Cardinality' literal with the specified name.
|
java.lang.String |
getLiteral()
Returns the string representation of the enumerator.
|
java.lang.String |
getName()
Returns the literal name of the enumerator.
|
int |
getValue()
Returns the literal integer value of the enumerator.
|
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static Cardinality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cardinality CUNKNOWN
Unknown cardinality of the join.
CUNKNOWN_VALUEpublic static final Cardinality C1_1
Cardinality 1-1 of the join.
C1_1_VALUEpublic static final Cardinality C1_N
Cardinality 1-n of the join.
C1_N_VALUEpublic static final Cardinality CN_1
Cardinality n-1 of the join.
CN_1_VALUEpublic static final Cardinality CN_N
Cardinality n-n of the join.
CN_N_VALUEpublic static final int CUNKNOWN_VALUE
CUNKNOWN,
Constant Field Valuespublic static final int C1_1_VALUE
C1_1,
Constant Field Valuespublic static final int C1_N_VALUE
C1_N,
Constant Field Valuespublic static final int CN_1_VALUE
CN_1,
Constant Field Valuespublic static final int CN_N_VALUE
CN_N,
Constant Field Valuespublic static final java.util.List<Cardinality> VALUES
public static Cardinality[] values()
for (Cardinality c : Cardinality.values()) System.out.println(c);
public static Cardinality 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 static Cardinality get(java.lang.String literal)
literal - A String that represents the cardinalityCardinality object
public static Cardinality getByName(java.lang.String name)
name - The name of the cardinalityCardinality object
public static Cardinality get(int value)
value - The literal integer valueCardinality object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString in class java.lang.Enum<Cardinality>