|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Cardinality>
com.sap.sl.sdk.authoring.datafoundation.Cardinality
public enum Cardinality
A representation of the literals of the enumeration 'Cardinality', and utility methods to work with them.
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.
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Cardinality CUNKNOWN
Unknown cardinality of the join.
CUNKNOWN_VALUE
public static final Cardinality C1_1
Cardinality 1-1 of the join.
C1_1_VALUE
public static final Cardinality C1_N
Cardinality 1-n of the join.
C1_N_VALUE
public static final Cardinality CN_1
Cardinality n-1 of the join.
CN_1_VALUE
public static final Cardinality CN_N
Cardinality n-n of the join.
CN_N_VALUE
Field Detail |
---|
public 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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic static Cardinality get(java.lang.String literal)
literal
- A String that represents the cardinality
Cardinality
object
public static Cardinality getByName(java.lang.String name)
name
- The name of the cardinality
Cardinality
object
public static Cardinality get(int value)
value
- The literal integer value
Cardinality
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>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |